Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes #406. Suggested by nms42.
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
|
|
Fixes #195.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Add entry in lib/moveplan9.files to trigger
relocation during INSTALL.
|
|
Fixes #223.
|
|
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
|
|
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)
|
|
|
|
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
|
|
|
|
Update 9l to support Linux 5.x.
|
|
Fixes #118.
|
|
|
|
MacPorts installs osxfuse under /opt/local.
|
|
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
|
|
|
|
Fixes #114.
|
|
On FreeBSD, the Chromium executable is called chrome.
Fixes #108.
|
|
|
|
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
|
|
|
|
Change-Id: Ie548b7f45f4b3aa9897bcba19d343cff2dd5afd4
Reviewed-on: https://plan9port-review.googlesource.com/2961
Reviewed-by: Russ Cox <rsc@swtch.com>
|
|
Should be a clean build now.
Change-Id: Id3460371cb5e8d4071f8faa9c2aec870d213a067
Reviewed-on: https://plan9port-review.googlesource.com/2781
Reviewed-by: Russ Cox <rsc@swtch.com>
|
|
Change-Id: I7585870aee57c7482ebdd19c117be7982123ce79
Reviewed-on: https://plan9port-review.googlesource.com/1130
Reviewed-by: Russ Cox <rsc@google.com>
|
|
Change-Id: Ib80b19cf69a15860315b2d7a38baf3b05d693acc
|
|
also update README.md for github
Change-Id: I7d578a902ffed7f6d69780721e29a1972b6f6992
|
|
Change-Id: Ifd9fda05e15c9e1e106ffd4e30e1dafe8423cdf4
|
|
- rewrite .gitignore to use git patterns
- mv hg(1) to git(1) and rewrite
- add lib/git/commit-msg.hook
- add skeleton codereview script
- update codereview(1)
Change-Id: I061cd8e4de77ebbd6037a7c5d1582cd1d986f62f
|
|
fixed warnings:
src/cmd/fossil/disk.c:37:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:38:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:39:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:40:13: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/cmd/fossil/disk.c:41:14: warning: use of GNU 'missing =' extension in designator [-Wgnu-designator]
src/libndb/ndbreorder.c:41:55: warning: for loop has empty body [-Wempty-body]
ignored warnings:
src/cmd/acid/dbg.y:393:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/bc.y:1327:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/grep/grep.y:420:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/hoc/hoc.y:692:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/lex/parser.y:886:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/rc/syn.y:303:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/cmd/units.y:1003:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
src/libregexp/regcomp.c:19:16: warning: variable 'reprog' is not needed and will not be emitted [-Wunneeded-internal-declaration]
LGTM=rsc
R=rsc
https://codereview.appspot.com/158250043
|
|
LGTM=rsc
R=rsc
https://codereview.appspot.com/136520044
|
|
LGTM=rsc
R=rsc
CC=plan9port-dev
https://codereview.appspot.com/115100043
|
|
They'll be copied back during installation
but then hg doesn't have to create those files
on systems that have trouble with them.
TBR=rsc
https://codereview.appspot.com/105800043
|
|
Fix compilation problems, libdraw still doesn't work right yet.
LGTM=rsc
R=rsc
https://codereview.appspot.com/67820046
|
|
R=rsc
https://codereview.appspot.com/13984043
|
|
R=rsc
http://codereview.appspot.com/6744055
|
|
R=rsc
http://codereview.appspot.com/6741053
|
|
R=rsc
http://codereview.appspot.com/6750046
|
|
R=rsc
http://codereview.appspot.com/6737052
|
|
The v9fs usage is documented on
https://www.kernel.org/doc/Documentation/filesystems/9p.txt
R=rsc
http://codereview.appspot.com/6445072
|
|
R=rsc, rsc
http://codereview.appspot.com/6405057
|
|
R=rsc
http://codereview.appspot.com/6402049
|
|
R=rsc
http://codereview.appspot.com/6395047
|
|
R=rsc
http://codereview.appspot.com/6258060
|
|
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5015042
|
|
R=rsc
http://codereview.appspot.com/4863043
|