diff options
Diffstat (limited to 'usr/src/cmd/script/script.c')
-rw-r--r-- | usr/src/cmd/script/script.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/cmd/script/script.c b/usr/src/cmd/script/script.c index af843763a6..313a35df8a 100644 --- a/usr/src/cmd/script/script.c +++ b/usr/src/cmd/script/script.c @@ -1,5 +1,5 @@ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -16,8 +16,6 @@ /* Portions Copyright(c) 1988, Sun Microsystems, Inc. */ /* All Rights Reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * script: Produce a record of a terminal session. */ @@ -103,6 +101,7 @@ main(int argc, char *argv[]) perror(fname); fail(); } + setbuf(fscript, NULL); chown(fname, ruidt, gidt); getmaster(); printf(gettext("Script started, file is %s\n"), fname); |