summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-08abaco: remove strange linecinap_lenrek
2014-05-08tail: fix follow for empty files (thanks cinap_lenrek)ftrvxmtrx
2014-05-08tail: seek to EOF to check if seekable. fixes tail on /proc filesftrvxmtrx
2014-05-08hgfs: avoid revlogupdate() calls when reading root (thanks burnzez)cinap_lenrek
we do not need to check for revlog updates on every (directory) read when reading the root. only do it when reading from the start.
2014-05-07sed: remove unused ecmp functionftrvxmtrx
2014-05-06cc: fix spurious warning on comparsion with scope redeclared variable ↵cinap_lenrek
(thanks aiju) > warning: a.c:9 useless or misleading comparison: UINT < 0 the error can be observed by compiling the following code with warnings enabled: #include <u.h> #include <libc.h> uint r; void main(int argc, char *argv[]) { int r; if(r < 0){ exits(0); } } the offending code in the compiler is: - if(l->op == ONAME && l->sym->type){ - lt = l->sym->type; - if(lt->etype == TARRAY) - lt = lt->link; - } compiler handles scope by overwritin and reverting symbols while parsing. in the ccom phase, the nodes symbol (n->sym) is not in the right scope and we wrongly think r is uint instead of int. it is not clear to me what this code tried to accomplish in the first place nor could anyone answer me this question. the risk is small as this change doesnt affect the compiled program, only the warning, so removing the offending code.
2014-05-06pc64: fix embrassing typo in mmuzap()cinap_lenrek
2014-05-05gs: fix /undefined in --setcolor-- errors on amd64cinap_lenrek
2014-05-04mergeftrvxmtrx
2014-05-04vga font: hammer and sickleftrvxmtrx
2014-05-04fonts: add swastika to naga10. fixes swastika in default fontftrvxmtrx
2014-05-04gs: remove PStorage data type from ttf interpretercinap_lenrek
i dont see that pointers are stored in PStorage at all, so just use PLong directly avoding all this confusion.
2014-05-04gs: fix truetype interpreter for amd64cinap_lenrek
2014-05-03fix threadsetname usage in few placesftrvxmtrx
2014-05-03thread.h: varargck argpos for threadsetnameftrvxmtrx
2014-05-03bio.h: add varargck argpos pragma for Berrorftrvxmtrx
2014-05-03uniq: document -s option (thanks heaumer)ftrvxmtrx
2014-05-03uniq: use Bsize for buffersftrvxmtrx
2014-05-03cwfs: fix 1GB memsize limitationcinap_lenrek
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations.
2014-05-03wc: simplify and avoid buffer overflow on long filenamesftrvxmtrx
2014-05-021l, 2l, 7l, kl, vl: add missing setmalloctag() dummy in compat.ccinap_lenrek
2014-05-02bio: Brdstr, Bopen: set malloc tag to the callerftrvxmtrx
2014-05-02sdide: never timeout or retry scsi commands from the controller drivercinap_lenrek
this was a big mistake. we should never attempt to timeout or retry a scsi command from the controller driver because theres no way to tell how long a command would take or if a command has side effects when being retried.
2014-05-02bio: on a second thought, make it one line lessftrvxmtrx
2014-05-02bio: do not leak memory if realloc failsftrvxmtrx
2014-05-02samterm: free() after getenv()ftrvxmtrx
2014-05-01pc64: increase sizes of physical memory bank mapscinap_lenrek
number of bank slots in Conf.mem[4] was too small for kenjis machine, set it to maximum 16 (the size of the RAM map in pc64/memory.c). also increasing the UPA memory map to 64. the e820 map on my x200s has 31 entries and many holes. this gets rid of the "mapfree: ... losing" messages on boot.
2014-05-01leak(1): typoftrvxmtrx
2014-04-29kernel: always reset notepending in eqlock, handle forceclosefgrp in eqlockscinap_lenrek
2014-04-29kernel: stop queue bloat before allocating blockscinap_lenrek
2014-04-29aan(8): fix aanuke synopsisftrvxmtrx
2014-04-28devmnt: make abandoning fid on botched clunk handle flushescinap_lenrek
make mntflushfree() return the original rpc and do the botched clunk check on the original instead of the current rpc. so if we get a botched flush of a clunk, we abandon the fid of the channel as well.
2014-04-28devmnt: abandon fid on botched Tclunk or Tremovecinap_lenrek
if theres an error transmitting a Tclunk or Tremove request, we cannot assume the fid to be clunked. in case this was a transient error, reusing the fid on further requests will fail. as a work arround, we zero the channels fid and allocate a new fid before the chan is reused. this is not correct as we essentially leak the fid on the fileserver, but we will still be able to use the mount.
2014-04-28libip: use snprint() in myetheraddr() to prevent accidentscinap_lenrek
2014-04-288c, 6c: fix peephole bug for eleminating CMPL $0,R after shiftcinap_lenrek
the shift instructions does not change the zero flag when the shift count is 0, so we cannot remove the compare instruction in this case. this fixes oggdec under 386.
2014-04-28btc mkfile: mkdir -pftrvxmtrx
2014-04-27iwl: support another (broken) variant of centrino ultimate-n 6300ftrvxmtrx
2014-04-26mergeftrvxmtrx
2014-04-26iwl: add Wifi Link 5150 didftrvxmtrx
2014-04-26pmmc: recognize generic mmc controllers (untested)cinap_lenrek
2014-04-26tlshand: cleanup 36 -> MD5dlen+SHA1dlencinap_lenrek
2014-04-26tlshand: fix memory leaks, fix alloc element size for certs pointer array, ↵cinap_lenrek
error handling
2014-04-26games/geigerstats: fix usage() to exit; games(1): geigerstats argsglenda
2014-04-26tr: fix 4-byte runes fix (thanks rsc)ftrvxmtrx
2014-04-26mergeftrvxmtrx
2014-04-26man pages: fix duplicate wordsftrvxmtrx
2014-04-26draw(2): fix missing arg of bezspline on page 5glenda
2014-04-26man pages: the the wichftrvxmtrx
2014-04-25newt: write message header and body to virtual file before printing, to ↵stanley lieber
avoid stutter
2014-04-24nusb(4): fix spellingmischief