On Sun, Mar 07, 2010 at 09:31:39PM +0300, Andrey Chernov wrote:
> It is right idea. I'll use sysconf(__SC_LINE_MAX) there.
> But currently it does the same (sysconf.c):
>         case _SC_LINE_MAX:
>                 return (LINE_MAX);
...
> To add more:
> NetBSD uniq grows (contrary, NetBSD comm silently discarding everything 
> afterwards).
> OpenBSD uniq just use fgets with 8192.
> GNU uniq grows.

After thinking a bit more I consider to reimplement unlimited lines here 
instead because enforcing POSIX limit was not the main goal of my commit 
(it was to remove getwc() which is evil). Someone may deal with the limit 
on his own way afterwards.

Will be in the next commit.

-- 
http://ache.pp.ru/
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to