看板 DFBSD_submit 關於我們 聯絡資訊
On Tue, Feb 01, 2005 at 10:08:46PM -0800, Chris Pressey wrote: > Attached is a refined version of this patch. I'm not really happy about > the malloc()s, but the other alternative is to copy all of br[] and > knowncmds[] into writeable buffers, which isn't very appetizing either. I haven't checked the original source, but is there a good reason not to just strdup the strings? And check the return value for NULL of course :) Joerg