carl
08b9482ac7
Merge remote-tracking branch 'upstream/default' into default
...
Conflicts:
util/arch/archiver.c
2019-06-15 23:53:35 +08:00
carl
f9916fb680
Fix call to fwrite with proper parameters.
2019-05-11 01:12:48 +08:00
carl
415ec163a7
Fix tabs.
2019-03-26 00:58:36 +08:00
carl
97cb247b39
Merge remote-tracking branch 'upstream/default' into default
...
# Conflicts:
# util/arch/archiver.c
2019-03-25 00:04:41 +08:00
carl
a58ad2bc31
* Adapt to more ANSI C
2019-03-24 23:36:52 +08:00
carl
56e64a1fd0
Merge remote-tracking branch 'upstream/default' into carl-ansi-part1
...
# Conflicts:
# util/arch/archiver.c
# util/led/finish.c
# util/led/output.c
2019-03-24 21:42:56 +08:00
carl
9b6e1774ea
ANSI C version
...
More portability fixes.
2019-03-24 17:37:49 +08:00
carl
53fa893738
ANSI C version
...
More portability fixes.
2019-03-24 17:11:56 +08:00
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
David Given
64f2fa9d46
Stop using mktemp() --- on Haiku, it always generates the same filenames,
...
pretty much guaranteeing temporary file overwrites on parallel builds. Use
mkstemp() instead which creates the files atomically.
2017-08-06 13:22:05 +02:00
David Given
789f79b369
Ansification, warning fixes, C89ification.
2017-08-06 12:42:17 +02:00
David Given
fd91851005
Add enough return types to the K&R C that the ACK builds (on Linux) using clang
...
now.
2016-11-10 22:04:18 +01:00
dtrg
f6085fb234
Updated use of headers to compile cleanly.
2007-04-24 19:33:53 +00:00
dtrg
34ae7c4634
Removed duplicate (and incorrect) system function declarations.
2006-07-21 11:17:18 +00:00
dtrg
4c0a0e6119
Rationalised use of #includes to be more standards-compliant.
2006-07-18 17:10:29 +00:00
ceriel
3883860106
Added Posix names
1995-06-28 09:46:39 +00:00
ceriel
33da68f7e2
made statbuf static, so that is is zero when not initialized
1994-11-14 12:34:50 +00:00
ceriel
5c83e7dbb5
Header --> Id
1994-06-24 11:31:16 +00:00
ceriel
a4a2ae8f96
catch is a signal arg, and should be void catch()
1993-11-12 16:57:15 +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
2c400f6a44
Added u flag
1991-08-27 09:44:53 +00:00
ceriel
9461e91a9b
Patched in D option (feature from Johan)
1991-06-20 14:22:37 +00:00
ceriel
5c3b708636
Both aal and arch can read each others archives
1991-03-20 12:45:58 +00:00
eck
28d6834ae7
forgot )
1990-03-21 14:46:18 +00:00
eck
df33f1eeff
adapted directory test for POSIX
1990-03-21 11:13:21 +00:00
eck
a771c9aa30
added test for directory
1990-03-06 13:10:35 +00:00
ceriel
e59812782e
changed creat mode to 0666
1989-12-19 16:44:57 +00:00
ceriel
87c1bc774b
fix to fix
1989-03-30 15:14:37 +00:00
ceriel
6ac4bb17aa
check arguments better
1989-03-29 14:58:42 +00:00
ceriel
df4c1c8174
some minor fixes
1988-07-12 20:16:13 +00:00
ceriel
75345fa915
make a little more robust
1988-04-12 19:34:38 +00:00
ceriel
252d0e0667
minor fix
1988-04-11 09:55:13 +00:00
ceriel
3ea0fc0fe6
deleted some unused variables
1987-09-03 09:32:21 +00:00
ceriel
469b3cc1e1
a fix: UID and GID were sign-extended
1987-08-24 09:13:31 +00:00
ceriel
3de7f959d3
fix to fix
1987-08-10 14:06:37 +00:00
ceriel
7d2f8e4d3e
dynamic table sizes, commons in ranlib table
1987-08-10 10:20:52 +00:00
ceriel
3ce2cee0a5
Added a break, so that an error message is only given once
1987-08-03 18:00:22 +00:00
ceriel
312fe96bbd
lseek was not declared
1987-05-25 17:45:57 +00:00
ceriel
02ae5e4d7c
bug fix, and made more robust
1987-05-21 13:43:56 +00:00
ceriel
3f566164c2
Bug fixed that prevented "aal x" from working properly
1987-03-12 17:16:04 +00:00
ceriel
815166e421
Added copyright notice
1987-03-09 19:15:41 +00:00
ceriel
a410519ff5
Bug fix
...
Under the '-x' option, the archive was opened in "APPEND" mode.
1987-01-20 09:53:32 +00:00
ceriel
0efc7ae07d
Added 'c'-flag
1987-01-19 09:36:35 +00:00
ceriel
3c7511780b
Initial revision
1987-01-12 17:21:59 +00:00