[m-dev.] trivial diff: tools/bootcheck: avoid fixed limit overflow

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jul 30 14:58:04 AEST 1999


Estimated hours taken: 0.25

tools/bootcheck:
	Break the arguments passed to `ln' into smaller chunks,
	to avoid overflowing fixed limits on the command line length
	in IRIX 5.2.

Workspace: /mount/munkora/clp/mercury/public/test_mercury/test_dirs/munta/mercury
Index: tools/bootcheck
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/bootcheck,v
retrieving revision 1.83
diff -u -r1.83 bootcheck
--- 1.83	1999/07/14 06:17:28
+++ bootcheck	1999/07/16 15:11:15
@@ -284,7 +284,8 @@
 	# on the size of argument vectors.
 
 	ln -s $root/compiler/[a-h]*.m .
-	ln -s $root/compiler/[i-s]*.m .
+	ln -s $root/compiler/[i-o]*.m .
+	ln -s $root/compiler/[p-s]*.m .
 	ln -s $root/compiler/[t-z]*.m .
 	ln -s $root/compiler/*.pp .	
 
@@ -486,7 +487,8 @@
 	# This is needed to cope with small limits
 	# on the size of argument vectors.
 	ln -s $root/compiler/[a-h]*.m .
-	ln -s $root/compiler/[i-s]*.m .
+	ln -s $root/compiler/[i-o]*.m .
+	ln -s $root/compiler/[p-s]*.m .
 	ln -s $root/compiler/[t-z]*.m .
 	ln -s $root/compiler/*.pp .	
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list