George Koehler
bec236c108
Include more headers to declare functions.
...
This causes clang to give fewer warnings of implicit declarations of
functions.
In mach/pdp/cv/cv.c, rename wr_int2() to cv_int2() because it
conflicts with wr_int2() in <object.h>.
In util/ack, rename F_OK to F_TRANSFORM because it conflicts with F_OK
for access() in <unistd.h>.
2019-03-22 15:59:35 -04:00
carl
8b525f59c3
+ ANSI C conversion
2019-03-17 22:46:32 +08:00
carl
3ac4504a5a
+ ANSI C conversion
2019-03-17 22:46:32 +08:00
carl
5a18b85b3f
+ ANSI C conversion
2019-03-17 22:46:32 +08:00
David Given
813595358c
More common symbol removal.
2019-02-10 14:09:52 +01:00
David Given
58698bed19
Removed a whole bunch of old strcpy() prototypes in favour of <string.h>.
2019-02-10 13:20:04 +01:00
George Koehler
df855248a0
Move int to $(INSDIR)/bin/int
...
If $(INSDIR)/bin is in PATH, then the user can run both ack(1) and
int(1), like
$ ack -mem22 -o prog prog.c
$ int prog
2018-11-05 15:14:29 -05:00
David Given
5f83fd85dc
Don't try to use acct() on cygwin (which doesn't support it). Fixes : #111
2018-09-01 10:41:31 +02:00
George Koehler
a000c62808
Get moncalls.c to compile on OpenBSD.
...
Remove some declarations (not all correct) and #include <errno.h>,
<time.h>, and <unistd.h> to get the correct declarations.
Disable mount(2), umount(2), and stime(2) because BSD (around
4.3BSD-Reno) lost compatibility with these Unix v7 functions.
2018-06-10 19:05:42 -04:00
David Given
e7124f3e3f
File cleanup.
2018-06-09 21:21:28 +09:00
David Given
59b383afd0
Make the em interpreter build --- again, lots of warnings, so it probably won't
...
work on clang. I have no idea whether it runs or not as building a e.out
program is quite hard and needs a special platform.
2018-06-09 21:13:31 +09:00
David Given
d1cbb9cf60
Crudely bounds check some naked fscanf("%s") parsing. Fixes #79 , mostly.
2018-06-02 20:51:41 +02:00
David Given
f67c98e239
Distributions are a pain --- let's not bother any more. Instead, we just tag
...
the repository and download a complete snapshot, old and ancient stuff and all.
2016-09-02 23:00:38 +02:00
George Koehler
7ef9b79c11
Merge deletion of many undead files.
2012-09-23 15:31:16 -04:00
George Koehler
0131ca4d46
Delete 689 undead files.
...
These files "magically reappeared" after the conversion from CVS to
Mercurial. The old CVS repository deleted these files but did not
record *when* it deleted these files. The conversion resurrected these
files because they have no history of deletion. These files were
probably deleted before year 1995. The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted. There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032
2012-09-20 22:26:32 -04:00
Ceriel Jacobs
2483e5723d
Fixed CFU
2011-06-15 10:56:58 +02:00
dtrg
f2046954e6
Cleaned up the struct sgtty workaround and made it more generic.
2005-06-24 22:11:27 +00:00
dtrg
70ef6fe52e
Applied interim patches to make the interpreter compile on Linux. (Linux doesn't support struct sgtty; all this code should probably be rewritten to use termios instead, if I've understood it correctly.)
2005-06-24 21:42:11 +00:00
ceriel
c3855160fb
use stdarg when compiling with ANSI C compiler
1995-08-17 14:36:05 +00:00
ceriel
5c83e7dbb5
Header --> Id
1994-06-24 11:31:16 +00:00
ceriel
67c750a70c
Improved CSA some more
1993-11-24 12:39:19 +00:00
ceriel
cc61337a9f
signal, second arg is void function
1993-11-16 12:03:22 +00:00
ceriel
8c849f20f7
Fix: CSA was not quite right
1993-11-10 13:00:01 +00:00
ceriel
8ab530baef
Fixed bug in UCFLAGS
1992-07-13 10:28:08 +00:00
ceriel
d58d691472
Fixed V7 and SYS_V utime problem
1992-07-10 15:22:01 +00:00
ceriel
45d0d9f68f
Removed # in commands
1992-06-26 12:54:57 +00:00
ceriel
646bd0e51f
small fix for compatibility with different make's
1992-01-22 11:25:52 +00:00
ceriel
168634cd0b
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:49:18 +00:00
ceriel
df1ed9426d
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:28:58 +00:00
ceriel
b0e631d402
Fixed comment
1991-12-12 13:01:00 +00:00
ceriel
a93813c1f6
Made acceptable for our ANSI C compiler
1991-12-03 11:03:58 +00:00
ceriel
2b6f5b9b8d
Avoid use of 'you'
1991-11-22 13:18:57 +00:00
ceriel
4e99d889ff
Changed manual page installation mechanism
1991-11-05 15:31:14 +00:00
ceriel
49a64df069
do not depend on sys/wait.h, it does not always exist
1991-10-25 11:18:29 +00:00
ceriel
0c8514a9ed
NSIG is not always defined
1991-10-22 09:07:31 +00:00
ceriel
33ec8e07ed
improved installation mechanism
1991-10-14 09:38:04 +00:00
ceriel
a28c551213
ip_spec.h is moved
1991-10-01 17:37:21 +00:00
ceriel
7551b8e83a
Changes to manual page
1991-10-01 12:18:39 +00:00
ceriel
717cfbd921
improved test entries
1991-09-18 19:39:02 +00:00
ceriel
c2bcab0685
Fixed proto.make
1991-09-16 11:09:10 +00:00
ceriel
9e2e9cc6f7
Fixed
1991-09-16 09:38:58 +00:00
ceriel
e7856a2204
New installation mechanism
1991-08-27 09:41:49 +00:00
ceriel
53b7af7a80
New installation mechanism
1991-08-27 09:20:30 +00:00
ceriel
5ca5519c75
Added .distr file
1991-08-21 15:28:46 +00:00
ceriel
42afe4e24e
Added .distr file
1991-08-21 15:19:39 +00:00
ceriel
4355b05597
Model 3 (Intelligent Calls) implemented (Remco Feenstra & Peter Boersma);
...
a few bugs fixed
1990-06-21 12:16:31 +00:00
ceriel
c7c79e9b42
Model 3 (intelligent calls) implemented
1990-06-21 12:11:50 +00:00
ceriel
f994b0bf84
Fixed MON instruction: getpid() was wrong
1990-01-31 10:54:26 +00:00
ceriel
4de10af212
Fixed check in COM
1990-01-26 17:12:23 +00:00
ceriel
c4c1e6191b
Fixed SIG
1990-01-26 16:43:29 +00:00