I think that fread() is what we want, although it is a slight bit more cumbersome in the arguments department.
Aaron Ilja Booij <[EMAIL PROTECTED]> said: > > On Thu, 2004-04-22 at 15:57, Paul J Stevens wrote: > > Just a quick look into main.c, assuming it to be the most like suspect > > wrt the parser bug. > > > > Shouldn't we use getline instead of fgets? I've done a patch and it > > looks ok in my tests. > > > I didn't know there was a getline() function, but it seems to be a GNU > extension. Debian doesn't even have a manpage for it (well, my install > doesn't have it). My Fedora box does. > > Looks like a very useful thing, but I wonder if the function is also > available on FreeBSD. If it's not, I think it's a no-go. If it is, it > might be useful. > > Ilja > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > --