Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Piete Brooks, Postmaster
Fri, 22 Sep 1989 12:20
gnu diff: SYSV bug (trivial) + questions ...
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads