# New Ticket Created by  Bruce Gray 
# Please include the string:  [perl #19463]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19463 >


This patch gives Configure's pointer alignment test a better 
error message for missing input.

-- 
Hope this helps,
Bruce Gray



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/46291/36278/4d67b2/alignptrs_argc.patch

Index: config/auto/alignptrs/test_c.in
===================================================================
RCS file: /cvs/public/parrot/config/auto/alignptrs/test_c.in,v
retrieving revision 1.6
diff -u -r1.6 test_c.in
--- config/auto/alignptrs/test_c.in     13 Sep 2002 10:54:53 -0000      1.6
+++ config/auto/alignptrs/test_c.in     26 Dec 2002 23:51:03 -0000
@@ -22,6 +22,12 @@
     void **ptr;
     
     int align = 0;
+
+    if(argc != 2) {
+        printf("FAILED - single command-line parameter required!\n");
+       return 1;
+    }
+
 #ifdef SIGBUS
     signal(SIGBUS, bletch);
 #endif

Reply via email to