Changeset 3141 for trunk/src/kmk/job.c


Ignore:
Timestamp:
Mar 14, 2018, 10:58:32 PM (7 years ago)
Author:
bird
Message:

kmk: linux merge fixes.

File:
1 edited

Legend:

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

    r3140 r3141  
    10851085  if (!jobserver_tokens)
    10861086    ONS (fatal, NILF, "INTERNAL: Freeing child %p (%s) but no tokens left!\n",
    1087          child, child->file->name);
     1087         (void *)child, child->file->name);
    10881088
    10891089  /* If we're using the jobserver and this child is not the only outstanding
     
    11741174#else
    11751175  char **argv;
    1176 # if !defined(__MSDOS__) && !defined(_AMIGA) && !defined(WINDOWS32) && !defined(VMS)
    1177   char ** volatile volatile_argv;
    1178   int volatile volatile_flags;
    1179 # endif
    11801176#endif
    11811177
     
    28002796  static const char *sh_chars_sh =  "#;\"*?[]&|<>(){}$`^~!";
    28012797# endif  /* HAVE_DOS_PATHS */
    2802   char*  sh_chars = sh_chars_sh;                                                /* kmk: +_sh */
    2803   char** sh_cmds = sh_cmds_sh;                                                  /* kmk: +_sh */
     2798  char const *  sh_chars = sh_chars_sh;                                                /* kmk: +_sh +const */
     2799  char const * const * sh_cmds = sh_cmds_sh;                                           /* kmk: +_sh +const*2 */
    28042800#endif
    28052801#ifdef KMK
    2806   static char sh_chars_kash[] = "#;*?[]&|<>(){}$`^~!";                          /* note: no \" - good idea? */
    2807   static char *sh_cmds_kash[] = {
     2802  static const char sh_chars_kash[] = "#;*?[]&|<>(){}$`^~!";                          /* note: no \" - good idea? */
     2803  static const char * const sh_cmds_kash[] = {
    28082804      ".", ":", "break", "case", "cd", "continue", "echo", "eval", "exec", "exit",
    28092805      "export", "for", "if", "login", "logout", "read", "readonly", "set",
Note: See TracChangeset for help on using the changeset viewer.