1999-06-08  Ulrich Drepper  <drepper@cygnus.com>

	* grp/tst_fgetgrent.c (write_users): Correctly generate long line.
This commit is contained in:
Ulrich Drepper 1999-06-08 19:32:12 +00:00
parent f535dd028f
commit 4707ba3dde
2 changed files with 9 additions and 5 deletions

View File

@ -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.

View File

@ -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");