Skip to content

Commit 62ccf20

Browse files
committed
Update after gnulib changed.
1 parent e8d71ae commit 62ccf20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

patches/ubsan.diff

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ index 4124bbcb37..9c8e12ab32 100644
2323

2424
void
2525
@@ -62,7 +75,7 @@ readlinebuffer_delim (struct linebuffer *linebuffer, FILE *stream,
26-
int c;
26+
2727
char *buffer = linebuffer->buffer;
2828
char *p = linebuffer->buffer;
2929
- char *end = buffer + linebuffer->size; /* Sentinel. */
3030
+ char *end = END_OF_ARRAY (buffer, linebuffer->size); /* Sentinel. */
31-
32-
if (feof (stream))
33-
return NULL;
31+
int c;
32+
33+
do
3434
diff --git a/lib/mpsort.c b/lib/mpsort.c
3535
index 32cc5e1f82..2741d7199d 100644
3636
--- a/lib/mpsort.c

0 commit comments

Comments
 (0)