Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
To: ken@acm.org, jaa@cs.su.oz.au
Cc: cygwin@cygwin.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@Ly
X-URL: http://www.jochen-kuepper.de
From: "Jochen =?iso-8859-1?q?K=FCpper?=" <jochen@unc.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
Content-Type: text/plain; charset=us-ascii

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

