Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/debianutils/which.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 15  Line 15 
15  int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;  int which_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
16  int which_main(int argc UNUSED_PARAM, char **argv)  int which_main(int argc UNUSED_PARAM, char **argv)
17  {  {
18   USE_DESKTOP(int opt;)   IF_DESKTOP(int opt;)
19   int status = EXIT_SUCCESS;   int status = EXIT_SUCCESS;
20   char *path;   char *path;
21   char *p;   char *p;
22    
23   opt_complementary = "-1"; /* at least one argument */   opt_complementary = "-1"; /* at least one argument */
24   USE_DESKTOP(opt =) getopt32(argv, "a");   IF_DESKTOP(opt =) getopt32(argv, "a");
25   argv += optind;   argv += optind;
26    
27   /* This matches what is seen on e.g. ubuntu.   /* This matches what is seen on e.g. ubuntu.

Legend:
Removed from v.983  
changed lines
  Added in v.984