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

Configure

index 7cd6bfb3bd15a533642ef85f6c5ea82398fc20d7..9831ff3fab5ca7a8f30e8003d440f804327605f0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -697,7 +697,7 @@ PROCESS_ARGS:
                                {
                                while (<IN>)
                                        {
-                                       chop;
+                                       chomp;
                                        if (/^CONFIGURE_ARGS=(.*)/)
                                                {
                                                $argvstring=$1;
@@ -1264,7 +1264,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;