ack.git
5 years agoDelete 689 undead files. nick-cherry
George Koehler [Fri, 21 Sep 2012 02:26:32 +0000 (22:26 -0400)]
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

5 years agoPrevent segfault when trying to print an error message.
George Koehler [Wed, 24 Oct 2012 17:44:50 +0000 (13:44 -0400)]
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.

5 years agoFix fit16i() for systems with 64-bit long.
George Koehler [Thu, 20 Sep 2012 03:39:51 +0000 (23:39 -0400)]
Fix fit16i() for systems with 64-bit long.

(long)0xFFFF8000 had expanded to 0x00000000FFFF8000.
With (long)(-0x8000), the compiler now extends the negative sign.

By fixing fit16i(), I can now compile ACK for OpenBSD/amd64.

5 years agoDelete old and unused files from modules/src/em_code
George Koehler [Sun, 16 Sep 2012 23:57:07 +0000 (19:57 -0400)]
Delete old and unused files from modules/src/em_code

5 years agoFix more functions in util/ack for 64-bit hosts.
George Koehler [Fri, 7 Sep 2012 20:28:10 +0000 (16:28 -0400)]
Fix more functions in util/ack for 64-bit hosts.

This continues the fix from the previous changeset.  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.

5 years agoFix cemcom.ansi for 64-bit hosts.
George Koehler [Fri, 7 Sep 2012 19:53:13 +0000 (15:53 -0400)]
Fix cemcom.ansi for 64-bit hosts.

Hosts with sizeof(arith) == sizeof(long) == 8 need to set full_mask[1]
through full_mask[8].  Because MAXSIZE == 8, we only had full_mask[0]
through full_mask[7].  This fix declares arith full_mask[MAXSIZE + 1]
and prevents a fatal error: "array full_mask too small for this machine"

5 years agoFix a 64-bitness issue (removed some untyped K&R C code that assumed ints
David Given [Mon, 27 Feb 2012 22:36:36 +0000 (22:36 +0000)]
Fix a 64-bitness issue (removed some untyped K&R C code that assumed ints
and pointers were the same size).

5 years agoAdded atol() that ignores overflow, so that unsigned long constants are dealt with...
Ceriel Jacobs [Wed, 15 Jun 2011 09:13:48 +0000 (11:13 +0200)]
Added atol() that ignores overflow, so that unsigned long constants are dealt with properly

5 years agoFixed CFU
Ceriel Jacobs [Wed, 15 Jun 2011 08:56:58 +0000 (10:56 +0200)]
Fixed CFU

5 years agoFixed bug reported on tack-devel mailing list on 20-3-2011
cjhjacobs [Wed, 18 May 2011 17:19:19 +0000 (19:19 +0200)]
Fixed bug reported on tack-devel mailing list on 20-3-2011

5 years agoFixed very old bug where Streams.GetStreamPosition would return the wrong position...
dtrg [Wed, 1 Sep 2010 19:55:15 +0000 (19:55 +0000)]
Fixed very old bug where Streams.GetStreamPosition would return the wrong position --- thanks to Jan Verhoeven for finding this.

5 years agoRenamed 'switch' variable to avoid conflict with a keyword in modern awks.
dtrg [Sun, 1 Aug 2010 10:35:04 +0000 (10:35 +0000)]
Renamed 'switch' variable to avoid conflict with a keyword in modern awks.

5 years agoRenamed getline() to getln() to avoid conflict with glibc's version.
dtrg [Sun, 1 Aug 2010 10:34:27 +0000 (10:34 +0000)]
Renamed getline() to getln() to avoid conflict with glibc's version.

5 years agoNo longer generates zero bytes in the script's output file.
dtrg [Tue, 18 Jul 2006 17:20:05 +0000 (17:20 +0000)]
No longer generates zero bytes in the script's output file.

5 years agoRemoved an assumption that 'stdin' is a constant, which it's not on Linux. (You can...
dtrg [Fri, 24 Jun 2005 22:10:24 +0000 (22:10 +0000)]
Removed an assumption that 'stdin' is a constant, which it's not on Linux. (You can't use it as an initialiser when declaring a global variable.)

5 years agoReplaced references to /usr/tmp with references to /tmp.
dtrg [Fri, 24 Jun 2005 22:08:47 +0000 (22:08 +0000)]
Replaced references to /usr/tmp with references to /tmp.

19 years agonew copyright notice in repository release-5-5
ceriel [Thu, 26 May 2005 06:47:43 +0000 (06:47 +0000)]
new copyright notice in repository

21 years agoFix
ceriel [Wed, 8 Jan 2003 09:39:52 +0000 (09:39 +0000)]
Fix

22 years agoFix
ceriel [Wed, 11 Sep 2002 13:32:57 +0000 (13:32 +0000)]
Fix

22 years agofix
ceriel [Wed, 11 Sep 2002 13:19:23 +0000 (13:19 +0000)]
fix

22 years agoAdded missing files to .distr
ceriel [Wed, 11 Sep 2002 13:17:00 +0000 (13:17 +0000)]
Added missing files to .distr

22 years ago...
ceriel [Tue, 10 Sep 2002 13:40:14 +0000 (13:40 +0000)]
...

22 years agominor mods
ceriel [Tue, 10 Sep 2002 13:30:06 +0000 (13:30 +0000)]
minor mods

22 years agoPrevent double fclose
ceriel [Mon, 26 Aug 2002 14:27:15 +0000 (14:27 +0000)]
Prevent double fclose

22 years ago???
ceriel [Thu, 4 Apr 2002 12:33:15 +0000 (12:33 +0000)]
???

23 years agoFix for union initializers
ceriel [Tue, 3 Jul 2001 10:10:56 +0000 (10:10 +0000)]
Fix for union initializers

23 years agoFix: parameter name same as function name not dealt with properly
ceriel [Tue, 3 Jul 2001 08:55:16 +0000 (08:55 +0000)]
Fix: parameter name same as function name not dealt with properly

25 years agoUpdated copyright
ceriel [Fri, 23 Apr 1999 14:15:43 +0000 (14:15 +0000)]
Updated copyright

25 years agoAdapted copyright notice
ceriel [Thu, 18 Mar 1999 15:34:27 +0000 (15:34 +0000)]
Adapted copyright notice

25 years agoFix: did not always produce error message
ceriel [Tue, 10 Nov 1998 14:26:06 +0000 (14:26 +0000)]
Fix: did not always produce error message

26 years agoFixed bug with 4-byte sets on 2-byte machines
ceriel [Thu, 3 Sep 1998 12:51:38 +0000 (12:51 +0000)]
Fixed bug with 4-byte sets on 2-byte machines

26 years agoReplaced a couple of UnGetChar calls with ChPushBack calls. The
ceriel [Mon, 9 Feb 1998 09:49:00 +0000 (09:49 +0000)]
Replaced a couple of UnGetChar calls with ChPushBack calls. The
UnGetChar call is wrong after skipspaces().

27 years agoCorrected Makefile
ceriel [Thu, 4 Sep 1997 15:49:46 +0000 (15:49 +0000)]
Corrected Makefile

27 years agoAdded LLgen_NCER.n
ceriel [Thu, 10 Jul 1997 07:58:30 +0000 (07:58 +0000)]
Added LLgen_NCER.n

27 years agofixed typo
ceriel [Thu, 10 Jul 1997 07:58:19 +0000 (07:58 +0000)]
fixed typo

27 years agoAdded LLgen_NCER.n
ceriel [Thu, 10 Jul 1997 07:55:35 +0000 (07:55 +0000)]
Added LLgen_NCER.n

27 years agoOnly list readable directories
ceriel [Tue, 1 Jul 1997 12:05:54 +0000 (12:05 +0000)]
Only list readable directories

27 years agoBug fix: copied wrong size to destination in structure returns
ceriel [Tue, 1 Jul 1997 08:33:13 +0000 (08:33 +0000)]
Bug fix: copied wrong size to destination in structure returns

27 years agoRemoved superfluous ;
ceriel [Mon, 16 Jun 1997 13:07:37 +0000 (13:07 +0000)]
Removed superfluous ;

27 years agoMany modifications, mostly in comment
ceriel [Thu, 15 May 1997 12:03:05 +0000 (12:03 +0000)]
Many modifications, mostly in comment

27 years agoPrevent warning about unused labels
ceriel [Wed, 2 Apr 1997 10:42:06 +0000 (10:42 +0000)]
Prevent warning about unused labels

27 years agoLink em_data.a as well (needed when producing readable EM
ceriel [Tue, 1 Apr 1997 13:58:58 +0000 (13:58 +0000)]
Link em_data.a as well (needed when producing readable EM

27 years agoFixed bug: flt_div should not touch e1
ceriel [Thu, 13 Mar 1997 18:38:24 +0000 (18:38 +0000)]
Fixed bug: flt_div should not touch e1

27 years agoAdditions for non-correcting error recovery
ceriel [Fri, 21 Feb 1997 17:22:42 +0000 (17:22 +0000)]
Additions for non-correcting error recovery

27 years agoAdditions for non-correcting error recovery
ceriel [Fri, 21 Feb 1997 17:11:04 +0000 (17:11 +0000)]
Additions for non-correcting error recovery

27 years agoimproved error reporting, added -DNON_CORRECTING
ceriel [Fri, 21 Feb 1997 15:44:44 +0000 (15:44 +0000)]
improved error reporting, added -DNON_CORRECTING

27 years agosome minor fixes
ceriel [Fri, 21 Feb 1997 15:44:10 +0000 (15:44 +0000)]
some minor fixes

27 years agoUpdated
ceriel [Fri, 21 Feb 1997 12:23:04 +0000 (12:23 +0000)]
Updated

27 years agoAdded non-correcting error recovery stuff
ceriel [Fri, 21 Feb 1997 11:27:57 +0000 (11:27 +0000)]
Added non-correcting error recovery stuff

27 years agobug fix: code referred to token attribute of wrong token!
ceriel [Mon, 17 Feb 1997 15:14:55 +0000 (15:14 +0000)]
bug fix: code referred to token attribute of wrong token!

27 years agoBug fix: conversion is OK if arg = 0.0
ceriel [Mon, 27 Jan 1997 14:06:51 +0000 (14:06 +0000)]
Bug fix: conversion is OK if arg = 0.0

27 years agotroff flag -Tlpr is now changed to -Tlp
ceriel [Wed, 4 Dec 1996 14:03:12 +0000 (14:03 +0000)]
troff flag -Tlpr is now changed to -Tlp

27 years agoFixed typo in catchsig.s
ceriel [Tue, 26 Nov 1996 15:05:10 +0000 (15:05 +0000)]
Fixed typo in catchsig.s

27 years agorenamed _len to _length: conflict with name in minix lib
ceriel [Tue, 26 Nov 1996 15:02:36 +0000 (15:02 +0000)]
renamed _len to _length: conflict with name in minix lib

27 years agoAdded -n flag
ceriel [Thu, 21 Nov 1996 10:14:26 +0000 (10:14 +0000)]
Added -n flag

27 years agofixed a bug: STD/LDD was generated on odd-numbered reg
ceriel [Tue, 19 Nov 1996 13:28:41 +0000 (13:28 +0000)]
fixed a bug: STD/LDD was generated on odd-numbered reg

27 years agoFixed a couple of minor bugs
ceriel [Tue, 19 Nov 1996 13:27:56 +0000 (13:27 +0000)]
Fixed a couple of minor bugs

27 years agoSome fixes
ceriel [Tue, 19 Nov 1996 09:12:36 +0000 (09:12 +0000)]
Some fixes

27 years agoStupid confusion with fdtox and fxtod
ceriel [Mon, 18 Nov 1996 16:49:54 +0000 (16:49 +0000)]
Stupid confusion with fdtox and fxtod

27 years agoFixed typo
ceriel [Tue, 22 Oct 1996 14:34:16 +0000 (14:34 +0000)]
Fixed typo

28 years agoAdded LONGCARD as a local extension
ceriel [Wed, 14 Aug 1996 07:42:40 +0000 (07:42 +0000)]
Added LONGCARD as a local extension

28 years agoMoved TryToString call into ChkAssCompat
ceriel [Thu, 6 Jun 1996 07:47:00 +0000 (07:47 +0000)]
Moved TryToString call into ChkAssCompat

28 years agoFix: compatibility check in RETURN statement
ceriel [Thu, 6 Jun 1996 07:37:02 +0000 (07:37 +0000)]
Fix: compatibility check in RETURN statement

28 years agofix in cmpxchg instruction; i486 book is wrong
ceriel [Thu, 25 Apr 1996 08:38:05 +0000 (08:38 +0000)]
fix in cmpxchg instruction; i486 book is wrong

28 years agofix in flushbuf: make sure it does not return EOF when it actually succeeds
ceriel [Wed, 24 Apr 1996 13:06:00 +0000 (13:06 +0000)]
fix in flushbuf: make sure it does not return EOF when it actually succeeds

28 years agofixed bug with %[] in doscan.c
ceriel [Mon, 1 Apr 1996 09:08:59 +0000 (09:08 +0000)]
fixed bug with %[] in doscan.c

28 years agoFix to fix in idf.c
ceriel [Mon, 19 Feb 1996 12:19:47 +0000 (12:19 +0000)]
Fix to fix in idf.c

28 years agoFixed bug: crashed when parameter has same name as function
ceriel [Wed, 20 Dec 1995 09:58:56 +0000 (09:58 +0000)]
Fixed bug: crashed when parameter has same name as function

28 years agoSome improvements
ceriel [Tue, 19 Dec 1995 09:30:48 +0000 (09:30 +0000)]
Some improvements

28 years agoRemoved unclear test
ceriel [Mon, 18 Dec 1995 11:02:18 +0000 (11:02 +0000)]
Removed unclear test

28 years agoremoved
ceriel [Wed, 6 Dec 1995 14:15:11 +0000 (14:15 +0000)]
removed

28 years agoremoved
ceriel [Wed, 6 Dec 1995 14:04:51 +0000 (14:04 +0000)]
removed

28 years agoremoved
ceriel [Wed, 6 Dec 1995 13:28:04 +0000 (13:28 +0000)]
removed

28 years agoremoved MakeVersion
ceriel [Wed, 6 Dec 1995 13:26:54 +0000 (13:26 +0000)]
removed MakeVersion

28 years agoremoved Makefile
ceriel [Wed, 6 Dec 1995 13:26:03 +0000 (13:26 +0000)]
removed Makefile

28 years agoremoved Makefile, added README
ceriel [Wed, 6 Dec 1995 13:25:23 +0000 (13:25 +0000)]
removed Makefile, added README

28 years agoadded file
ceriel [Wed, 6 Dec 1995 13:23:09 +0000 (13:23 +0000)]
added file

28 years agoremoved
ceriel [Wed, 6 Dec 1995 13:21:54 +0000 (13:21 +0000)]
removed

28 years agoAdded pascal compiler report
ceriel [Wed, 6 Dec 1995 13:17:50 +0000 (13:17 +0000)]
Added pascal compiler report

28 years agoremoved
ceriel [Wed, 6 Dec 1995 13:08:44 +0000 (13:08 +0000)]
removed

28 years agodeleted
ceriel [Wed, 6 Dec 1995 13:04:25 +0000 (13:04 +0000)]
deleted

28 years agoRemoved Version.c
ceriel [Wed, 6 Dec 1995 09:52:54 +0000 (09:52 +0000)]
Removed Version.c

28 years agoCopied versions of dv[iu].s from ../../m68k2/libem.
ceriel [Tue, 5 Dec 1995 15:38:55 +0000 (15:38 +0000)]
Copied versions of dv[iu].s from ../../m68k2/libem.

28 years agoA couple of minor changes
ceriel [Tue, 5 Dec 1995 13:51:43 +0000 (13:51 +0000)]
A couple of minor changes

28 years agoImproved the pow() function to give more exact results
ceriel [Tue, 5 Dec 1995 12:29:36 +0000 (12:29 +0000)]
Improved the pow() function to give more exact results

28 years agoFixed obscure bug in setvbuf
ceriel [Mon, 4 Dec 1995 17:11:54 +0000 (17:11 +0000)]
Fixed obscure bug in setvbuf

28 years agoCorrected nested function info
ceriel [Mon, 4 Dec 1995 16:42:11 +0000 (16:42 +0000)]
Corrected nested function info

28 years agoFixed warnings, recognize -gdb
ceriel [Mon, 4 Dec 1995 15:29:42 +0000 (15:29 +0000)]
Fixed warnings, recognize -gdb

28 years agoMade to work; how did this get into the repository???
ceriel [Mon, 4 Dec 1995 15:20:46 +0000 (15:20 +0000)]
Made to work; how did this get into the repository???

28 years agoPass -gdb on to M2 compiler
ceriel [Mon, 4 Dec 1995 15:01:07 +0000 (15:01 +0000)]
Pass -gdb on to M2 compiler

28 years agoFixed a bug with local character arrays initialized with a string
ceriel [Wed, 15 Nov 1995 09:42:25 +0000 (09:42 +0000)]
Fixed a bug with local  character arrays initialized with a string

28 years agoFix: wrong offsets for locals when < -32768, installation error for 'show'
ceriel [Wed, 8 Nov 1995 11:09:14 +0000 (11:09 +0000)]
Fix: wrong offsets for locals when < -32768, installation error for 'show'

28 years agoFix: wrong offsets for locals when < -32768
ceriel [Wed, 8 Nov 1995 11:08:09 +0000 (11:08 +0000)]
Fix: wrong offsets for locals when < -32768

28 years agoFixed bug with labels
ceriel [Tue, 7 Nov 1995 10:37:59 +0000 (10:37 +0000)]
Fixed bug with labels

28 years agoGet() parameter is optional
ceriel [Wed, 1 Nov 1995 16:54:17 +0000 (16:54 +0000)]
Get() parameter is optional

28 years agoHeader file was included twice
ceriel [Wed, 1 Nov 1995 15:59:33 +0000 (15:59 +0000)]
Header file was included twice

29 years agoFix by Charles Lindsey
ceriel [Mon, 25 Sep 1995 08:09:55 +0000 (08:09 +0000)]
Fix by Charles Lindsey

29 years agoFixed some bugs with the setxx instructions
ceriel [Tue, 12 Sep 1995 12:09:08 +0000 (12:09 +0000)]
Fixed some bugs with the setxx instructions

29 years agoFix: setxx instructions should only accept byte registers
ceriel [Tue, 12 Sep 1995 12:08:42 +0000 (12:08 +0000)]
Fix: setxx instructions should only accept byte registers

29 years agoAdded libassert for when DEBUG is defined
ceriel [Fri, 18 Aug 1995 07:28:47 +0000 (07:28 +0000)]
Added libassert for when DEBUG is defined