DragonFly commits List (threaded) for 2007-03
DragonFly BSD
DragonFly commits List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/libiconv iconv.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Mar 2007 09:20:00 -0800 (PST)

:I'd prefer to return EINVAL instead.
:
:Joerg

    It would mean having to scan the strings checking for the \0.  You can't
    safely call strlen().  If you want to do it, go ahead.  I just had that
    patch sitting in my tree for a month and figured I should commit it.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]