summaryrefslogtreecommitdiffstats
path: root/src/cmd/mk/unix.c
Commit message (Collapse)AuthorAgeFilesLines
* mk: treat X= as empty list in rc shellRuss Cox2020-01-131-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.
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-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>
* 64-bitrsc2006-04-201-1/+1
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-1/+1
|
* use full prototypesrsc2005-05-071-1/+1
|
* avoid saying unsigned long, for unix portrsc2005-01-231-1/+1
|
* add new | syntax.rsc2005-01-041-15/+38
| | | | syntax will change.
* More little bug fixesrsc2004-05-141-0/+8
|
* the lastbug fix?rsc2004-04-211-4/+7
|
* More Mac tweaks.rsc2004-03-021-0/+1
|
* Initial revisionrsc2003-09-301-0/+306