Commits
- Commit:
a18741729cc1460088d1ddaa365dfa6455a459ec
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libhtml: plug a memory leak in addtext
Change-Id: I9b8a4430e7d26008ba9508095f8eb4b124a93b9b
- Commit:
8241eca986a18d242f52273f76d59f6828e6c859
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libhtml: plug quite a few memory leaks
Change-Id: I45bd62a590373669e90183cc2b2ee56570c007f5
- Commit:
2738cc3cfc053a5922aee655405c0ab620beae0f
- From:
- Dan Cross <cross@gajendra.net>
- Date:
mk: plan9 style.
In general, no space after `if` etc, and no
braces for a single statement inside of a loop
or conditional.
Signed-off-by: Dan Cross <cross@gajendra.net>
- Commit:
c65d179354fd3fd6f9719531f3414cf1c9c5280a
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
mk: fix out of bounds access
A loop is added for each structure field instead of accessing the other
fields through the first one in one loop.
Updates #313
Change-Id: I0e27e15feacb77391bc1decee7cf720d64d14586
- Commit:
194178b5788a09379e01e8ff8bff391b8a8d5c18
- From:
- Martin Kühl <martin.kuehl@posteo.net>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9c: Fix case patterns for DragonFly and other BSDs
POSIX does not support grouping in case item patterns.
Installing with a strict POSIX shell fails with:
/usr/local/plan9/bin/9c: line 82: syntax error near unexpected token `('
/usr/local/plan9/bin/9c: line 82: `*(DragonFly|BSD)*gcc*) usegcc ;;'
This change expands the patterns to work around the limitation.
See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10
(and search for case_clause)
- Commit:
e6ed10f25e4b2ea791d8e52253f7d806316420e9
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
lib9, libndb: exclude terminating null from strncpy bound
GCC pointed this out with some "warning: ‘strncpy’ specified bound NUM
equals destination size [-Wstringop-truncation]" warnings.
Change-Id: Id8408b165f6e4ae82c96a77599d89f658d979b32
- Commit:
540caa5873bcc3bc2a0e1896119f5b53a0e8e630
- From:
- Russ Cox <rsc@swtch.com>
- Date:
lib9: remove getcallerpc implementations
These make no sense and are not really needed at all.
Add a best-effort attempt to get at the gcc/clang macro
in lib9.h, but if it fails, no big deal.
Fixes #324.
- Commit:
2897735523dd05a4ef21d25d3d99fa7fa0b24b44
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libmach: plug another memory leak
Change-Id: Ia5c888db1f0ded2aa92238d994239e46bf52667a
- Commit:
2c97de1a26686adf2a6377bc4ef18d1aec6a1f3a
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
libmach: plug memory leak
Change-Id: I08cb7227c071c7fc2e30f43e07bcf599fc1d174a
- Commit:
a4e59b37021326e304c311825ba52a52b02bd9c0
- From:
- Fazlul Shahriar <fshahriar@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
9term: add a "look" menu item (#299)
Add a menu item which functions similar to acme's `Look` command.
This is copied from 9front. See:
https://code.9front.org/hg/plan9front/rev/1f1596dbca51
https://code.9front.org/hg/plan9front/rev/d2de1d2f7b48
- Commit:
cf6b778799edf4ebc2331d12707e66e7d38331ea
- From:
- Leonid Bobrov <goleo@disroot.org>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
INSTALL, 9c, 9l: improve handling of *BSD (#302)
- Commit:
6f5bd96ed836ad26b9c4ab6ad9ecc81e28622736
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- Dan Cross <crossd@gmail.com>
- Date:
all: sync and dedup the creation of the SYSNAME and OBJTYPE env vars (#321)
This should prevent the issues of dist/buildmk and src/mkhdr getting out
of synchronization yet again.
I also add a rule for arm64 to the OBJTYPE sed command.
Fixes #243
Fixes #320
Change-Id: I60f69a1f32b5ed5ae5ac8a1659c38e29debed005
- Commit:
f264bbcdf6da8ea784cf1342b9583d34944fef0c
- From:
- Russ Cox <rsc@swtch.com>
- Date:
acme(1): update man page to note -a trimming trailing spaces on Put
- Commit:
d9057521e665e1564e38b93ae1fafb53c81cb5d1
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
cmd/htmlroff: fix buffer overflow in t2.c getqarg
This is actually from 2016:
https://plan9port-review.googlesource.com/c/plan9/+/1590
Change-Id: I6f2a3d71a9dd589eff7ab15b3c1d3997254b3c35
- Commit:
8cd46ae7bc031f311c833ad32445f5cde1916f99
- From:
- Neven Sajko <nsajko@gmail.com>
- Via:
- David du Colombier <0intro@gmail.com>
- Date:
ls: check that pointer is not nil before calling qsort
Passing a null pointer to qsort is an error in C (GCC and Clang agree
with the standards there, so this is no joke).
Change-Id: Ia2b015793a75ea4e85ae8f47da6beead9c4290e6