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

Diff for /src/usr.bin/apply/apply.c between version 1.17 and 1.18

version 1.17, 2003/11/10 22:35:07 version 1.18, 2004/09/14 22:21:57
Line 53 
Line 53 
 #include <unistd.h>  #include <unistd.h>
   
 void    usage(void);  void    usage(void);
 int     system(const char *);  int     mysystem(const char *);
   
 int  int
 main(int argc, char *argv[])  main(int argc, char *argv[])
Line 189 
Line 189 
                 if (debug)                  if (debug)
                         (void)printf("%s\n", c);                          (void)printf("%s\n", c);
                 else                  else
                         if (system(c))                          if (mysystem(c))
                                 rval = 1;                                  rval = 1;
         }          }
   
Line 205 
Line 205 
  *      variable as the shell to execute.   *      variable as the shell to execute.
  */   */
 int  int
 system(const char *command)  mysystem(const char *command)
 {  {
         static char *name, *shell;          static char *name, *shell;
         pid_t pid;          pid_t pid;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18