Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 02:45:42 -0700 (PDT)
From:      "Dag-Erling C. Sm\xf8rgrav" <des@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/usr.bin/script script.c
Message-ID:  <199809190945.CAA23139@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         1998/09/19 02:45:42 PDT

  Modified files:
    usr.bin/script       script.c 
  Log:
  Fix the following bugs:
  
    - if a command was specified and script(1) failed to execute it,
      it would print the name of your shell in the error message
      instead of that of the command that failed.
  
    - since finish() was installed as a SIGCHLD handler, it would
      often run before the main loop had had time to process the
      last few bytes of output. This resulted in very strange
      truncated error messages.
  
    - script(1) would almost always return with an exit status of 0,
      even if the command returned a non-zero exit status. This broke
      my 'build world, install it and rebuild the kernel' scripts
      because 'make installworld' would run even if 'make buildworld'
      had failed.
  
  Revision  Changes    Path
  1.9       +27 -19    src/usr.bin/script/script.c



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