Update.
1999-06-08 Ulrich Drepper <drepper@cygnus.com> * grp/tst_fgetgrent.c (write_users): Correctly generate long line.
This commit is contained in:
parent
f535dd028f
commit
4707ba3dde
|
@ -1,3 +1,7 @@
|
|||
1999-06-08 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* grp/tst_fgetgrent.c (write_users): Correctly generate long line.
|
||||
|
||||
1999-06-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||
|
||||
* grp/Makefile: Add rules for tst_fgetgrent.
|
||||
|
|
|
@ -34,7 +34,7 @@ write_users (FILE *f, int large_pos, int pos)
|
|||
{
|
||||
/* we need more than 2048 bytes for proper testing. */
|
||||
for (i = 0; i < 500; i++)
|
||||
fprintf (f, ",user%03d", i);
|
||||
fprintf (f, "%suser%03d", i == 0 ? ":" : ",", i);
|
||||
}
|
||||
fprintf (f, "\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue