diff options
author | asami <asami@FreeBSD.org> | 1995-08-14 12:08:02 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-08-14 12:08:02 +0800 |
commit | 492951fad01bca530b12060a8fdb5ca3447569ac (patch) | |
tree | c756985edb4d7bd1e350d605dbc1f2aabb495734 /shells/es/files | |
parent | 388294ef462d6a7de135800a9be3c1bac3a2834f (diff) | |
download | freebsd-ports-gnome-492951fad01bca530b12060a8fdb5ca3447569ac.tar.gz freebsd-ports-gnome-492951fad01bca530b12060a8fdb5ca3447569ac.tar.zst freebsd-ports-gnome-492951fad01bca530b12060a8fdb5ca3447569ac.zip |
Various plan9 utilities. It's such a complete collection, I'm going
to import it all at once!
Submitted by: Eric L. Hernes <erich@lodgenet.com>
Diffstat (limited to 'shells/es/files')
-rw-r--r-- | shells/es/files/patch-aa | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/shells/es/files/patch-aa b/shells/es/files/patch-aa new file mode 100644 index 000000000000..f491e82fb15f --- /dev/null +++ b/shells/es/files/patch-aa @@ -0,0 +1,88 @@ +*** Makefile.orig Tue May 30 06:14:14 1995 +--- Makefile Fri Aug 11 16:02:11 1995 +*************** +*** 33,40 **** + SHELL = /bin/sh + CC = cc + #CC = gcc +! CFLAGS = -g +! #CFLAGS = -g -O -Wall + LDFLAGS = + LIBS = + +--- 33,40 ---- + SHELL = /bin/sh + CC = cc + #CC = gcc +! #CFLAGS = -g +! CFLAGS = -O2 + LDFLAGS = + LIBS = + +*************** +*** 52,57 **** +--- 52,66 ---- + tree.o util.o var.o vec.o version.o y.tab.o + OTHER = Makefile parse.y mksignal + GEN = esdump y.tab.c y.tab.h y.output token.h sigmsgs.c initial.c ++ ++ all: es ++ ++ install: ++ $(INSTALL) -c es $(PREFIX)/bin ++ $(INSTALL) -c esdebug $(PREFIX)/bin/esdebug ++ $(INSTALL) -c es.1 $(PREFIX)/man/man1 ++ strip $(PREFIX)/bin/es ++ gzip -9nf $(PREFIX)/man/man1/es.1 + + es : ${OFILES} initial.o + ${CC} -o es ${LDFLAGS} ${OFILES} initial.o ${LIBS} +*** esdebug~ Mon Jul 31 13:54:29 1995 +--- esdebug Mon Jul 31 13:54:45 1995 +*************** +*** 1,4 **** +! #! /bin/es -p + # esdebug: a debugger for es scripts ($Revision: 1.4 $) + + # TODO +--- 1,4 ---- +! #!/usr/local/bin/es -p + # esdebug: a debugger for es scripts ($Revision: 1.4 $) + + # TODO +*** prim-sys.c~ Mon Jul 31 16:20:31 1995 +--- prim-sys.c Mon Jul 31 16:21:25 1995 +*************** +*** 194,200 **** + + static void printlimit(const Limit *limit, Boolean hard) { + struct rlimit rlim; +! long lim; + getrlimit(limit->flag, &rlim); + if (hard) + lim = rlim.rlim_max; +--- 194,200 ---- + + static void printlimit(const Limit *limit, Boolean hard) { + struct rlimit rlim; +! u_quad_t lim; + getrlimit(limit->flag, &rlim); + if (hard) + lim = rlim.rlim_max; +*************** +*** 213,219 **** + } + } + +! static long parselimit(const Limit *limit, char *s) { + long lim; + char *t; + const Suffix *suf = limit->suffix; +--- 213,219 ---- + } + } + +! static u_quad_t parselimit(const Limit *limit, char *s) { + long lim; + char *t; + const Suffix *suf = limit->suffix; |