Re: [repost] Patch to make cpdup's stdout unbuffered

看板DFBSD_submit作者時間21年前 (2004/06/09 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
: :I'll take that as a green light to commit the previously posted cpdup :patch. Yes, except use _IOLBF instead of _IONBF. _IONBF is overkill. :However, there still seem to be some small issues with combining :script(1) and popen(). Namely, when the pipe is forcefully pclose()'ed, :the script(1) process exits, but the cpdup process doesn't :( So until :that's sorted out, I'll stick with cpdup -u in the installer. : :-Chris Well, if it's a direct MFC from FreeBSD and script still works normally, then you are go to MFC it. -Matt
文章代碼(AID): #10nn5S00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #10nn5S00 (DFBSD_submit)