Gbp-Pq: Name 0035-Allow-printing-credits-buffer-larger-than-4k.patch
if (bytes > 0) {
PUTS(" and is made available exclusively for ");
- PUTS(buf);
+ do {
+ PUTS(buf);
+
+ bytes = read(fd, buf, sizeof(buf) - 1);
+ if (bytes > 0) {
+ buf[bytes] = '\0';
+ }
+ } while (bytes > 0);
} else {
PUTS(". This service is run together with Ondřej Surý, "
"that's why a small subset of the PHP LTS packages "
);
if (bytes > 0) {
PUTS(" and is made available exclusively for ");
- PUTS(buf);
+ do {
+ PUTS(buf);
+
+ bytes = read(fd, buf, sizeof(buf) - 1);
+ if (bytes > 0) {
+ buf[bytes] = '\0';
+ }
+ } while (bytes > 0);
} else {
PUTS(". This service is run together with Ondřej Surý, "
"that's why a small subset of the PHP LTS packages "