Commit Graph

2675 Commits

Author SHA1 Message Date
Russ Cox 27589754e4 libregexp: fix match choice bug
This bug fix allows some pathological regular
expressions to cause the regexp library to
report a stack overflow (really a stack filling; safe)
but it also fixes the behavior of some common regexps.
It is too hard to satisfy both.
2008-01-10 17:06:51 -05:00
Russ Cox 79ff7e4b5e dist,unix: use MKSHELL=$PLAN9/bin/rc (John DeGood) 2008-01-10 16:08:44 -05:00
Russ Cox 6d08a0f548 libregexp: revert regexp fix 2007-12-07 17:33:41 -05:00
Russ Cox 2deda14e42 sam: revert regexp fix 2007-12-07 17:33:03 -05:00
Russ Cox 73778baeb3 acme: revert regexp change 2007-12-07 17:32:35 -05:00
Russ Cox 608a09284e sam: regexp fix (see libregexp change) 2007-12-07 15:33:58 -05:00
Russ Cox 6f16e7fc1b acme: regexp fix (see libregexp change) 2007-12-07 15:33:38 -05:00
Russ Cox a7511dd43d libregexp: fix ambiguous match selection
echo SYSSYSR1 | sed 's/SYS.+/sysr1/'

was producing SYSsysr1 instead of sysr1.
Bug was introduced during overflow cleanup earlier this year.

Also bring regexec.c and rregexec.c into sync again.
Also allocate large enough lists in the regexec2/rregexec2 case.
2007-12-07 15:32:45 -05:00
Russ Cox 6c6117397f hoc: print exact floating point output 2007-12-07 15:29:19 -05:00
Russ Cox 6d069877f0 sam: turn off DEBUG logging (oops) 2007-12-04 19:55:22 -05:00
Russ Cox b88619038f vbackup: fix uninitialized variable use in -i code 2007-12-04 09:03:08 -05:00
Russ Cox 34b2f0bc1d acme: refresh window properly after Tab command (Fazlul Shahriar) 2007-11-28 23:32:32 -05:00
Russ Cox a4b5da0be7 vbackup: add -i flag to avoid score prefetching (David Swasey) 2007-11-27 15:49:09 -05:00
Russ Cox 89d6e06cb1 .hgignore: ignore more 2007-11-27 15:40:45 -05:00
Russ Cox 83ab7d8896 merge 2007-11-27 15:39:06 -05:00
Russ Cox 00a8743cd8 .hgignore: ignore more 2007-11-27 15:38:52 -05:00
Russ Cox e0e75ef7f4 upas/smtp: remove intermediate files 2007-11-27 15:38:29 -05:00
Russ Cox 3f4e0dc707 tpic: clean up better 2007-11-27 15:37:31 -05:00
Russ Cox a6e6840c21 venti: add debugging html form 2007-11-27 15:36:58 -05:00
Russ Cox 6519f89515 libdiskfs: work around OS X linker brain-damage 2007-11-05 16:37:29 -05:00
Russ Cox 760f2fb6a9 libmach: move machbyname, mach to crack.c to avoid OS X linker problem 2007-11-05 14:53:16 -05:00
Russ Cox 2640996af8 libthread: use our own swapcontext/makecontext even on OS X 10.5 2007-11-05 13:14:52 -05:00
Russ Cox 88cf592723 libmp: no text jump labels for darwin 2007-11-05 12:27:49 -05:00
Russ Cox 50808670fc build: use ar s flag to avoid ranlib 2007-11-05 11:27:14 -05:00
Russ Cox eb5d2a54d5 diff: continue after i/o errors when diffing many files 2007-11-05 11:09:39 -05:00
Russ Cox e84044be84 mailfs: add -r flag to specify mail root (Richard Bilson) 2007-11-05 10:55:26 -05:00
Russ Cox f1ea0d2916 mailfs: handle NIL body 2007-11-05 10:52:30 -05:00
Russ Cox 523f31487b factotum: silence gcc warning 2007-11-05 10:37:56 -05:00
Russ Cox d944f76407 man: document hg interface; update CVS host name 2007-11-04 20:30:18 -05:00
Russ Cox ea55a42c96 libthread: better OS X 10.5 test (Jeff Sickel) 2007-11-03 16:10:39 -04:00
Russ Cox 32ee64c230 venti: use 9ar, not ar (fixes Darwin build problem) 2007-10-31 17:29:00 -04:00
Russ Cox e7ae61181c libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) 2007-10-30 13:33:12 -04:00
Russ Cox 45ac814c86 venti: fix sync deadlock, add /proc stub 2007-10-29 14:33:17 -04:00
Russ Cox c5a183de10 grap: fclose, error context bug fixes (Doug Gwyn) 2007-10-29 10:34:43 -04:00
Russ Cox 151b86a037 srv: add -n flag to reject auth by clients 2007-10-12 12:56:57 -04:00
Russ Cox 9b25329723 9pserve: add -n flag to reject auth by clients 2007-10-12 12:55:19 -04:00
Russ Cox 4ff6950783 9p: add -n to disable authentication 2007-10-12 12:52:52 -04:00
Russ Cox 3dc14df0f7 mount: explicit u on test -S and mount to get unix versions (Chris King) 2007-10-09 19:22:43 -04:00
Russ Cox 7a400ee957 venti: new icache 2007-09-25 09:47:31 -04:00
Russ Cox 25a4e89fa9 venti: fix double free on corrupt bloom filter 2007-09-25 09:46:52 -04:00
Russ Cox 952f137f04 venti: formatting changes for wrarena 2007-09-24 22:35:57 -04:00
Russ Cox 67a65bbaa5 venti: formatting changes in fixarenas 2007-09-24 22:33:34 -04:00
Russ Cox c1edcb95cf venti: formatting changes in findscore 2007-09-24 22:33:21 -04:00
Russ Cox 12c0e45f79 venti: throw away dcache read-ahead code 2007-09-24 22:32:46 -04:00
Russ Cox b41e39aa1a venti: move os x linker hack 2007-09-24 22:31:26 -04:00
Russ Cox 72281ecda8 venti/randtest: compute totalbytes correctly 2007-09-24 22:29:16 -04:00
Russ Cox 50f5d1a7a8 factotum: fix build error (Axel Belinfante) 2007-09-16 17:28:44 -04:00
Russ Cox 7be768e78c auxstats: use acpi to find battery info on Linux (Andrey Mirtchovski) 2007-09-15 19:06:48 -04:00
Russ Cox d96dce4d87 factotum: implement p9cr 2007-09-13 21:12:49 -04:00
Russ Cox ec9247088b 9pserve: delete from correct hash slot (fix infinite loop) 2007-08-28 08:45:27 -04:00