util/selftest.pl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

util/selftest.pl

Tim Rice

I noticed "make report" didn't show the cc version on most of
my System V platforms. This patch corrects this.
...
--- util/selftest.pl.old 2005-06-06 10:33:44.799342000 -0700
+++ util/selftest.pl 2005-06-20 11:39:22.485698005 -0700
@@ -49,7 +49,7 @@
 }
 
 $cversion=`$cc -v 2>&1`;
-$cversion=`$cc -V 2>&1` if $cversion =~ "usage";
+$cversion=`$cc -V 2>&1` if $cversion =~ "[Uu]sage";
 $cversion=`$cc -V |head -1` if $cversion =~ "Error";
 $cversion=`$cc --version` if $cversion eq "";
 $cversion =~ s/Reading specs.*\n//;
...

Ideally it would be
        $cversion=`$cc -V 2>&1 | head -1` if $cversion =~ "[Uu]sage";
on the affected platforms but I don't know if the "head -1" would
adversely affect the platforms that
        $cversion=`$cc -V 2>&1` if $cversion =~ "usage";
was supposed to catch.


--
Tim Rice Multitalents (707) 887-1469
[hidden email]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: util/selftest.pl

Richard Levitte - VMS Whacker
In message <[hidden email]> on Mon, 20 Jun 2005 11:52:50 -0700 (PDT), Tim Rice <[hidden email]> said:

tim> I noticed "make report" didn't show the cc version on most of
tim> my System V platforms. This patch corrects this.

Thanks, committed.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

--
Richard Levitte                         [hidden email]
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [hidden email]
Automated List Manager                           [hidden email]