[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: goo bignums




I run goo on FreeBSD, and I've noticed a minor issue -- the code uses
values.h in a few places.  It should use limits.h instead, which is
part of the standard C library.  On both FreeBSD and Linux limits.h
pulls in system-specific headers that define LONG_MAX and other
defines used by the code.

Also, I have a better fix on the install -D issue.

--- src/Makefile.in~	Fri Nov 21 00:13:41 2003
+++ src/Makefile.in	Fri Nov 21 00:13:59 2003
@@ -33,7 +33,7 @@
 
 install: all
 	$(top_srcdir)/mkinstalldirs $(GOO_MODS)
-	find . -name \*.goo -exec $(INSTALL_DATA) -D {} $(GOO_MODS)/{} \;
+	tar cf - `find . -name \*.goo` | (umask 022; cd ${GOO_MODS}; tar xvf -)
 
 clean:
 
It looks ugly, but it's portable.


Faried.
-- 
^self