plan9fox/sys
cinap_lenrek 9a3a722dde rc: flush environment variables (update /env) before fork
on races... normal forks will all share the /env environment but
not the in memory variables of rc. so when we would normally fork
whoever does an exec (flush) first will override what the values of the
/env variables are, *independent* of the variables that where
actually modified *in* the process.

when we flush *before* fork, then at least both processes start out
with marked clean in memory variables and the processes will flush
only the things they actually change.
2013-08-20 23:56:15 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: GitHub is down...uh...now what? 2013-08-15 12:12:26 -04:00
include rio: add ^B control sequence to move cursor to output point 2013-08-04 06:45:58 +02:00
lib create /sys/lib/ssl 2013-08-11 18:23:22 +02:00
man rio: add ^B control sequence to move cursor to output point 2013-08-04 06:45:58 +02:00
src rc: flush environment variables (update /env) before fork 2013-08-20 23:56:15 +02:00