]> git.lizzy.rs Git - plan9front.git/commit
vt: fix plumbsel(), snarfsel()
authorcinap_lenrek <cinap_lenrek@felloff.net>
Mon, 3 Sep 2018 18:54:26 +0000 (20:54 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Mon, 3 Sep 2018 18:54:26 +0000 (20:54 +0200)
commit80cd634c4d446418899018b6dcff2559c4572537
treeb82b150e821c29ba4382dc316c6c771cc2329648
parentde9aa721f6b481d74f437035bedbaee6fffa2627
vt: fix plumbsel(), snarfsel()

- plumbsel()
- remove debug prints
- use smalloc() to convert to bytes
- fix spurious -1 close of plumb fd

- snarfsel()
- fix rune buffer leak in open error case
sys/src/cmd/vt/main.c