openbsd-ports/graphics/netpbm/patches/patch-ag
angelos 0e900c35ea gets->fgets
tmpnam->mkstemp
1998-05-31 00:02:34 +00:00

20 lines
389 B
Plaintext

*** pbm/pbmtext.c.orig Sat May 30 18:53:47 1998
--- pbm/pbmtext.c Sat May 30 18:54:16 1998
***************
*** 105,111 ****
else
{ /* Read text from stdin. */
lines = 0;
! while ( gets( buf ) != NULL )
{
int l;
--- 105,111 ----
else
{ /* Read text from stdin. */
lines = 0;
! while ( fgets( buf, 4999, stdin ) != NULL )
{
int l;