| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Really trivial port.
Change-Id: Ib2e3ad48df555ca4bd9339ddf79a832be895bd95
Reviewed-on: https://plan9port-review.googlesource.com/1030
Reviewed-by: Russ Cox <rsc@google.com>
|
| |
|
|
|
|
| |
Change-Id: I0af67bc44c7bb62a8e5a47eac597367f521f1c11
Reviewed-on: https://plan9port-review.googlesource.com/1210
Reviewed-by: Russ Cox <rsc@google.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc compiles `p + length < p' into 'length < 0' since pointer overflow is undefined behavior in C. This breaks the check against a large `length'.
Use `length > pend - p' instead.
There's no need to check `length < 0' since `length' is from length_decode() and should be non-negative.
===
Try the simplified code.
void bar(void);
void foo(unsigned char *p, int length)
{
if (p + length < p)
bar();
}
$ gcc -S -o - t.c -O2
...
foo:
.LFB0:
.cfi_startproc
testl %esi, %esi
js .L4
rep
ret
.L4:
jmp bar
.cfi_endproc
Clearly `p' is not used at all.
R=rsc
CC=plan9port.codebot
https://codereview.appspot.com/7231069
|
| |
|
|
|
| |
R=rsc
http://codereview.appspot.com/6744054
|
| | |
|
| |
|
|
|
|
|
|
| |
Get p9p to build cleanly for ARM - based on suggestions from rsc and eekee, plus a final tweak from me. Tested (a bit) on sheevaplug (ubuntu jaunty), Nokia N800 (maemo 4) and Nokia N900 (maemo 5).
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4524056
|
| |
|
|
|
| |
R=rsc, rsc
http://codereview.appspot.com/4271084
|
| |
|
|
|
| |
R=rsc
http://codereview.appspot.com/462041
|
| |
|
|
|
| |
R=rsc
http://codereview.appspot.com/464041
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
little bugs
.
wq
VS: ----------------------------------------------------------------------
|
| | |
|
| | |
|
| |
|
|
|
| |
Be less verbose when allocating uprocs.
Don't drop core dump turds all over the place when x11 goes away.
|
| | |
|
| |
|
|
| |
i bet mk can't read the mac os or sun os archives.
|
| |
|
|
| |
use current variable names.
|
| | |
|
| | |
|
| |
|
|
| |
Thanks to Brendan Connell for putting up with this nonsense.
|
| |
|
|
|
| |
don't set PLAN9
don't set PLAN9
|
| | |
|
| | |
|
| |
|
|
| |
Lots of new code imported.
|
| | |
|
| | |
|
| |
|