Ignore:
Timestamp:
Dec 18, 2005, 5:54:17 AM (20 years ago)
Author:
bird
Message:

Re-initialize globals.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/kmkbuiltin/cp.c

    r371 r375  
    7878#include "mscfakes.h"
    7979#include "ftsfake.h"
    80 #endif 
     80#endif
    8181
    8282#include "cp_extern.h"
     
    136136        fflag = iflag = nflag = pflag = vflag = Rflag = rflag = 0;
    137137        info = 0;
     138
    138139        /* reset getopt and set progname. */
    139140        g_progname = argv[0];
     
    146147#else
    147148        optind = 0; /* init */
    148 #endif 
     149#endif
    149150
    150151        Hflag = Lflag = Pflag = 0;
     
    169170#else
    170171                        return errx(1, "recursive copy is not implemented!");
    171 #endif 
     172#endif
    172173                case 'f':
    173174                        fflag = 1;
     
    191192#else
    192193                        return errx(1, "recursive copy is not implemented!");
    193 #endif 
     194#endif
    194195                case 'v':
    195196                        vflag = 1;
     
    215216                fts_options &= ~FTS_PHYSICAL;
    216217                fts_options |= FTS_LOGICAL;
    217 #endif 
     218#endif
    218219        }
    219220#ifdef DO_CP_TREE
     
    225226                        fts_options |= FTS_LOGICAL;
    226227                }
    227         } else 
    228 #endif 
     228        } else
     229#endif
    229230        {
    230231                fts_options &= ~FTS_PHYSICAL;
Note: See TracChangeset for help on using the changeset viewer.