Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2005 22:42:41 +0000 (UTC)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern imgact_shell.c
Message-ID:  <200505282242.j4SMgfBD032414@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505282242.j4SMgfBD032414>