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

Re: cvs commit: src/sbin/sysctl sysctl.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sat, 22 Jan 2005 14:50:28 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

On Mon, Jan 17, 2005 at 07:13:52PM -0800, Chris Pressey wrote:
>   Fix by only fwrite(3)ing the string up to the first NUL character.

Could you replace the inline code with memchr?

Joerg



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