Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/shell/lash_unused.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 312  static int builtin_help(struct child_pro Line 312  static int builtin_help(struct child_pro
312  {  {
313   const struct built_in_command *x;   const struct built_in_command *x;
314    
315   printf("\nBuilt-in commands:\n"   printf(
316         "-------------------\n");   "Built-in commands:\n"
317     "------------------\n");
318   for (x = bltins; x <= &VEC_LAST(bltins); x++) {   for (x = bltins; x <= &VEC_LAST(bltins); x++) {
319   if (x->descr == NULL)   if (x->descr == NULL)
320   continue;   continue;
# Line 696  static char * strsep_space(char *string, Line 697  static char * strsep_space(char *string,
697    
698   /* Find the end of any whitespace trailing behind   /* Find the end of any whitespace trailing behind
699   * the token and let that be part of the token */   * the token and let that be part of the token */
700   while (string[*ix] && (isspace)(string[*ix]) ) {   while (string[*ix] && isspace(string[*ix])) {
701   (*ix)++;   (*ix)++;
702   }   }
703    
# Line 840  static int expand_arguments(char *comman Line 841  static int expand_arguments(char *comman
841   num_skip_chars = 1;   num_skip_chars = 1;
842   } else {   } else {
843   src = dst + 1;   src = dst + 1;
844   while ((isalnum)(*src) || *src == '_') src++;   while (isalnum(*src) || *src == '_') src++;
845   }   }
846   if (src == NULL) {   if (src == NULL) {
847   src = dst+dstlen;   src = dst+dstlen;

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