diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-22 08:24:19 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-06-22 08:24:19 +0000 |
commit | 6b787b91fc0797ed15597e469b619422097a60bb (patch) | |
tree | a1b95711a4085320a1bc7b8bb0ee0183fb21ec47 /shells/v7sh/files/patch-setbrk.c | |
parent | - Fix runtime on nvidia driver (diff) |
Add v7sh, the original Steve R. Bourne shell from the 7th edition Unix including
System III, 4.3BSD-Reno, Ultrix 3.1 and `home made'' fixes and enhancements
PR: ports/68127
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Notes
Notes:
svn path=/head/; revision=111975
Diffstat (limited to 'shells/v7sh/files/patch-setbrk.c')
-rw-r--r-- | shells/v7sh/files/patch-setbrk.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/v7sh/files/patch-setbrk.c b/shells/v7sh/files/patch-setbrk.c new file mode 100644 index 000000000000..e3cffed4bd67 --- /dev/null +++ b/shells/v7sh/files/patch-setbrk.c @@ -0,0 +1,16 @@ +diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ setbrk.c.orig setbrk.c +--- setbrk.c.orig Fri Jun 4 02:51:02 2004 ++++ setbrk.c Sat Jun 19 18:42:24 2004 +@@ -9,9 +9,10 @@ + + #include "defs.h" + +-setbrk(incr) ++BYTPTR setbrk(incr) ++ INT incr; + { +- REG BYTPTR a=sbrk(incr); ++ REG BYTPTR a=(BYTPTR) sbrk(incr); + brkend=a+incr; + return(a); + } |