From owner-freebsd-hackers Mon Dec 4 14:25:22 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA06187 for hackers-outgoing; Mon, 4 Dec 1995 14:25:22 -0800 Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id OAA06135 for ; Mon, 4 Dec 1995 14:25:11 -0800 Received: from gemini.sdsp.mc.xerox.com ([13.231.132.20]) by alpha.xerox.com with SMTP id <16409(6)>; Mon, 4 Dec 1995 13:44:39 PST Received: from gnu.mc.xerox.com (gnu.sdsp.mc.xerox.com) by gemini.sdsp.mc.xerox.com (4.1/SMI-4.1) id AA07286; Mon, 4 Dec 95 16:44:26 EST Received: by gnu.mc.xerox.com (4.1/SMI-4.1) id AA09165; Mon, 4 Dec 95 16:44:24 EST Message-Id: <9512042144.AA09165@gnu.mc.xerox.com> To: bug-gnu-utils@prep.ai.mit.edu Cc: hackers@freebsd.org Subject: fileutils 3.12 on freebsd Date: Mon, 4 Dec 1995 13:44:23 PST From: "Marty Leisner" Sender: owner-hackers@freebsd.org Precedence: bulk Freebsd 2.1 ctype.h defines isnumber() [I'm not going to debate the goodness of this -- playing with POSIX_SOURCE/ -ansi made other things break... This seems (for now) relatively easy...it would be a good idea to change isnumber to some other name? [or fix ctype.h in freebsd] Anyway, for fileutils 3.12 here's what I did: : leisner@compudyne;rcsdiff -u chown.c chgrp.c =================================================================== RCS file: chown.c,v retrieving revision 1.1 diff -u -r1.1 chown.c --- chown.c 1995/11/22 16:55:09 1.1 +++ chown.c 1995/12/02 23:32:40 @@ -56,6 +56,9 @@ char *xmalloc (); char *xrealloc (); void error (); +#ifdef __FreeBSD__ +#undef isnumber +#endif int isnumber (); static int change_file_owner (); =================================================================== RCS file: chgrp.c,v retrieving revision 1.1 diff -u -r1.1 chgrp.c --- chgrp.c 1995/12/02 23:19:55 1.1 +++ chgrp.c 1995/12/02 23:26:39 @@ -50,6 +50,9 @@ static int change_file_group (); static int change_dir_group (); +#ifdef __FreeBSD__ +#undef isnumber +#endif static int isnumber (); static void describe_change (); static void parse_group (); : leisner@compudyne; ~ ~ marty leisner@sdsp.mc.xerox.com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001