Ignore:
Timestamp:
Nov 26, 2006, 6:35:06 AM (19 years ago)
Author:
bird
Message:

Added cat as builtin command.

File:
1 edited

Legend:

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

    r601 r611  
    7979        mode = NULL;
    8080
    81         /* reinitialize globals */
    82         vflag = 0;
    83 
    84         /* kmk: reset getopt and set progname */
    85         g_progname = argv[0];
    86         opterr = 1;
    87         optarg = NULL;
    88         optopt = 0;
     81    /* reinitialize globals */
     82    vflag = 0;
     83   
     84    /* kmk: reset getopt and set progname */
     85    g_progname = argv[0];
     86    opterr = 1;
     87    optarg = NULL;
     88    optopt = 0;
    8989#if defined(__FreeBSD__) || defined(__EMX__) || defined(__APPLE__)
    90         optreset = 1;
    91         optind = 1;
     90    optreset = 1;
     91    optind = 1;
    9292#else
    93         optind = 0; /* init */
     93    optind = 0; /* init */
    9494#endif
    9595        while ((ch = getopt(argc, argv, "m:pv")) != -1)
Note: See TracChangeset for help on using the changeset viewer.