plan9fox/sys
cinap_lenrek 8c1d4604db page: close stdout, reopen stdout/stderr for external viewer and removed useless RFNAMEG flag
we are not using stdout (fd=1) and it, so dup nullfd over it.
this drops the old window reference when using with -w flag.

the RFNAMEG flag isnt needed because we are calling newwindow()
which forks the namespace for us.

reopen stdin/stdout for the external viewer to the new window.
2013-10-04 16:03:41 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: I think we're done here. 2013-10-02 18:02:49 -04:00
include reverting semaphore lock changes from sources (r41ccd6d221da, rb28756e5ba29) 2013-09-26 22:24:31 +02:00
lib rootstub: create directories for mips 2013-09-21 21:21:18 +02:00
man add sdp(3) from sources 2013-10-04 13:52:22 +02:00
src page: close stdout, reopen stdout/stderr for external viewer and removed useless RFNAMEG flag 2013-10-04 16:03:41 +02:00