aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* initHEADmasterEthan Morgan38 hours32-33/+33
|
* man: remove -s from usage messageAnthony Sorace2025-09-231-1/+1
|
* B: Print usage message to stderrJordan Niethe2025-09-061-1/+1
| | | | | | | B's usage message redirects its stderr to stdout instead of vice versa. Fix this. Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
* SunOS: silence some warningsDan Cross2025-07-251-1/+1
| | | | | | Give `-Wformat=0` on illumos/Solaris so that the build does not complain about `execlp` not having a sentinel (it's nil). Also fix an integer size issue when casting to a void pointer.
* all: remove need for `-fcommon`Dan Cross2025-07-251-2/+2
| | | | | | | | | | Use `extern` where appropriate so that we can remove `-fcommon` on macOS and others. On macOS, `-fcommon` generates a number of linker warnings. I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD and illumos. I am not in a position to test on AIX or other more esoteric platforms, however.
* config: add $egrepDan Cross2025-07-232-4/+5
| | | | | | | | | | | Introduce a new variable set in $PLAN9/config: $egrep, which is conditionally set to either `egrep` or `grep -E`, based on platform, and use this when we want to invoke `egrep`. This works around the endless warnings from GNU grep stating that `egrep` is deprecated in favor of `grep -E`, when run on e.g. Linux.
* 9c: change -std=c17 to -stc=c11 based on feedback in \#716erentar2025-07-221-1/+1
|
* 9c: Explicitly set c standard as newer changes in c23 break compilationerentar2025-07-221-0/+1
|
* 9c: "-Wdeprecated-pragma" is only present in clang and is absent from gccerentar2025-07-221-1/+0
|
* man: don't paginate when using nroffAnthony Sorace2025-01-291-5/+6
| | | | | | This tells bin/man to set the register L to very high to avoid pagination and updates tmac/tmac.an to use that value, if it's set, to set the page length. This is per Plan 9's rc/bin/man and sys/lib/tmac/tmac.an.
* all: quiet macOS build againRuss Cox2024-06-151-0/+5
|
* Remove redundant echoKevin Hovsäter2024-05-311-1/+0
|
* 9l: silence the 'ignoring duplicate libraries' warning on macOSIgor Burago2023-12-181-0/+2
|
* 9l: refactor the warning-silencing mechanics to match that of 9cIgor Burago2023-12-182-21/+26
|
* web: fix plumbing with Firefoxmmnmnnmnmm2022-09-061-1/+1
| | | | | | | Default builds of Firefox remove the previous X remote interface, now causing the use of -remote to silently exit and do nothing. https://hg.mozilla.org/mozilla-central/rev/ef22d8cbf4ef
* 9l: without arguments, exit instead of failing to link nothingmmnmnnmnmm2022-08-181-0/+2
| | | | | Found in Arch Linux but never reported upstream: https://bugs.archlinux.org/task/55640
* bin/9c, bin/9l: Re-enable optimization on AIX.Ben Huntsman2021-08-302-3/+3
|
* mount: find kext with MacFUSE >=4 and macOS >=11Connor Taffe2021-01-311-0/+3
|
* 9c: drop PLAN9PORT_ASANRuss Cox2020-12-301-9/+0
| | | | It is no longer special.
* all: remove $OBJTYPE from buildRuss Cox2020-12-303-42/+5
| | | | | | | Now that we assume pthreads, the only assembly left is in libmp and libsec. We only ever added assembly for 386. The portable C code is fine for plan9port.
* wintext: use rc not bashRuss Cox2020-12-301-14/+9
|
* 9c: use -fcommon for clangRuss Cox2020-12-301-0/+1
| | | | Fixes #469.
* 9c, 9l: updates for macOS arm64.Anthony Sorace2020-09-272-0/+7
|
* osxvers: use swvers -productVersion to skip one awk callRuss Cox2020-05-301-1/+1
| | | | Fixes #406. Suggested by nms42.
* 9c: fix tabRuss Cox2020-05-181-1/+1
|
* 9l: xlc_r automatically adds -lpthread.Ben Huntsman2020-05-181-1/+0
|
* 9c, 9l: accept CC9FLAGS from configRuss Cox2020-05-172-18/+30
| | | | | | | | | | Also, if CC9FLAGS includes -fsanitize=address (ASAN), predefine PLAN9PORT_ASAN for use by programs that need to know (mainly libthread). The 9c script used to have a variable called ngflags, which was ccflags except -g (ng stood for "no g"), but nothing needs it split out anymore, so simplify to just ccflags.
* all: update build scripts to fix AIX XL/C compatibilityBen Huntsman2020-05-072-7/+25
|
* 9c: added explicit -fcommon to gcc defaults.sean2020-04-301-0/+1
| | | | | | | Version 10 of gcc enforces -fno-common which breaks a lot of things. This fix reverts to the pre-10 behaviour. The real fix is to clean up stray redefinitions which should be declarations.
* all: remove Linux 2.4 vs 2.6 detectionRuss Cox2020-01-192-22/+9
| | | | | Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.)
* 9fs: remove tip (dead?), redirect sources to 9p.ioDan Cross2020-01-161-3/+1
| | | | | | Fixes #195. Signed-off-by: Dan Cross <cross@gajendra.net>
* soelim: import from Plan9sean2020-01-151-0/+16
| | | | | Add entry in lib/moveplan9.files to trigger relocation during INSTALL.
* wintext: add tmux support, use in ", ""Russ Cox2020-01-133-12/+9
| | | | Fixes #223.
* all: fix or silence various gcc warningsRuss Cox2020-01-121-0/+4
| | | | | As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise.
* 9c: Fix case patterns for DragonFly and other BSDsMartin Kühl2020-01-071-2/+2
| | | | | | | | | | | | | 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)
* INSTALL, 9c, 9l: improve handling of *BSD (#302)Leonid Bobrov2020-01-072-16/+2
|
* 9c, 9l: use $TMPDIR if available (#272)Jason Felice2019-11-112-2/+2
| | | | NixOS sandboxed builds (at least on Mac) don't have access to /tmp, and this should be better POSIX.
* Teach 9l about FreeBSD ≥ 12; address issue #247. (#249)Francis Conti2019-09-191-1/+1
|
* 9l: support Linux version 5.0+ (#274)Günther Noack2019-09-191-1/+1
| | | Update 9l to support Linux 5.x.
* web: allow any $BROWSERRuss Cox2018-11-141-1/+1
| | | | Fixes #118.
* 9l: drop xcode text-based stub warningRuss Cox2018-11-121-1/+1
|
* mount, 9pfuse: detect macports installed osxfuseXiao-Yong Jin2018-03-271-0/+1
| | | | MacPorts installs osxfuse under /opt/local.
* mount: check current osxfuse kext locationMartin Kühl2018-03-231-0/+2
| | | | | | | | | | | | | Current versions of osxfuse ship with multiple versions of its kernel extension (kext) for differend versions of macOS. Running mount(1) on macOS with a current version of osxfuse fails with `don't know how to mount (no fuse)' since it fails to find the kext. Running 9pfuse(4) directly works fine. This change adds a check to mount(1) that determines: 1) which version of macOS we're running on 2) if there is an osxfuse kext available for this version of macOS
* web: *chrome* matches google-chromeGleydson Soares2017-10-161-1/+1
|
* 9l: accept Linux kernel version 4.xkeks2017-10-131-1/+1
| | | | Fixes #114.
* web: add Chromium support on FreeBSDDavid du Colombier2017-10-011-1/+1
| | | | | | On FreeBSD, the Chromium executable is called chrome. Fixes #108.
* 9l: support FreeBSD 10 and 11 (thanks Ori Bernstein)David du Colombier2017-09-141-1/+1
|
* all: remove .cvsignore filesKare Nuorteva2017-09-148-281/+0
| | | | | | | | | | Rename following .cvsignore files to .gitkeep since they are required by the build (directories must exist before build): - bin/fossil/.gitkeep - bin/fs/.gitkeep - bin/venti/.gitkeep Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
* codereview: delete, now using GitHub pull requestsRuss Cox2017-09-011-147/+0
|
* codereview.py: removeRuss Cox2017-07-161-1448/+0
| | | | | | Change-Id: Ie548b7f45f4b3aa9897bcba19d343cff2dd5afd4 Reviewed-on: https://plan9port-review.googlesource.com/2961 Reviewed-by: Russ Cox <rsc@swtch.com>