Commits
- Commit:
d6f8c236b8c601781cef6f8521fd47dffa1758b4
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
acme: do not pass null pointers where disallowed
The C standards disallow passing null pointers to memmove and memcmp.
Change-Id: I1c88c2adbc32a23ef742f206038b8f7c4e0540c7
- Commit:
f77d12f8d8a822aae41b835c0cca050928c58221
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
cmd/rc: fix declarations of some externally linked variables
Change-Id: If8fe1afecb9fe55f85e8e5af37521b83e787d718
- Commit:
ab6f1aeac761178fb70863681eab9e681aa3f379
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
cb: fix a null pointer dereference
Just added a pair of parentheses. I also ran cb on cb.c to beautify the
code.
This is actually on Gerrit from 2016:
https://plan9port-review.googlesource.com/c/plan9/+/1574
Change-Id: I5e234adba0f95c13d6eecb121bf11bba4bf54566
- Commit:
a1ead676e69d46df89dd0de12cf86380c5773353
- From:
- Russ Cox <rsc@swtch.com>
- Date:
sam: report close error
- Commit:
0b349f6f34f1fff58ab9748277a093f70df2be33
- From:
- Russ Cox <rsc@swtch.com>
- Date:
acme: report close failure during Put
- Commit:
4af8158b5351cc0ed7fc0ebb5e7b31c64069363d
- From:
- Russ Cox <rsc@swtch.com>
- Date:
libbio: report Bflush/close error from Bterm
- Commit:
f7f0512875f6eedfa8caa26a4b3969d66f31a6c4
- From:
- Marc Simpson <marc@0branch.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
ed: formatting tweak (remove redundant tab). (#301)
- Commit:
01a29ffe9dec8f11afa6db22a6ed0218bdbe5c5c
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
page: fix pdf prolog for ghostscript >= 9.27 (#296)
Ghostscript 9.27 removed GS_PDF_ProcSet and pdfdict due to a security
issue (see https://security-tracker.debian.org/tracker/CVE-2019-3839).
This fix was contributed by @onyxperidot (see #279).
Fixes #279
- Commit:
3d08a066b167b60691949fe89a7a67ef29df39cb
- From:
- Marc Simpson <marc@0branch.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
ed: replace magic number (077776, i.e. 32766) with NBLK-1. (#300)
Temp file size is now declared in an enum; changing it from the
default introduces a subtle bug in putline(), which expects it to
be 32767.
Mask with NBLK-1 instead.
- Commit:
46606276c3fe20fa81597cf87378e18f7baf88a7
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
page: fix hang for forward-only postscript files
Page was hanging because ghostscript never closes the fd from which
we're reading BMP data. We close our end of the pipe so that ghostscript
will close its end.
Tested with ghostscript version 9.50.
Fixes #124
- Commit:
436ff26c3688198de8e8e48121296eace0b5d119
- From:
- Jason Felice <jason.m.felice@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9c, 9l: use $TMPDIR if available (#272)
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
- Commit:
b0aecb4ba5c3d7df6589c01f5a7c0427f5a75305
- From:
- Jason Felice <jason.m.felice@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
plumber: add -f (foreground) option (#288)
In MacOS, services run by launchd must run in the foreground, since
launchd manages forking and other resources.
- Commit:
1309450668aa571dee97f4373f9555b4fddcf1aa
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
awk: split record into runes for empty FS (#292)
awk was splitting records into bytes instead of runes for empty FS.
For example, this was printing only the first byte of the utf-8 encoding
of é:
echo é | awk 'BEGIN{FS=""}{print $1}'
The change just copies how the `split` function handles runes.
Originally reported by kris on twitter:
https://twitter.com/p9luv/status/1180436083433201665
- Commit:
715807d706cd13bc583588477a84090fbf02e057
- From:
- Francis Conti <fc@nymon.xyz>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
Teach 9l about FreeBSD ≥ 12; address issue #247. (#249)
- Commit:
13d40aa64c8c073c296ad2c8df0bae6d607aff07
- From:
- Günther Noack <guenther@unix-ag.uni-kl.de>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9l: support Linux version 5.0+ (#274)
Update 9l to support Linux 5.x.