aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk/unix.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-13mk: treat X= as empty list in rc shellRuss Cox1-6/+12
This brings mk's behavior when using rc in line with Plan 9's. The existing code is for Unix environment data structures but also was assuming Unix shell semantics where empty and missing variables are mostly equivalent. The Plan 9 code (/sys/src/cmd/mk/plan9.c in the distribution) explicitly removes /env/name (creating an empty list) when the value is missing or an empty string. Fixes #255.
2020-01-10Trivial changes: whitespace and modes.Dan Cross1-3/+3
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
2006-04-2064-bitrsc1-1/+1
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-1/+1
2005-05-07use full prototypesrsc1-1/+1
2005-01-23avoid saying unsigned long, for unix portrsc1-1/+1
2005-01-04add new | syntax.rsc1-15/+38
syntax will change.
2004-05-14More little bug fixesrsc1-0/+8
2004-04-21the lastbug fix?rsc1-4/+7
2004-03-02More Mac tweaks.rsc1-0/+1
2003-09-30Initial revisionrsc1-0/+306