Change chop to chomp when reading lines, so CRLF is properly processed on
authorRichard Levitte <levitte@openssl.org>
Mon, 3 Apr 2006 09:15:27 +0000 (09:15 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 3 Apr 2006 09:15:27 +0000 (09:15 +0000)
the operating systems where they are the normal line endings

Configure

index 54b33513e807fa1e06e4bbd28b40518b6a72d49a..13d7f98d11b1febfba4be82904a35096f8a2fd03 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -807,7 +807,7 @@ PROCESS_ARGS:
                                {
                                while (<IN>)
                                        {
-                                       chop;
+                                       chomp;
                                        if (/^CONFIGURE_ARGS=(.*)/)
                                                {
                                                $argvstring=$1;
@@ -1290,7 +1290,7 @@ print OUT "### Generated automatically from Makefile.org by Configure.\n\n";
 my $sdirs=0;
 while (<IN>)
        {
-       chop;
+       chomp;
        $sdirs = 1 if /^SDIRS=/;
        if ($sdirs) {
                my $dir;