BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.lib / libF77 / Usef.c
index b47ffdb..3e31246 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)Usef.c      1.2     8/1/85
+ *     @(#)Usef.c      1.3     9/14/87
  */
 
 /*             returns '-f' if need to use -f to bypass C bug          */
  */
 
 /*             returns '-f' if need to use -f to bypass C bug          */
@@ -26,8 +26,7 @@ char **argv;
        argv++;
        ptr = needs_f;
        while( *ptr != 0 ) {
        argv++;
        ptr = needs_f;
        while( *ptr != 0 ) {
-               ptr++;
-               if( strcmp( *ptr, *argv ) == 0 )
+               if( strcmp( *ptr++, *argv ) == 0 )
                {
                        printf("-f");
                        exit(0);
                {
                        printf("-f");
                        exit(0);