Commit graph

35 commits

Author SHA1 Message Date
Russ Cox
59b460f845 vac, unvac: allow 128MB cache size, up from 4MB
When a directory has lots of children, vac crashes because it runs out of cache.

Fixes #266.
2020-01-13 17:09:39 -05:00
Dan Cross
fa325e9b42 Trivial changes: whitespace and modes.
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>
2020-01-10 14:54:30 +00:00
Russ Cox
0cfb376070 fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
2012-10-21 11:25:08 -04:00
David du Colombier
68e24566b6 vac: fix segfault on DMSYMLINK or DMDEVICE
Fix segfault when the first archived file is DMSYMLINK or DMDEVICE.
Reinitialize the buffer to zero before calling readlink.

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5500097
2012-01-16 17:06:41 -05:00
David Swasey
7771477e15 vac: eliminated vac cache size 128. vacfsopen used to take ncache rather than cachemem
R=rsc
CC=codebot
http://codereview.appspot.com/817041
2010-04-13 13:18:12 -07:00
Russ Cox
75d048884c venti: 32-bit extensions to data structures 2009-05-25 02:11:27 -07:00
Russ Cox
286bb40b76 unvac: add -d flag (David Swasey) 2008-12-06 16:14:10 -08:00
Russ Cox
e05b0ff3eb vac: add -a and -x flags
Thanks to Michael Kaminsky for the suggestion.
2008-07-03 01:34:48 -04:00
Russ Cox
9b3ac17050 vac: fix -m bug (Myron Cheung) 2008-07-02 15:39:13 -04:00
Russ Cox
fa3c8da1c0 vacfs: present qids correctly 2008-06-15 01:46:23 -04:00
Russ Cox
4395d738f4 vac: fix usage, more #ifdef PLAN9PORT 2008-06-15 01:27:07 -04:00
Russ Cox
003c13aa18 vac: make qids unique 2008-06-15 01:19:37 -04:00
Russ Cox
ecc0a1b0e7 vac: major cleanup and bug fixes 2008-06-14 23:08:50 -04:00
Russ Cox
64f9764ea9 vac: clean up, add unvac 2008-06-14 13:28:49 -04:00
rsc
47964cbc7b print + new files in verbose mode (Michael Kaminsky) 2007-01-18 18:34:46 +00:00
rsc
9ae5008386 More return value fixes (Michael Kaminsky) 2007-01-18 18:26:56 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
73abc62794 avoid sprint to keep bad utf (marco gaddoni) 2005-12-29 21:59:54 +00:00
rsc
23e7c65741 Signedness bugs for Mac OS X. 2005-09-13 03:58:31 +00:00
rsc
71f0567294 Add Unix specials. 2005-09-13 02:00:06 +00:00
rsc
23fb2edb22 venti updates 2005-07-24 20:15:44 +00:00
rsc
edefa2492c sunos 2005-03-15 20:27:59 +00:00
rsc
5db61d6221 syntactically correct c code always a plus 2005-02-21 04:28:34 +00:00
rsc
d24aad8fd7 bug fix from lucho 2005-02-20 22:51:24 +00:00
rsc
3e1960ce9e fix -d from lucho 2005-02-18 18:28:00 +00:00
rsc
6c0209f6f0 build changes 2005-02-11 20:32:41 +00:00
rsc
5fc55a953e avoid unix special files 2005-02-08 20:27:10 +00:00
rsc
38c10d1abc do not call exits in threaded programs 2005-01-17 21:29:00 +00:00
rsc
cb98c6f854 stupid sun 2005-01-14 18:46:35 +00:00
rsc
359c1e017e works on Linux 2.6 2005-01-14 04:24:09 +00:00
rsc
09dd30c9a0 small changes for build 2004-12-28 23:26:53 +00:00
rsc
929fcfe0e3 add note that vac should work.
change %R to %r
2004-12-27 21:05:39 +00:00
rsc
2277c5d7bb Small tweaks
Lots of new code imported.
2004-03-21 04:33:13 +00:00
rsc
3d77c87e81 Vac works. 2004-03-15 01:56:49 +00:00
rsc
7763a61a35 start thinking about vac -- doesn't build yet 2003-11-23 17:55:34 +00:00