Changeset 1374 for trunk/src


Ignore:
Timestamp:
Dec 14, 2007, 4:17:54 AM (18 years ago)
Author:
bird
Message:

Second try on the fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/job.c

    r1373 r1374  
    25412541#endif
    25422542#ifdef KMK
    2543   static char sh_chars_kash[] = "#;*?[]&|<>(){}$`^~!";                          /* note: no \" */
     2543  static char sh_chars_kash[] = "#;*?[]&|<>(){}$`^~!";                          /* note: no \" - good idea? */
    25442544  static char *sh_cmds_kash[] = {
    25452545      ".", ":", "break", "case", "cd", "continue",
     
    28142814                      && !isspace ((unsigned char)p[1])
    28152815# ifdef KMK
    2816                       && strchr (sh_chars, p[1]) == 0)
     2816                      && strchr (sh_chars, p[1]) == 0
     2817                      && (p[1] != '"' || !unixy_shell))
    28172818# else
    28182819                      && strchr (sh_chars_sh, p[1]) == 0)
Note: See TracChangeset for help on using the changeset viewer.