plan9fox/sys/src/cmd
Ori Bernstein 01a6de812c git: performance enhancements
Inspired by some changes made in game of trees, I've
implemented a number of speedups in git9.

First, hashing the chunks during deltification with
murmurhash instead of sha1 speeds up the delta search
significantly.

The stretch function was micro-optimized a bit as well,
since that was taking a large portion of the time when
chunking.

Finally, the full path is not stored. We only care about
grouping files with the same name and path. We don't care
about the ordering. Therefore, only the hash of the path
xored with the hash of the diretory is kept, which saves
a bunch of mallocs and string munging.

This reduces the time spent repacking some test repos
significantly.

9front:
	% time git/repack
	deltifying 97473 objects: 100%
	writing 97473 objects: 100%
	indexing 97473 objects: 100%
	58.85u 1.39s 61.82r 	 git/repack

	% time /sys/src/cmd/git/6.repack
	deltifying 97473 objects: 100%
	writing 97473 objects: 100%
	indexing 97473 objects: 100%
	43.86u 1.29s 47.51r 	 /sys/src/cmd/git/6.repack

openbsd:

	% time git/repack
	deltifying 2092325 objects: 100%
	writing 2092325 objects: 100%
	indexing 2092325 objects: 100%
	1589.48u 45.03s 1729.18r 	 git/repack

	% time /sys/src/cmd/git/6.repack
	deltifying 2092325 objects: 100%
	writing 2092325 objects: 100%
	indexing 2092325 objects: 100%
	1238.68u 41.49s 1373.15r 	 /sys/src/cmd/git/6.repack

go:
	% time git/repack
	deltifying 529507 objects: 100%
	writing 529507 objects: 100%
	indexing 529507 objects: 100%
	345.32u 7.71s 369.25r     git/repack

	% time /sys/src/cmd/git/6.repack
	deltifying 529507 objects: 100%
	writing 529507 objects: 100%
	indexing 529507 objects: 100%
	248.07u 4.47s 257.59r 	 /sys/src/cmd/git/6.repack
2022-05-28 16:38:07 +00:00
..
1a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
1c kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
1l [12kq]l: remove unix compat code for cputime() 2020-12-19 19:15:02 +01:00
2a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
2c kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
2l [12kq]l: remove unix compat code for cputime() 2020-12-19 19:15:02 +01:00
5a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
5c kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
5e make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
5i 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
5l 5l: fix shifts by zero 2021-01-23 20:36:09 -08:00
6a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
6c 6c: extern registers must be considered used on return 2021-11-17 01:23:57 +00:00
6l cc: add a couple notes to the comments regarding flags 2020-12-29 19:38:59 +00:00
7a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
7c kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
7l 7l: handle dupok flag in TEXT/GLOBL data 2020-05-17 19:08:10 +02:00
8a cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
8c kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
8l cc: dont export gethunk(), hunk, nhunk and thunk 2020-05-12 23:18:48 +02:00
9nfs cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
9660srv pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
abaco abaco: add fonts.h to HFILES in mkfile (thanks eekee) 2020-06-21 19:34:54 +09:30
acid acid: increase hash size (thanks jonas.amoson) 2021-01-05 19:37:26 -08:00
acme acme: fix hiding of top windows when loading a dump file (thanks Xiao-Yong) 2022-03-15 10:49:00 +00:00
astro astro: fix typo 2014-11-26 18:56:00 -08:00
atazz atazz: fix %.*s format in special command processing 2019-02-25 04:20:00 +01:00
audio libtags: m4a: do not div by zero 2022-03-30 20:55:33 +00:00
auth auth/as: fix wrong filesystem permissions due to wrong factotum being attached 2022-04-04 22:25:08 +00:00
aux aux/listen: Allow per service namespace files 2022-05-28 02:34:43 +00:00
awk awk: fix off-by-one string buffer overflow from gsub 2022-03-12 12:29:15 +00:00
bitsy bitsy/keyboard: do not rely on atoi() being able to parse hex 2015-08-03 14:52:07 +02:00
bzfs pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
bzip2 gzip, bzip2: add -n flag to suppress modification timestamp 2021-07-21 17:36:02 +00:00
cb cb: import updates from sources 2012-08-01 21:57:13 +02:00
cc cc: fix incorrect octal range condition in mpatov 2022-01-23 01:05:27 +00:00
cdfs cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
cec fix dangerous werrstr() usages 2014-11-07 12:51:59 +01:00
cfs make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
cifs always zero initialize Tm structure for tm2sec() 2019-12-03 08:22:02 +01:00
compress improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
con Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cpp cpp: fix mutually recursive macros 2020-07-13 18:50:14 -07:00
cwfs cwfs: fix interpretation of startdump argument 2020-12-06 13:54:10 +10:30
db improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
dial Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
dict improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
diff diff: clean up some comments 2022-05-22 21:49:08 +00:00
disk mainly just spelling and typos 2021-11-01 20:49:43 +00:00
dossrv pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
dtracy show line numbers in dtracy type errors 2020-01-09 11:59:44 -08:00
eqn cmd: remove a bit of unused stuff 2016-11-17 02:59:40 +01:00
execnet fix threadsetname usage in few places 2014-05-03 13:07:52 +02:00
exportfs delete import, oexportfs src 2021-12-14 19:39:59 +00:00
ext2srv Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
faces faces: add -c option to remove faces with button 1 click (thanks sirjofri) 2020-12-04 09:33:55 +01:00
fax Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
forp forp: change indexing to verilog-like semantics 2018-12-06 10:56:32 +00:00
git git: performance enhancements 2022-05-28 16:38:07 +00:00
grap import updated compilers from sources 2012-07-30 19:11:16 +02:00
graph Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
grep grep: fix handling of -b flag 2020-03-26 18:24:39 +10:30
gs gs: apply mitigations against CVE-2017-8291 (thanks jsmoody) 2019-06-21 18:57:20 +02:00
gzip gzip, bzip2: add -n flag to suppress modification timestamp 2021-07-21 17:36:02 +00:00
hg python, hg: tow outside the environment. 2021-06-14 00:00:37 +00:00
hgfs hgfs: fix loadrevinfo() for empty log bug 2020-03-01 23:23:01 +01:00
hjfs hjfs: fix group ownership of home dirs created by newuser command 2022-03-08 13:25:52 +00:00
hoc hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#287) 2019-12-06 11:53:44 -08:00
htmlfmt htmlfmt: use uhtml for character set conversion 2014-05-12 02:38:53 +02:00
htmlroff htmlroff: fix out of bounds access (thanks Rei-sen, via plan9port) 2020-08-01 10:49:29 -07:00
ip ip/sol: handle timeout on password entry for digest auth 2022-04-19 02:06:33 +00:00
jpg ico: avoid potential nil pointer dereferences 2020-12-15 20:45:26 +10:30
ka cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
kc kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
ki 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
kl [12kq]l: remove unix compat code for cputime() 2020-12-19 19:15:02 +01:00
lex lex: fix uninitialized fds (thanks きゐ) 2021-06-16 00:28:01 +00:00
lp lpdaemon: fix bogus string termination (from sources) 2013-06-14 23:22:57 +02:00
map map/libmap: remove unused function/definitions 2016-03-01 19:36:24 -05:00
mk improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
mothra mothra: make scrollbar style consistent with other applications 2022-04-06 16:46:58 +00:00
ndb ndb/dns: use decimal encoding for txt rr string escapes 2021-11-03 20:38:23 +00:00
nusb nusb/disk: use setalt(), print argv0 in prints instead of "disk:" 2022-02-23 18:38:28 +00:00
paqfs mkpaqfs(8): allow setting compression level 2021-05-23 17:06:14 +02:00
pic remove autogenerated files, do more filtering 2011-08-30 09:08:34 -04:00
plot plot: handle create() failure 2016-03-01 19:40:14 -05:00
plumb plumber: remove $plumbsrv, add optional srvname, usage check 2021-09-10 21:03:47 +00:00
postscript troff: fix mangled fonts and character files 2021-06-15 16:13:59 +00:00
proof proof: don't confuse ""(1) (thanks Stuart Morrow) 2020-11-30 13:13:49 -08:00
qa cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
qc kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
qi 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
ql [12kq]l: remove unix compat code for cputime() 2020-12-19 19:15:02 +01:00
ratfs pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
rc rc: squelch 'Write error' warning 2022-04-29 01:51:01 +00:00
replica replica: fix mkfile script installation (thanks Amavect) 2020-07-20 18:58:52 -07:00
rio rio: fix parsing of directory path (-cd) when creating a new window via wctl 2022-02-09 00:11:44 +00:00
sam make = command's output plumbable 2022-04-16 06:53:35 +00:00
samterm sam: ignore autoindent in cmd window 2022-04-29 05:31:30 +00:00
scat make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
scuzz scuzz: uncomment synccache command 2015-09-22 12:23:49 +02:00
snap snap: use Mach->szaddr as the width of the stack pointer (fixes snap on amd64) 2018-11-22 20:27:27 +01:00
spell mkfiles: do not rely on path containing the . element 2013-10-26 20:22:01 +02:00
spin spin: Update to most recent version. (thanks Ori_B) 2017-11-22 21:09:31 +01:00
spred various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
syscall syscall: don't rely on . being in $path (thanks Silas) 2021-01-23 15:06:30 +01:00
tapefs pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
tbl tbl: fix wrong register count calculation (found by erik) 2013-01-05 16:59:56 +01:00
tcs improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
telco pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
troff troff: we are not htmlroff 2021-11-24 19:56:44 +00:00
troff2html toff2html: ifdefs are evil 2011-08-25 03:21:12 +02:00
upas acne/Mail: fix double-free (Bterm() in mesgshow()) 2022-01-29 20:50:03 +00:00
va cc: do not expand function-like macros for non-function invocations 2021-10-12 03:06:20 +00:00
vac vac: add -t flag to exclude temporary files and directories (thanks foura) 2021-05-30 14:30:50 +02:00
vc kencc: revert back to "set but not used" 2021-06-26 13:16:36 +00:00
venti venti: fix fprint format string 2021-09-27 04:19:00 +00:00
vi 5i ki qi vi: avoid buffer overflow in command read loop 2018-09-29 13:58:08 +02:00
vl cc: dont export gethunk(), hunk, nhunk and thunk 2020-05-12 23:18:48 +02:00
vmx vmx: fix PCI ID for virtio block devices 2022-01-24 23:48:13 +00:00
vnc vncv: allow the use of the Mod4 (Super) key 2022-04-09 10:29:11 +00:00
vt vt: increase buffer size 2022-05-11 04:02:57 +00:00
webfs webfs: do not reuse digest Authorization headers 2022-04-02 20:29:20 +00:00
wikifs fix dangerous werrstr() usages 2014-11-07 12:51:59 +01:00
aan.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
alarm.c alarm: make alarm work for processes running as none 2012-03-05 18:30:46 +01:00
ar.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
archfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ascii.c ascii: replace mnemonic np (new page) with ff (form feed) for consistency 2015-10-25 14:46:10 -04:00
basename.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
bc.y improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
bind.c make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
cal.c cal: fix days of week alignment for year view (thanks igor@9lab.org) 2021-06-19 12:00:52 +00:00
calendar.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
camv.c camv: fix leak on resize 2018-05-20 16:47:41 +02:00
cat.c cat: remove stupid long cast 2021-08-04 17:21:54 +00:00
chgrp.c chgrp: remove unused function declaration (thanks archeus) 2017-04-01 09:01:26 +00:00
chmod.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cleanname.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
clock.c clock: remove unused variable 2016-11-17 02:12:49 +01:00
cmp.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
col.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
colors.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
comm.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
cp.c abandon streaming experiment 2016-03-17 17:48:19 +01:00
crc32.c added crc32 2014-09-30 13:07:36 +02:00
crop.c crop: allow no-ops for pipelines 2021-04-12 10:29:54 +02:00
date.c date: remove '-m' flag 2021-08-13 01:27:17 +00:00
dc.c dc: fix crashes with : operator (thanks istvan bak) 2020-11-21 17:56:34 -08:00
dd.c dd: error with invalid size suffixes, add 'm' 2021-01-19 15:15:12 -08:00
deroff.c deroff: fix out-of-bounds access if runes above 0X80 are inside EQ clauses (thanks mmnmnnmnmm, via plan9port) 2020-08-01 10:54:03 -07:00
derp.c derp: handle file type changes 2012-11-21 15:34:12 +01:00
du.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
echo.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ecp.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ed.c ed: dont pass string constants to mktemp() 2014-06-22 01:48:02 +02:00
factor.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
fcp.c fcp: use iounit() to determine buffer size, reduce number of worker procs to 8 2015-07-19 03:32:38 +02:00
file.c file: partially revert 8419 to detect <?xml as html 2021-04-25 21:49:01 +02:00
fmt.c fmt: improved version using less memory 2012-10-23 02:08:35 +02:00
fortune.c fortune: avoid buffer overflow for lines >= 2K, make sure index has at least one entry, use nrand()/ntruerand() for uniform distribution 2017-03-19 22:04:26 +01:00
fplot.c fplot: add hyperbolic functions 2020-11-27 10:51:16 +01:00
freq.c make all the commands agnostic about Rune width. (from sources) 2013-04-24 20:13:18 +02:00
getmap.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
gview.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
histogram.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
history.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
html2ms.c html2ms: 0xFFFD → Runeerror 2021-02-23 08:52:59 +01:00
iconv.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
idiff.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
init.c init: remove dependency to <authsrv.h> 2015-08-21 23:40:31 +02:00
io.c io(1): %llx -> %ullx 2017-05-22 09:04:51 +00:00
iostats.c iostats: bind /srv into the namespace, its magic 2022-01-09 17:38:58 +00:00
join.c fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
kbmap.c kbmap: avoid division by zero when window becomes too small 2020-12-27 23:39:28 +01:00
kprof.c kprof: fix precedence (thanks geoff) 2018-09-19 01:11:49 +02:00
ktrace.c ktrace: arm64 support 2019-05-03 21:16:23 +02:00
lens.c various cmds: replace magic numbers with Kdel/Keof, etc 2014-12-13 21:58:49 +01:00
lnfs.c pre-lib9p servers: fix incorrect Tversion handling 2020-08-01 15:27:28 +02:00
lock.c lock: reopen lockfile after changing mode to make lock effective 2015-06-13 15:01:02 +02:00
look.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ls.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mc.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
md5sum.c sum, md5sum, sha1sum: set exit status properly on open/read errors 2018-09-18 15:58:22 -07:00
mkdir.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfile cmd/mkfile: major cleanup 2021-08-28 13:15:02 +00:00
mklib mklib, upas/common: clean up libcommon properly (thanks mikan) 2021-02-03 08:10:11 -08:00
mkmany /sys/src/cmd/mk*: add $CLEANFILES to clean and nuke targets 2012-10-25 01:58:43 +02:00
mkone mkone: fix man target (thanks Amavect) 2019-05-17 01:51:28 +02:00
mksyslib acid: update acid libraries for amd64 2014-02-10 23:07:37 +01:00
mntgen.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mount.c libauth: change programs to use the new procsetuser() function 2020-12-19 18:02:37 +01:00
mpc.y mpc: remove unused yylval type 2016-10-19 22:15:51 -05:00
ms2html.c ms2html: fix compiler warning 2011-12-09 22:36:40 +01:00
mtime.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mug.c handle initdraw errors 2011-12-10 23:01:15 +01:00
mv.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
netstat.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
news.c news: make -a and -n get along (thanks lyndon) 2021-01-26 18:07:04 -08:00
nfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
nm.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
nntpfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ns.c ns: remove left over vararg check pragma 2018-02-26 19:58:54 +01:00
os.c os(1): add c implementation of inferno os command and cmd(3) device manpages 2019-11-30 20:10:08 +01:00
p.c fixed error handling in p, pr, sed, xd, yacc 2011-07-13 14:17:09 +02:00
page.c page: performance fixes 2022-01-19 22:58:53 +00:00
paint.c paint: change colors in the palette with button 3 2020-05-23 20:41:20 +02:00
pbd.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pc.y pc: do not access out of bounds array element 2022-03-28 17:23:04 +00:00
pcc.c pcc: back out -+ flag removal to allow gracefull upgrade path with new pcc but old cpp 2019-06-19 15:15:35 +02:00
pipefile.c make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
pr.c fixed error handling in p, pr, sed, xd, yacc 2011-07-13 14:17:09 +02:00
primes.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
prof.c retire the dec alpha port 2016-05-04 16:11:48 +02:00
ps.c ps: cleanup 2012-08-02 02:53:42 +02:00
pstree.c pstree: manpage, print pid in first column, bio, silly walks 2012-11-08 00:06:54 +01:00
ptrap.c ptrap: implement filtering on plumb attributes 2020-12-06 21:52:01 +01:00
pump.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
pwd.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
qr.c qr: fix exit status 2021-01-05 22:36:03 +10:30
ramfs.c ramfs: fix truncfile() for non multiple of extend size (64k) 2021-02-27 15:08:34 +01:00
ratrace.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
rdbfs.c rdbfs: add -s srvname (from charles forsyth's rdbfs-srvname patch) 2013-06-14 23:28:59 +02:00
read.c read: add -c flag to copy bytes instead of lines 2012-07-02 17:46:21 +02:00
resample.c resample: improve performance (thanks José Miguel Sánchez García) 2021-04-25 12:16:40 +02:00
resize.c resize: add -n for nearest neighbour 2015-09-23 17:52:35 +02:00
rm.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
rotate.c more generic way to deal with image chan conversion for resize/resample/rotate 2012-10-18 20:17:12 +02:00
rx.c rx: remove ssh code 2017-01-13 19:54:42 +01:00
sat.c add sat(1) command 2018-03-18 03:03:12 +00:00
scram.c scram: remove _PTS(5). it just doesn't make any sense 2016-10-15 23:42:22 +02:00
screenlock.c screenlock: don't poll to top window (thanks Stuart Morrow) 2021-07-18 19:54:58 +00:00
seconds.c seconds: remove junk from usage 2021-01-17 11:12:18 -08:00
sed.c sed: accept and ignore -E and -r flags for unix compatibility 2020-05-02 16:56:52 +02:00
seg.c io, seg: we should exits(nil) at the end of main 2013-05-28 20:06:53 -04:00
seq.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sh.C Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sha1sum.c sum, md5sum, sha1sum: set exit status properly on open/read errors 2018-09-18 15:58:22 -07:00
size.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sleep.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sort.c sort: fix memory leak (thanks Igor Boehm) 2021-01-01 11:48:39 -08:00
split.c fix misleading/wrong fd checks 2018-10-20 18:44:09 +00:00
srv.c libauth: change programs to use the new procsetuser() function 2020-12-19 18:02:37 +01:00
srvfs.c oexportfs: move legacy code for cpu and import to separate program 2020-12-13 20:09:03 +01:00
ssh.c ssh: use RSA/SHA-256 instead of RSA/SHA-1 as the public key algorithm 2021-09-02 13:28:48 +00:00
sshfs.c cmd/sshfs.c (recvproc): prefer error codes over error strings 2022-01-07 10:37:02 +00:00
sshnet.c sshnet: prevent ssh process from keeping the mount alive 2020-05-26 21:37:25 +02:00
stats.c stats: don't query battery and temp as often when using acpi 2021-01-22 10:15:36 +01:00
strings.c we look for strings.c, it is broken, this strings.c will make us go. 2014-05-30 04:05:18 +02:00
strip.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sum.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
swap.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
tail.c tail: fix follow for empty files (thanks cinap_lenrek) 2014-05-08 14:29:44 +02:00
tar.c Parse global pax header in the right place. 2019-11-15 13:26:25 -08:00
tee.c tee: get rid of openf[100] array and just dup() filedescriptors to 3+[0..n-1] 2014-12-21 05:12:56 +01:00
test.c test: fix expression parser 2021-02-06 15:51:09 +10:30
time.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
timepic.c timepic: string support 2015-09-29 20:49:28 +02:00
tlsclient.c tlsclient: allow dumping the server's certificate with new -d flag 2018-01-06 07:43:08 +01:00
tlssrv.c cmd/ip/*: chown the network connection after authentication 2019-09-21 23:36:44 +02:00
touch.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
touchfs.c Promote the old installer/livecd specific tools to normal tools under /sys/src/cmd. Where similar common tools already existed, I kept them. 2011-04-14 00:35:48 -03:00
tprof.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tput.c tput: check sbrk return value 2015-08-25 03:06:36 -07:00
tr.c tr: fix 4-byte runes fix (thanks rsc) 2014-04-26 14:26:40 +02:00
trace.c make bind(2) error handling consistent 2020-05-02 17:32:01 +02:00
truetypefs.c truetypefs: fall back to width if advance is zero 2018-10-12 08:34:17 -07:00
ttfrender.c add ttfrender(1) 2018-06-09 14:34:44 +00:00
tweak.c tweak: add missing return to fix double close(…) on file descriptor… 2021-10-06 13:37:39 +00:00
uhtml.c uhtml: dont trust charset=utf-8 attribute, verify. 2016-03-13 23:47:24 +01:00
unicode.c unicode: use Runeerror 2012-12-31 22:49:29 +01:00
uniq.c uniq: use Bsize for buffers 2014-05-03 10:48:13 +02:00
units.y correcting unicode superscripts for 1 2 and 3 2012-02-23 16:58:53 +01:00
unlnfs.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
unmount.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
urlencode.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
walk.c [9front] walk: properly format permissions 2021-04-06 14:43:38 +02:00
wc.c improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
webcookies.c webcookies: remove straggling custom date parser 2021-01-19 18:14:53 -08:00
winwatch.c winwatch: always reflow when possible (thanks telephil9) 2021-02-02 11:56:45 +01:00
xargs.c rewrote xargs in C; implemented parallelization 2011-08-27 11:19:54 +02:00
xd.c xd: use new bio magic to make -u more efficient 2017-06-12 19:56:57 +00:00
yacc.c stop fiddling with path construction. 2020-05-13 18:50:01 -07:00