cvs commit: src/sys/kern imgact_shell.c

Garance A Drosehn gad at FreeBSD.org
Sat May 28 15:42:41 PDT 2005


gad         2005-05-28 22:42:41 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             imgact_shell.c 
  Log:
  Change the way options are parsed on the `#!'-line of a shell-script.  Instead
  of having the kernel parse that line and add an entry to the argument list for
  each 'separate word' it finds, have it add only one entry which holds all
  the words found on that line.  The old behavior is useful in some situations,
  but it does not match the way any other operating system will parse that line.
  
  This has been discussed in the thread "Bug in #! processing - One More Time"
  on the freebsd-arch mailing list (starting back on Feb 24, 2005).  The first
  few messages in that thread provide the background in much detail.
  
  PR:             16393
  Reviewed by:    freebsd-arch
  
  Revision  Changes    Path
  1.33      +174 -7    src/sys/kern/imgact_shell.c


More information about the cvs-src mailing list