summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mk
AgeCommit message (Collapse)Author
2020-03-10improve usage messages (thanks henesy)Ori Bernstein
Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on.
2018-12-26mk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, ↵cinap_lenrek
mycroftiv) mycroftiv → this is practically "500 mile email" territory - the "6 letter mk bug"
2016-06-02mk: remove buggy and useless symtab functions (thanks qrstuv)cinap_lenrek
neither symdel nor symstat were used anywhere. syminit was used but had no effect. both syminit and symdel dereference pointers after freeing them. symstat can be tricked into writing beyond the bounds of its array
2016-06-01mk: remove buggy and unneeded syminit() function (thanks qurstuv)cinap_lenrek
syminit() attemts to reset the symbol table by freeing all the hash table entries, tho the code is buggy having a obviously use after free bug. as syminit() is only called once in main when it does not contain any symbols, the bug never occured. removing the unneccesary code alltogether.
2015-08-25fix fuckupglenda
2015-08-25import E script from bell labsmischief
2013-09-07mk: handle rc blocks in shell quotecinap_lenrek
this is so we cna handle: foo = `{echo `{echo bar}} thanks to erik and friedrich psiorz on 9fans for bringing the issue up.
2013-01-11mk: fix ar padding problems on 64bit (from eriks amd64mkar patch)cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen