delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/07/05/01:51:06

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: diffutils should be compiled with HAVE_SETMODE
5 Jul 1998 01:51:06 -0700 :
Message-ID: <01BDA812.7AFB5010.cygnus.cygwin32.developers@sos>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Bob Ramstad'"
<rramstad AT alum DOT mit DOT edu>
Cc: "'cygwin32-developers AT cygnus DOT com'" <cygwin32-developers AT cygnus DOT com>

Bob Ramstad wrote:
> howdy.  yes, this is a "me too".  the diff utilities should
> be compiled with HAVE_SETMODE so that binary diffs work
> properly.
> 

You're right. I suggest the following changes in diff sources (in both cdk and usertools trees):

e:\usr\src\cygnus\cdk\diff>diff -u Makefile.in.orig Makefile.in
--- Makefile.in.orig    Sat Feb 28 21:09:46 1998
+++ Makefile.in Sun Jul 05 12:30:52 1998
@@ -168,14 +168,14 @@
        done
        rm -f $(infodir)/diff.info*

-#configure: configure.in
-#      cd $(srcdir) && autoconf
+configure: configure.in
+       cd $(srcdir) && autoconf

 # autoheader might not change config.hin.
-#config.hin: stamp-h.in
-#stamp-h.in: configure.in
-#      cd $(srcdir) && autoheader
-#      date > $(srcdir)/stamp-h.in
+config.hin: stamp-h.in
+stamp-h.in: configure.in
+       cd $(srcdir) && autoheader
+       date > $(srcdir)/stamp-h.in

 config.status: configure
        ./config.status --recheck

e:\usr\src\cygnus\cdk\diff>diff -u configure.in.orig configure.in
--- configure.in.orig   Sat Feb 28 21:09:40 1998
+++ configure.in        Sun Jul 05 12:20:14 1998
@@ -18,7 +18,7 @@
 AC_HEADER_SYS_WAIT
 AC_TYPE_PID_T
 AC_TYPE_SIGNAL
-AC_CHECK_FUNCS(dup2 memchr sigaction strchr strerror tmpnam)
+AC_CHECK_FUNCS(dup2 memchr sigaction strchr strerror tmpnam setmode)
 AC_REPLACE_FUNCS(memchr waitpid)
 AC_FUNC_ALLOCA


-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019