Article View: gnu.utils.bug
Article #439gnu diff: SYSV bug (trivial) + questions ...
From: Piete Brooks, Postmaster
Date: Fri, 22 Sep 1989 12:20
Date: Fri, 22 Sep 1989 12:20
37 lines
1797 bytes
1797 bytes
[[ If this is a DL, please reply to me by email, as I am not on ity ]]
When trying to build version 1.7 on an HP, diff3.c failed as F_DUPFD
was not declared.
This was becuase fcntl.h was not included, either directly, or through
diff.h or directly. Trivial patch:
*** diff3.c.l Sat Apr 8 20:56:10 1989
--- diff3.c Thu Sep 21 06:46:14 1989
***************
*** 25,30 ****
--- 25,32 ----
#include <ctype.h>
#ifdef USG
+ #include <fcntl.h>
+
/* Define needed BSD functions in terms of sysV library. */
#define bcopy(s,d,n) memcpy((d),(s),(n))
ALSO: as there is no man page, could there be some way of getting a
brief listing of the options & what they do ?
Is there any reason for not having a man page ?
Would you include one if I generated it ?
I find "-p" often ends up saying "int foo;" rather than getting the
function name. It works better as "-c -F'^[_a-zA-Z].*('"
Are there any prospects of adding -D ?
At the moment I cannot install it as "/bin/diff" as it is not upwards compatible.
Could there be some way to make context diff take account of the amount
of information contained in the surrounding text ?
If there are blank lines, or lines with just a "}" in them, three lines
of context is not really enough.
Technical Details
Message-ID:
<8909221320.aa05432@scaup.Cl.Cam.AC.UK>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!nsfnet-relay.ac.uk!pb%computer-lab.cambridge.ac.ukShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!wuarchive!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!nsfnet-relay.ac.uk!pb%computer-lab.cambridge.ac.uk From: pb%computer-lab.cambridge.ac.uk@nsfnet-relay.ac.uk (Piete Brooks, Postmaster) Newsgroups: gnu.utils.bug Subject: gnu diff: SYSV bug (trivial) + questions ... Message-ID: <8909221320.aa05432@scaup.Cl.Cam.AC.UK> Date: 22 Sep 89 12:20:32 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 37