[BACK]Return to env.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / env

Diff for /src/usr.bin/env/env.c between version 1.11 and 1.12

version 1.11, 2006/05/28 04:21:13 version 1.12, 2006/05/28 05:29:54
Line 60 
Line 60 
   
         setlocale(LC_ALL, "");          setlocale(LC_ALL, "");
   
         while ((ch = getopt(argc, argv, "i")) != -1)          while ((ch = getopt(argc, argv, "i-")) != -1)
                 switch(ch) {                  switch(ch) {
                   case '-':                       /* obsolete */
                 case 'i':                  case 'i':
                         if ((environ = calloc(1, sizeof(char *))) == NULL)                          if ((environ = calloc(1, sizeof(char *))) == NULL)
                                 err(126, "calloc");                                  err(126, "calloc");

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12