Changeset 299 for trunk/src


Ignore:
Timestamp:
Jun 17, 2005, 7:56:38 AM (20 years ago)
Author:
bird
Message:

FreeBSD 5.x on amd64

Location:
trunk/src/gmake/kmkbuiltin
Files:
3 edited

Legend:

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

    r229 r299  
    131131        optarg = NULL;
    132132        optopt = 0;
     133#if defined(__FreeBSD__) || defined(__EMX__)
     134        optreset = 1;
     135        optind = 1;
     136#else
    133137        optind = 0; /* init */
     138#endif
    134139
    135140        Hflag = Lflag = Pflag = 0;
  • trunk/src/gmake/kmkbuiltin/mkdir.c

    r228 r299  
    7575        optarg = NULL;
    7676        optopt = 0;
     77#if defined(__FreeBSD__) || defined(__EMX__)
     78        optreset = 1;
     79        optind = 1;
     80#else
    7781        optind = 0; /* init */
     82#endif
    7883        while ((ch = getopt(argc, argv, "m:pv")) != -1)
    7984                switch(ch) {
  • trunk/src/gmake/kmkbuiltin/rm.c

    r297 r299  
    102102        optarg = NULL;
    103103        optopt = 0;
     104#if defined(__FreeBSD__) || defined(__EMX__)
     105        optreset = 1;
     106        optind = 1;
     107#else
    104108        optind = 0; /* init */
     109#endif
    105110
    106111        /*
Note: See TracChangeset for help on using the changeset viewer.