delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/17/15:38:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: ken AT acm DOT org, jaa AT cs DOT su DOT oz DOT au
Cc: cygwin AT cygwin DOT com
Subject: compface patch
User-Agent: XEmacs/Gnus
X-Attribution: yogi
X-Face: -%Z4EZ6iY'4m:wiK:!v<f*n1TeWpDxL;vm\2]@7KGXgHzB#JSK#;`z4tYg#7ck/]wrqw6:}
;vcVMJ0N~%+;N&e,%5phkzeP![#CQ^y^]lyS0Wvp"sV(0$dvw}(12VU<:|q~@MX]S=o46H!(2*%?'k
Wz-%ul~-hoJL$/SQzy&^?aLj"u9)Lk0zvwmg|#\@U{j:5?C-*{<3que:_Vb AT Ly
X-URL: http://www.jochen-kuepper.de
From: "Jochen =?iso-8859-1?q?K=FCpper?=" <jochen AT unc DOT edu>
Organization: University of North Carolina
Date: 17 May 2001 15:24:49 -0400
Message-ID: <86lmnvsrr2.fsf@bock.chem.unc.edu>
Lines: 59
MIME-Version: 1.0

Hi,

I am not sure who maintains compface...

Anyway, I needed to change cmain.c and uncmain.c regarding errno to be
able to compile it on cygwin. Here are the diffs, maybe someone could
put this into a distribution?

Greetings,
Jochen

PS: Copying to cygwin list, maybe someone has a use for it.
I am using the latest cygwin dll.
-- 
University of North Carolina                          phone: 919-962-1579
Department of Chemistry                                 fax: 919-843-6041
Venable Hall CB#3290                                  GnuPG key: 44BCCD8E
Chapel Hill, NC 27599, USA



diff -u cmain.c-orig cmain.c
--- cmain.c-orig        Wed Nov 22 19:51:03 2000
+++ cmain.c     Thu May 17 15:15:17 2001
@@ -53,11 +53,12 @@
 
 /* error handling definitions follow */
 
+#include <errno.h>
+
 #ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
 extern char *sys_errlist[];
 #else
-extern int errno;
 char *strerror();
 char *strerrorwrap();
 #endif


diff -u uncmain.c-orig uncmain.c
--- uncmain.c-orig      Wed Nov 22 19:51:24 2000
+++ uncmain.c   Thu May 17 15:16:18 2001
@@ -53,11 +53,12 @@
 
 /* error handling definitions follow */
 
+#include <errno.h>
+
 #ifndef HAVE_STRERROR
-extern int errno, sys_nerr;
+extern int sys_nerr;
 extern char *sys_errlist[];
 #else
-extern int errno;
 char *strerror();
 char *strerrorwrap();
 #endif


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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