Date: Mon, 4 Dec 1995 13:44:23 PST From: "Marty Leisner" <leisner@sdsp.mc.xerox.com> To: bug-gnu-utils@prep.ai.mit.edu Cc: hackers@freebsd.org Subject: fileutils 3.12 on freebsd Message-ID: <9512042144.AA09165@gnu.mc.xerox.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9512042144.AA09165>