[EMAIL PROTECTED] wrote: > Can we really assume that sizeof(char) is 1 ? Yes. > RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v > retrieving revision 1.15 > diff -r1.15 fgetln.3 > 137c137 > < if ((lbuf = malloc(len + 1)) == NULL) > --- > > if ((lbuf = malloc( sizeof(char) * (len + 1))) == > NULL) > <[EMAIL PROTECTED]:/usr/src/lib/libc/stdio:633>$
- suggested change to fgetln manpage example code ben
- Re: suggested change to fgetln manpage example code Stefan Kempf
- Re: suggested change to fgetln manpage example code Tobias Ulmer
- Re: suggested change to fgetln manpage example code Theo de Raadt