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

看板DFBSD_commit作者時間21年前 (2005/01/23 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/8 (看更多)
On Sat, Jan 22, 2005 at 02:50:28PM +0100, Joerg Sonnenberger wrote: > 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? I still don't understand what was wrong with using printf("%.*s").
文章代碼(AID): #11yfK900 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #11yfK900 (DFBSD_commit)