Initialize errno to 0 in the nul testcase before testing it
For some odd reason stable/10 requires this, otherwise it always fails the errno == 0 check on line 196. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
df943f005e
commit
0b6008d017
@ -177,6 +177,7 @@ ATF_TC_BODY(nul, tc)
|
||||
char *line;
|
||||
size_t linecap, n;
|
||||
|
||||
errno = 0;
|
||||
line = NULL;
|
||||
linecap = 0;
|
||||
/* Make sure a NUL delimiter works. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user