Commit Graph

33 Commits

Author SHA1 Message Date
Alexandre Oliva
bcf1ba1d14 Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983
1999-05-17 17:07:40 -06:00
Jeffrey A Law
fa27306655 * fixproto: Change "mkdir" calls to "mkdir -p"
From-SVN: r26894
1999-05-11 17:45:59 -06:00
Jeff Law
4283012f9f Copyright fixes.
From-SVN: r24535
1999-01-06 13:44:41 -07:00
Manfred Hollstein
08fbf99d63 fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
a
	* fix-header.c (enum special_file): Undefine enumerators if they
	are already defined by include files.
	* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
	macro with '__' to not pollute user namespace.

From-SVN: r19298
1998-04-19 06:48:08 +00:00
Manfred Hollstein
7a79083780 Makefile.in (stmp-fixinc): If we're actually fixing include files...
a
	* Makefile.in (stmp-fixinc): If we're actually fixing include
	files, copy gcc's assert.h into the fixed include dir.
	* fixincludes (assert.h): Avoid any attempts to fix a probably
	broken system specific assert.h file.
	* fixproto (stdlib.h): Make sure, it'll contain a definition of
	size_t.

From-SVN: r18852
1998-03-27 00:01:08 +00:00
Richard Kenner
f6ae488b65 (std_files): Add sys/socket.h.
From-SVN: r13139
1996-11-12 14:37:01 -05:00
Brendan Kehoe
80e4a749b7 * fixproto (std_files): Add utime.h.
From-SVN: r12531
1996-07-19 15:24:59 -04:00
Paul Eggert
b9a48d63c5 (subdirs): Work around Solaris 2.5
/usr/xpgr/bin/sed problem with \+\+.

From-SVN: r12179
1996-06-06 21:31:55 +00:00
Richard Kenner
de18aff348 Change FSF address.
From-SVN: r9988
1995-06-15 17:06:59 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Per Bothner
b3ca463cda Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
1995-04-05 14:16:26 -07:00
Per Bothner
1a655ca39b fixproto: Define FIX_HEADER (needed by Aug 19 change).
* fixproto:  Define FIX_HEADER (needed by Aug 19 change).
Use FIX_HEADER instead of $original_dir/fix-header (twice).

From-SVN: r8011
1994-08-31 17:43:07 -07:00
Per Bothner
47685b9c8d Use $FIX_HEADER macro instead of calling fix-header directly.
From-SVN: r7952
1994-08-19 16:49:28 -07:00
Jason Merrill
6bfc4303bd Lose assert.h hacking
From-SVN: r7523
1994-06-18 21:51:42 +00:00
Jason Merrill
e93ce7d416 Use ${FIXPROTO_DEFINES}.
From-SVN: r7334
1994-05-18 23:08:30 +00:00
Jason Merrill
b6083bc9f8 Add missing fns to required list for string.h
From-SVN: r6957
1994-04-01 22:36:00 +00:00
Richard Kenner
b9b63425c6 Add popen and pclose to required list for stdio.h.
Add putenv to required list for stdlib.h.
Add getopt to required list for unistd.h.

From-SVN: r6510
1994-02-08 19:30:01 -05:00
Richard Kenner
2628709d5a Append "#include <stdlib.h>" to assert.h if it uses exit or abort.
From-SVN: r6507
1994-02-08 19:21:44 -05:00
Richard Kenner
17a08984d3 Add lstat to required_list for sys/stat.h
From-SVN: r6483
1994-02-05 07:05:24 -05:00
Jim Wilson
66a9d9f8d5 (required_unistd_h): Delete getgroups from list.
From-SVN: r6270
1993-12-22 11:31:24 -08:00
Richard Stallman
9080bb7f04 (scanning files_to_check): Create subdirs files are in.
From-SVN: r6168
1993-11-27 11:11:23 +00:00
Richard Stallman
f0013113ae (stdio.h): Reenable adding protos for v*printf.
From-SVN: r6128
1993-11-21 10:11:51 +00:00
Richard Stallman
fdd7822101 (rel_source_subdir): Prune out redundant /subdir/../ to prevent recursion.
From-SVN: r6068
1993-11-11 11:01:01 +00:00
Richard Stallman
328070bb4f (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf.
From-SVN: r6019
1993-11-06 01:34:55 +00:00
Richard Stallman
12a3cb7a2e Don't scan sub-directories whose names end in CC
or contain ++ - these are probably C++ directories.

From-SVN: r6007
1993-11-05 07:51:14 +00:00
Per Bothner
41b21cfc17 Make more robust in two places.
From-SVN: r5978
1993-11-03 00:14:02 -08:00
Richard Stallman
0663081eed (setjmp.h): Don't require siglongjmp and sigsetjmp.
They need sigjmp_buf, and are missing on many systems.

From-SVN: r5969
1993-11-02 03:21:17 +00:00
Richard Stallman
fc51af1af8 (signal.h): Add prototypes only for kill and raise.
Not for the POSIX signal functions.
(sys/resource.h): Delete special handling for this file.

From-SVN: r5892
1993-10-26 06:52:18 +00:00
Richard Stallman
aab7bd1963 Use fix-header.
From-SVN: r5870
1993-10-22 21:50:08 +00:00
Per Bothner
d79438193b Re-write. New logic, assuming implicit extern "C" from cpp.
From-SVN: r5762
1993-10-12 15:58:40 -07:00
Per Bothner
e9cd0b2518 Merge. See ChangeLog.
From-SVN: r5125
1993-08-09 18:59:37 -07:00
Per Bothner
fd602e5abb Pass '-' to tr as the 1-character range '---'.
From-SVN: r5009
1993-07-27 15:45:09 -07:00
Per Bothner
7afe1b4d48 Initial revision
From-SVN: r4985
1993-07-25 17:00:23 -07:00