Re: diff: regression in 1.2?

看板DFBSD_bugs作者時間21年前 (2005/04/12 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
On Mon, Apr 11, 2005 at 11:09:03AM -0700, Claus Assmann wrote: > There seems to be a regression in diff as compiled in DragonFly 1.2. > Example: have a file f1 and compare it to stdin: > > diff f1 - <<EOF > something > EOF > > works in 1.0A. In 1.2 I get this error: > diff: missing operand after '-' > > even though both diff versions are the same (GNU diffutils) 2.8.1 > > Maybe getopt() has been changed? It has, but this code uses getopt_long. Let me see what the problem is. Joerg
文章代碼(AID): #12Mu1800 (DFBSD_bugs)
文章代碼(AID): #12Mu1800 (DFBSD_bugs)