cvs commit: src/bin/sh options.c

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Jan 13 20:42:39 PST 2007


pavalos     2007/01/13 20:41:32 PST

DragonFly src repository

  Modified files:
    bin/sh               options.c 
  Log:
  Include disabled options in the output of 'set +o'.  POSIX says the output of
  set +o can be used to reload previous settings, for this to work disabled
  options must be printed as well or otherwise options that were set in the mean
  time won't be turned off.
  
  Change /bin/sh so *it* implements the processing needed for scripts to
  work as expected when they have a "shebang line" of:
  
       #!/bin/sh -- # -*- perl -*- -p
  
  Obtained-from:  FreeBSD
  
  Revision  Changes    Path
  1.7       +71 -23    src/bin/sh/options.c


http://www.dragonflybsd.org/cvsweb/src/bin/sh/options.c.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list