cvs commit: src/usr.bin/su su.c

Brian Somers brian at FreeBSD.org
Tue Jan 3 01:17:21 PST 2006


brian       2006-01-03 09:17:04 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/su           su.c 
  Log:
  Fix the other su bug reintroduced two commits ago, namely
  
      $ su
      % kill -STOP $$
  
  where su is executing (t)csh.  csh's job handling is a little more
  special than that of (a)sh, bash and even zsh and blows up a little
  more spectacularly.  This modification restores the original mucking
  about with the tty pgrp, but is careful to only do it when su (or
  su's child) is the foreground process.
  
  While I'm here, fix a STDERR_FILENO spelling as suggested by bde.
  
  Revision  Changes    Path
  1.79      +14 -1     src/usr.bin/su/su.c


More information about the cvs-src mailing list