summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/strdup.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-02-28 16:41:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2020-02-28 16:41:09 +0100
commitff3e0eeb22816208360db3c87e501c5de7d998e3 (patch)
tree7f67b5942031926fedefcf4c766ba74bc2342fc6 /sys/src/cmd/python/Python/strdup.c
parent3df95385bcc5294a212534d0991f1ffef1454aca (diff)
devproc: cleanup procwrite size checks
writes to /proc/n/notepg and /proc/n/note should be able to write at ERRMAX-1 bytes, not ERRMAX-2. simplify write to /proc/n/args by just copying to local buf first and then doing a kstrdup(). the value of Proc.nargs does not matter when Proc.setargs is 1.
Diffstat (limited to 'sys/src/cmd/python/Python/strdup.c')
0 files changed, 0 insertions, 0 deletions