1506 Commits

Author SHA1 Message Date
George Koehler
c8ebe9995a Prevent segfault when trying to print an error message.
Use <stdarg.h> to pass arguments correctly, as ack/util/util.c
already uses <stdarg.h> the same way.
2012-10-24 13:44:50 -04:00
David Given
d17d9e31a7 Change from using platform-specific types to stdint platform-independent types
when reading the structure header.
2012-09-27 11:32:40 +01:00
George Koehler
c40034452e Merge deletion of many undead files. 2012-09-23 15:31:16 -04:00
George Koehler
2dbbacfad9 Prevent division by zero in aslod.
rhead() and rsect() had assumed sizeof(long) == 4, but OpenBSD/amd64
has sizeof(long) == 8.  The problem revealed itself when sect->os_lign
became zero, and align() divided by zero.
2012-09-21 22:51:12 -04:00
George Koehler
e87791b38a 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
George Koehler
0f8745dc8d Fix more functions in util/ack for 64-bit hosts.
This continues the fix from changeset aabde0589450.  We must use
va_list to forward the arguments, because some of the arguments might
be 64-bit pointers.  A pointer does not fit in an int.
2012-09-07 16:28:10 -04:00
David Given
f07a93357c Fix a 64-bitness issue (removed some untyped K&R C code that assumed ints
and pointers were the same size).
2012-02-27 22:36:36 +00:00
Ceriel Jacobs
b9c194b210 Added atol() that ignores overflow, so that unsigned long constants are dealt with properly 2011-06-15 11:13:48 +02:00
Ceriel Jacobs
ff34b6bce7 Fixed CFU 2011-06-15 10:56:58 +02:00
cjhjacobs
67cda9e22f Fixed bug reported on tack-devel mailing list on 20-3-2011 2011-05-18 19:19:19 +02:00
David Given
cc4e74077c Removed file that the CVS conversion procedure left in (when it shouldn't have). 2011-03-20 20:47:10 +00:00
dtrg
8efccf82c7 Remove references to using-machine-name-for-compiler, as we don't do that any more. 2010-08-09 22:47:33 +00:00
dtrg
bbdd256739 Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for). 2010-08-01 10:36:01 +00:00
dtrg
8256a10133 Renamed 'switch' variable to avoid conflict with a keyword in modern awks. 2010-08-01 10:35:04 +00:00
dtrg
20f09f610e Renamed getline() to getln() to avoid conflict with glibc's version. 2010-08-01 10:34:27 +00:00
dtrg
a1c93cbbe6 Now runs descr files through the ANSI C preprocessor, rather than the K&R one (which no longer exists). 2007-04-29 21:23:55 +00:00
dtrg
e02179a9fe Updated for the 6.0pre2 release. 2007-04-24 20:45:58 +00:00
dtrg
4839ce3ec6 Updated use of headers to compile cleanly. 2007-04-24 19:33:53 +00:00
dtrg
2b16e9f8dc Modified to run ncgg input files through the ANSI preprocessor rather than the K&R one. 2007-04-23 23:40:59 +00:00
dtrg
87ad9a6852 Added the aelflod tool for generating ELF executables. Added documentation for aelflod and ashow. Now installs the documentation when built. 2007-04-23 23:40:10 +00:00
dtrg
a5c9e8b09c Renamed the language libraries and runtimes to have more
conventional names.
2007-02-26 22:36:56 +00:00
cvs2hg
fd5b9e1450 fixup commit for tag 'release-6-0-pre-1' 2007-02-25 22:49:23 +00:00
dtrg
173ca7d5d7 Removed a dynamically generated file from the distribution. 2007-02-25 22:49:22 +00:00
dtrg
f07522680d Removed some explicit (and wrong) redeclarations of system
functions.
2007-02-25 20:58:16 +00:00
dtrg
c5e7c60c76 Updated .distr files for the new release. 2007-02-25 12:51:55 +00:00
dtrg
19df20b027 em_table is now in /h, not /etc. 2007-02-25 12:51:21 +00:00
dtrg
aacc645329 new_table is now in /util/data, not /etc. 2007-02-25 12:49:04 +00:00
dtrg
b48e18fbd9 Now installs the man page. 2007-02-25 12:48:06 +00:00
dtrg
6a00063b18 Remove non-standard .SB tags. 2007-02-25 12:47:50 +00:00
dtrg
2ec25a4f86 Added pregenerated versions of the LLgen source files (to ease
bootstrapping issues).
2007-02-24 02:01:57 +00:00
dtrg
7ce42ea371 Fixed a compilation error that was causing opt to not have its
peephole optimisation tables, which would make it generate
duff code.
2007-02-20 00:27:01 +00:00
dtrg
8be57751c3 Fixed a bug in the maximum segment calculation. 2006-11-11 23:00:55 +00:00
dtrg
01e7d0c56d Added a pmfile to allow LLgen to be built as part of the ACK again. 2006-11-11 22:58:30 +00:00
dtrg
eba0b5023e Added support for anm, asize, ashow, astrip and the new aslod tool. 2006-10-16 23:25:56 +00:00
dtrg
d228deb16d Added new aslod tool for making memory dumps. 2006-10-16 23:25:27 +00:00
dtrg
4659f40b18 Sanitised the use of #include files to more properly conform to the standards. 2006-10-16 23:20:11 +00:00
dtrg
8601c6c5bf Updated to the version 0.1 of Prime Mover (which involves some syntax changes). 2006-10-15 00:28:12 +00:00
dtrg
696b04e5ae Modified to install aal's manpage. 2006-07-30 23:45:35 +00:00
dtrg
8bcd8ede76 Rationalised use of #includes to be more standards-compliant. 2006-07-30 23:40:35 +00:00
dtrg
bffe70f9ac Rationalised use of #includes to be more standards-compliant. 2006-07-26 18:22:02 +00:00
dtrg
d6bd2c86bd Now avoids piping shell scripts into a new instance of sh, instead
using a subshell.
2006-07-26 12:29:47 +00:00
dtrg
8952648ab5 Modified to include the appropriate header file rather than (badly)
prototyping syscalls itself.
2006-07-26 12:28:56 +00:00
dtrg
6f46578879 Modified to not try to unlink directories when installing. 2006-07-25 23:29:12 +00:00
dtrg
4a8b62c862 Updated version number. 2006-07-25 23:24:39 +00:00
dtrg
1f78b7ff4e Modified to use rename() instead of link()/unlink() to rename files. 2006-07-25 23:24:20 +00:00
dtrg
2d5e79ec0a Updated to the latest version of pm which installs files with symlinks. 2006-07-25 23:22:58 +00:00
dtrg
58fad2b368 Updated to the latest version of pm. 2006-07-25 13:28:35 +00:00
dtrg
62a8851bc8 Added a workaround for an OSX compiler bug. 2006-07-23 20:33:26 +00:00
dtrg
46d504c483 Updated to the latest version of pm. 2006-07-23 20:07:19 +00:00
dtrg
9c722420dd Replaced calls to the custom strindex() and strrindex() functions with the
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +00:00