platform/upstream/make.git
30 years ago(search_path): Use safe_stat in place of stat.
Roland McGrath [Mon, 4 Jul 1994 21:54:18 +0000 (21:54 +0000)]
(search_path): Use safe_stat in place of stat.

30 years ago(find_directory): Use safe_stat in place of stat.
Roland McGrath [Mon, 4 Jul 1994 21:53:25 +0000 (21:53 +0000)]
(find_directory): Use safe_stat in place of stat.

30 years ago(delete_target): Use safe_stat in place of stat.
Roland McGrath [Mon, 4 Jul 1994 21:52:28 +0000 (21:52 +0000)]
(delete_target): Use safe_stat in place of stat.

30 years ago(ar_member_touch) [EINTR]: Do EINTR looping around fstat.
Roland McGrath [Mon, 4 Jul 1994 21:51:49 +0000 (21:51 +0000)]
(ar_member_touch) [EINTR]: Do EINTR looping around fstat.

30 years ago(name_mtime): Use safe_stat in place of stat.
Roland McGrath [Mon, 4 Jul 1994 21:50:03 +0000 (21:50 +0000)]
(name_mtime): Use safe_stat in place of stat.
(touch_file) [EINTR]: Do EINTR looping around fstat.

30 years ago(safe_stat): New function, EINTR-safe wrapper around stat.
Roland McGrath [Mon, 4 Jul 1994 21:46:58 +0000 (21:46 +0000)]
(safe_stat): New function, EINTR-safe wrapper around stat.

30 years ago(read_makefile): Check for a shell command first, and then strip leading
Roland McGrath [Fri, 24 Jun 1994 10:34:03 +0000 (10:34 +0000)]
(read_makefile): Check for a shell command first, and then strip leading
tabs before further checking if it's not a shell command line.

30 years agoFix typo in last change.
Roland McGrath [Fri, 24 Jun 1994 10:22:37 +0000 (10:22 +0000)]
Fix typo in last change.

30 years ago[__arm]: Undefine POSIX.
Roland McGrath [Fri, 24 Jun 1994 09:45:35 +0000 (09:45 +0000)]
[__arm]: Undefine POSIX.
[!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system
functions that return int.

30 years ago(construct_command_argv_internal): After swallowing a backslash-newline
Roland McGrath [Fri, 24 Jun 1994 09:40:13 +0000 (09:40 +0000)]
(construct_command_argv_internal): After swallowing a backslash-newline
combination, if INSTRING is set goto string_char (new label) for normal
INSTRING handling code.

30 years agoPut #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG.
Roland McGrath [Sat, 4 Jun 1994 05:24:48 +0000 (05:24 +0000)]
Put #include of errno.h and decl of errno before #ifndef HAVE_GETLOADAVG.

30 years agoDon't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.
Roland McGrath [Sat, 4 Jun 1994 05:11:12 +0000 (05:11 +0000)]
Don't check for sys_siglist and _sys_siglist with AC_HAVE_FUNCS.
Instead use two AC_COMPILE_CHECKs.

30 years ago[emacs]: Block input around the garbage reclamation.
Richard M. Stallman [Thu, 2 Jun 1994 17:45:40 +0000 (17:45 +0000)]
[emacs]: Block input around the garbage reclamation.
Include blockinput.h.

30 years ago[!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these
Roland McGrath [Mon, 23 May 1994 22:25:30 +0000 (22:25 +0000)]
[!__GNU_LIBRARY__ && !POSIX]: Also test #ifndef _POSIX_VERSION for these
declarations.

30 years ago[GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs around #undefs of
Roland McGrath [Mon, 23 May 1994 22:20:30 +0000 (22:20 +0000)]
[GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs around #undefs of
HAVE_SETREUID and HAVE_SETREGID.

30 years ago[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID]. 3.71
Roland McGrath [Sat, 21 May 1994 20:28:10 +0000 (20:28 +0000)]
[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID].
Every system has those, and configure doesn't check for them.

30 years ago[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.
Roland McGrath [Sat, 21 May 1994 20:27:18 +0000 (20:27 +0000)]
[_POSIX_VERSION]: Don't #define POSIX #ifdef ultrix.

30 years ago(loadavg): Depend on and use loadavg.c instead of getloadavg.c.
Roland McGrath [Sat, 21 May 1994 20:26:33 +0000 (20:26 +0000)]
(loadavg): Depend on and use loadavg.c instead of getloadavg.c.
(loadavg.c): Link or copy it from getloadavg.c.
(distclean): Remove loadavg.c.

30 years ago(AC_MACRODIR): Don't define it.
Roland McGrath [Thu, 19 May 1994 00:35:53 +0000 (00:35 +0000)]
(AC_MACRODIR): Don't define it.
[AC_MACRODIR]: Protect deps using it with ifdef.

30 years agoCorrect update date updated in last change. 3.70.4
Roland McGrath [Tue, 17 May 1994 03:50:09 +0000 (03:50 +0000)]
Correct update date updated in last change.

30 years agoUpdate update date for last change.
Roland McGrath [Tue, 17 May 1994 03:46:27 +0000 (03:46 +0000)]
Update update date for last change.

30 years ago[GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID and HAVE_SETEGID.
Roland McGrath [Tue, 17 May 1994 03:09:02 +0000 (03:09 +0000)]
[GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID and HAVE_SETEGID.

30 years ago(SCCS_GET_MINUS_G check): Put -G flag before file name.
Roland McGrath [Tue, 17 May 1994 02:59:57 +0000 (02:59 +0000)]
(SCCS_GET_MINUS_G check): Put -G flag before file name.

30 years ago(default_terminal_rules): In SCCS rules, put $(SCCS_OUTPUT_OPTION) before
Roland McGrath [Tue, 17 May 1994 02:58:49 +0000 (02:58 +0000)]
(default_terminal_rules): In SCCS rules, put $(SCCS_OUTPUT_OPTION) before
$<.  On some systems -G is grokked only before the file name.

30 years ago(Overriding Makefiles): Don't suggest using .DEFAULT; that loses if the
Roland McGrath [Wed, 11 May 1994 01:42:43 +0000 (01:42 +0000)]
(Overriding Makefiles): Don't suggest using .DEFAULT; that loses if the
target file exists.  Instead recommend the combination of a match-anything
rule and a force target.

30 years ago(construct_command_argv_internal): Swallow backslash-newline combinations
Roland McGrath [Tue, 10 May 1994 20:27:17 +0000 (20:27 +0000)]
(construct_command_argv_internal): Swallow backslash-newline combinations
inside '' strings too.

30 years ago(do_define): Call collapse_continuations on each line before all else.
Roland McGrath [Thu, 5 May 1994 08:15:00 +0000 (08:15 +0000)]
(do_define): Call collapse_continuations on each line before all else.

30 years ago(AC_MACRODIR): Change default back.
Roland McGrath [Mon, 2 May 1994 23:45:18 +0000 (23:45 +0000)]
(AC_MACRODIR): Change default back.

30 years agoNote that dirs in VPATH, vpath can be separated by blanks as well as
Roland McGrath [Mon, 2 May 1994 23:00:39 +0000 (23:00 +0000)]
Note that dirs in VPATH, vpath can be separated by blanks as well as
colons.

30 years ago(config.h.in): Use $(AC_MACRODIR) in dep.
Roland McGrath [Mon, 2 May 1994 22:32:54 +0000 (22:32 +0000)]
(config.h.in): Use $(AC_MACRODIR) in dep.

30 years ago(AC_MACRODIR): Define if undefined.
Roland McGrath [Mon, 2 May 1994 22:29:56 +0000 (22:29 +0000)]
(AC_MACRODIR): Define if undefined.
(ACFLAGS, configure, config.h.in): Use that value.

30 years ago(ARCH==hp300): Disabled customs.
Roland McGrath [Mon, 25 Apr 1994 23:37:12 +0000 (23:37 +0000)]
(ARCH==hp300): Disabled customs.

30 years ago(construct_command_argv_internal): Notice newline inside '' string when
Roland McGrath [Mon, 25 Apr 1994 23:31:55 +0000 (23:31 +0000)]
(construct_command_argv_internal): Notice newline inside '' string when
RESTP is non-null.

30 years ago(update_goal_chain): Reset FILE to G->file after the double-colon loop so 3.70.3
Roland McGrath [Fri, 22 Apr 1994 21:58:26 +0000 (21:58 +0000)]
(update_goal_chain): Reset FILE to G->file after the double-colon loop so
it is never null for following code.

30 years ago(read_makefile): Fix `override define' parsing to skip whitespace after
Roland McGrath [Fri, 22 Apr 1994 21:57:47 +0000 (21:57 +0000)]
(read_makefile): Fix `override define' parsing to skip whitespace after
`define' properly.

30 years ago(srcdir): Define as @srcdir@; don't reference $(VPATH).
Roland McGrath [Fri, 22 Apr 1994 21:33:25 +0000 (21:33 +0000)]
(srcdir): Define as @srcdir@; don't reference $(VPATH).
(glob/Makefile): New target.

30 years ago(Using Variables): Fixed @xref node to `Automatic'. 3.70.2
Roland McGrath [Thu, 21 Apr 1994 22:39:51 +0000 (22:39 +0000)]
(Using Variables): Fixed @xref node to `Automatic'.

30 years ago(dist): Depend on rcs-mark first.
Roland McGrath [Thu, 21 Apr 1994 22:35:15 +0000 (22:35 +0000)]
(dist): Depend on rcs-mark first.
(rcs-mark): New target.
(rcs-mark-alpha, rcs-mark-beta): Use $(version-); append : to name for -N.
(version-): New variable, removes dots (RCS doesn't like) from $(version).

30 years ago(Using Variables): Fix menu item to `Automatic'.
Roland McGrath [Thu, 21 Apr 1994 22:23:37 +0000 (22:23 +0000)]
(Using Variables): Fix menu item to `Automatic'.

30 years agoUndo last change; reverted to revision 1.22.
Roland McGrath [Thu, 21 Apr 1994 22:14:01 +0000 (22:14 +0000)]
Undo last change; reverted to revision 1.22.

30 years ago(parse_file_seq): Fix typo in last change. Remove unused variable.
Roland McGrath [Thu, 21 Apr 1994 21:28:59 +0000 (21:28 +0000)]
(parse_file_seq): Fix typo in last change.  Remove unused variable.

30 years ago(chop_commands): Fix braino in last change (failed to initialize IDX for
Roland McGrath [Thu, 21 Apr 1994 21:28:02 +0000 (21:28 +0000)]
(chop_commands): Fix braino in last change (failed to initialize IDX for
loop).

30 years ago(remove_comments): Use find_char_unquote.
Roland McGrath [Thu, 21 Apr 1994 21:18:04 +0000 (21:18 +0000)]
(remove_comments): Use find_char_unquote.

30 years ago(find_char_unquote): Declare it.
Roland McGrath [Thu, 21 Apr 1994 20:37:39 +0000 (20:37 +0000)]
(find_char_unquote): Declare it.

30 years ago(find_char_unquote): New function, generalized from find_percent.
Roland McGrath [Thu, 21 Apr 1994 20:36:47 +0000 (20:36 +0000)]
(find_char_unquote): New function, generalized from find_percent.
(find_percent, find_semicolon, parse_file_seq): Use that.

30 years ago(chop_commands): Use find_char_unquote to find newlines.
Roland McGrath [Thu, 21 Apr 1994 20:16:42 +0000 (20:16 +0000)]
(chop_commands): Use find_char_unquote to find newlines.

30 years ago(pattern_search): Always allocate new storage for FILE->stem.
Roland McGrath [Thu, 21 Apr 1994 03:48:00 +0000 (03:48 +0000)]
(pattern_search): Always allocate new storage for FILE->stem.
It is not safe to store STEM's address because it might be auto storage.

30 years agoCheck for seteuid and setegid.
Roland McGrath [Thu, 21 Apr 1994 02:41:56 +0000 (02:41 +0000)]
Check for seteuid and setegid.

30 years ago[HAVE_SETEUID]: Declare seteuid.
Roland McGrath [Thu, 21 Apr 1994 02:41:36 +0000 (02:41 +0000)]
[HAVE_SETEUID]: Declare seteuid.
[HAVE_SETEGID]: Declare setegid.
(make_access, user_access) [HAVE_SETEUID]: Use seteuid.
[HAVE_SETEGID]: Use setegid.

30 years agoClarify -q exit status.
Roland McGrath [Thu, 21 Apr 1994 02:33:10 +0000 (02:33 +0000)]
Clarify -q exit status.
(Running): Enumerate possible exit status values (0, 1, 2).

30 years ago(update_goal_chain): Set STATUS to FILE->update_status, to preserve whether
Roland McGrath [Thu, 21 Apr 1994 02:15:37 +0000 (02:15 +0000)]
(update_goal_chain): Set STATUS to FILE->update_status, to preserve whether
it's 2 for error or 1 for -q trigger.  When STATUS gets nonzero and -q is
set, always stop immediately.

30 years ago(main, decode_switches): Die with 2 for errors.
Roland McGrath [Thu, 21 Apr 1994 02:08:28 +0000 (02:08 +0000)]
(main, decode_switches): Die with 2 for errors.
(main): Accept 2 return from update_goal_chain and die with that.

30 years ago(fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer.
Roland McGrath [Thu, 21 Apr 1994 02:01:24 +0000 (02:01 +0000)]
(fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer.

30 years ago(reap_children): Die with 2 for error.
Roland McGrath [Thu, 21 Apr 1994 02:00:20 +0000 (02:00 +0000)]
(reap_children): Die with 2 for error.
(start_job_command): Set update_status to 2 for error.  Set it to 1 when we
would run a command and question_flag is set.

30 years ago(read_makefile): Don't mark makefiles as precious. Just like other
Roland McGrath [Thu, 21 Apr 1994 01:39:36 +0000 (01:39 +0000)]
(read_makefile): Don't mark makefiles as precious.  Just like other
targets, they can be left inconsistent and in need of remaking by aborted
commands.

30 years ago(Automatic Dependencies): Mention here that deps preclude intermediate files.
Roland McGrath [Thu, 21 Apr 1994 01:35:11 +0000 (01:35 +0000)]
(Automatic Dependencies): Mention here that deps preclude intermediate files.

30 years ago(Wildcard Pitfall): Fixed typo.
Roland McGrath [Thu, 21 Apr 1994 01:21:39 +0000 (01:21 +0000)]
(Wildcard Pitfall): Fixed typo.

30 years ago(Bugs): Take my bloody e-mail address out of the manual and tell them to
Roland McGrath [Thu, 21 Apr 1994 00:59:00 +0000 (00:59 +0000)]
(Bugs): Take my bloody e-mail address out of the manual and tell them to
send misc. questions to the bug address.

30 years ago(Archive Members): Don't say archive file must exist. Instead, in ar cmds
Roland McGrath [Thu, 21 Apr 1994 00:55:18 +0000 (00:55 +0000)]
(Archive Members): Don't say archive file must exist.  Instead, in ar cmds
example, use `c' flag and mention it is needed if archive doesn't exist.
(Archive Update): Fix typo: foo.o -> file.o.

30 years ago(read_makefile): Write no error msg for -include file.
Roland McGrath [Wed, 20 Apr 1994 22:42:32 +0000 (22:42 +0000)]
(read_makefile): Write no error msg for -include file.

30 years ago(dist-flavor): New variable, default to alpha.
Roland McGrath [Wed, 20 Apr 1994 22:25:09 +0000 (22:25 +0000)]
(dist-flavor): New variable, default to alpha.
(dist): Depend on rcs-mark-$(dist-flavor).
(rcs-mark-beta): New target.

30 years ago(Using Variables): Add paragraph that xrefs to Automatic Variables.
Roland McGrath [Wed, 20 Apr 1994 22:21:51 +0000 (22:21 +0000)]
(Using Variables): Add paragraph that xrefs to Automatic Variables.
Add Automatic Variables item to the menu.

30 years ago(fatal_error_signal): Don't unblock signals.
Roland McGrath [Wed, 6 Apr 1994 01:17:43 +0000 (01:17 +0000)]
(fatal_error_signal): Don't unblock signals.

30 years ago(update_goal_chain): Do inner loop on double-colon entries.
Roland McGrath [Tue, 5 Apr 1994 10:37:12 +0000 (10:37 +0000)]
(update_goal_chain): Do inner loop on double-colon entries.
(update_file): Use FILE->double_colon pointer to find all entries.
(f_mtime): Likewise.
(notice_finished_file): Propagate mtime change to all entries.

30 years ago(main): When disqualifying makefiles for updating, use double_colon pointer
Roland McGrath [Tue, 5 Apr 1994 10:20:03 +0000 (10:20 +0000)]
(main): When disqualifying makefiles for updating, use double_colon pointer
to find all entries for a file.

30 years ago(enter_file): If there is already a double-colon entry for the file, set
Roland McGrath [Tue, 5 Apr 1994 10:17:01 +0000 (10:17 +0000)]
(enter_file): If there is already a double-colon entry for the file, set
NEW->double_colon to that pointer.
(file_hash_enter): Use FILE->double_colon to find all entries to set name.

30 years ago(record_files): Set double_colon pointer instead of flag.
Roland McGrath [Tue, 5 Apr 1994 10:14:49 +0000 (10:14 +0000)]
(record_files): Set double_colon pointer instead of flag.

30 years ago(try_variable_definition): Return after abort.
Roland McGrath [Tue, 5 Apr 1994 10:09:28 +0000 (10:09 +0000)]
(try_variable_definition): Return after abort.

30 years ago(struct file): Change member `double_colon' from flag to `struct file *'.
Roland McGrath [Tue, 5 Apr 1994 09:22:13 +0000 (09:22 +0000)]
(struct file): Change member `double_colon' from flag to `struct file *'.

30 years ago(read_makefile): Remove unused variable.
Roland McGrath [Fri, 1 Apr 1994 23:44:10 +0000 (23:44 +0000)]
(read_makefile): Remove unused variable.
(parse_file_seq): When removing an elt that is just `)', properly fix up
the previous elt's next pointer.

30 years agoPut $Id$ inside [] in AC_REVISION, since expansion contains a comma.
Roland McGrath [Tue, 29 Mar 1994 00:23:41 +0000 (00:23 +0000)]
Put $Id$ inside [] in AC_REVISION, since expansion contains a comma.

30 years ago(rcs-mark-alpha): New target.
Roland McGrath [Tue, 29 Mar 1994 00:18:03 +0000 (00:18 +0000)]
(rcs-mark-alpha): New target.
(dist): Depend on that.

30 years ago(Makefile.in): Edit MAKE assignment into @SET_MAKE@.
Roland McGrath [Tue, 29 Mar 1994 00:13:58 +0000 (00:13 +0000)]
(Makefile.in): Edit MAKE assignment into @SET_MAKE@.

30 years agoDo AC_SET_MAKE.
Roland McGrath [Mon, 28 Mar 1994 23:31:37 +0000 (23:31 +0000)]
Do AC_SET_MAKE.

30 years agoAdded rcsid.
Roland McGrath [Mon, 28 Mar 1994 22:58:08 +0000 (22:58 +0000)]
Added rcsid.

30 years agoentered into RCS
Roland McGrath [Wed, 23 Mar 1994 14:53:21 +0000 (14:53 +0000)]
entered into RCS

30 years agoAdded rcs id.
Roland McGrath [Wed, 23 Mar 1994 14:43:56 +0000 (14:43 +0000)]
Added rcs id.

30 years agoentered into RCS
Roland McGrath [Wed, 23 Mar 1994 14:12:55 +0000 (14:12 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Fri, 4 Mar 1994 05:36:26 +0000 (05:36 +0000)]
entered into RCS

30 years agoFormerly read.c.~75~
Roland McGrath [Fri, 4 Mar 1994 05:10:22 +0000 (05:10 +0000)]
Formerly read.c.~75~

30 years agoFormerly misc.c.~31~
Roland McGrath [Fri, 4 Mar 1994 05:10:20 +0000 (05:10 +0000)]
Formerly misc.c.~31~

30 years agoentered into RCS
Roland McGrath [Wed, 16 Feb 1994 23:58:49 +0000 (23:58 +0000)]
entered into RCS

30 years agoFormerly read.c.~74~
Roland McGrath [Wed, 16 Feb 1994 22:55:31 +0000 (22:55 +0000)]
Formerly read.c.~74~

30 years agoentered into RCS
Roland McGrath [Wed, 16 Feb 1994 21:32:01 +0000 (21:32 +0000)]
entered into RCS

30 years agoFormerly misc.c.~30~
Roland McGrath [Wed, 16 Feb 1994 21:25:32 +0000 (21:25 +0000)]
Formerly misc.c.~30~

30 years agoFormerly main.c.~105~
Roland McGrath [Wed, 16 Feb 1994 21:13:16 +0000 (21:13 +0000)]
Formerly main.c.~105~

30 years agoentered into RCS
Roland McGrath [Wed, 16 Feb 1994 21:09:47 +0000 (21:09 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Sat, 12 Feb 1994 00:16:20 +0000 (00:16 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Fri, 11 Feb 1994 02:45:27 +0000 (02:45 +0000)]
entered into RCS

30 years agoFormerly make.h.~82~
Roland McGrath [Fri, 4 Feb 1994 21:28:53 +0000 (21:28 +0000)]
Formerly make.h.~82~

30 years agoFormerly misc.c.~29~
Roland McGrath [Thu, 3 Feb 1994 07:21:18 +0000 (07:21 +0000)]
Formerly misc.c.~29~

30 years agoFormerly variable.c.~27~
Roland McGrath [Tue, 1 Feb 1994 00:11:47 +0000 (00:11 +0000)]
Formerly variable.c.~27~

30 years agoFormerly read.c.~73~
Roland McGrath [Tue, 1 Feb 1994 00:07:17 +0000 (00:07 +0000)]
Formerly read.c.~73~

30 years agoFormerly variable.c.~26~
Roland McGrath [Wed, 26 Jan 1994 00:48:30 +0000 (00:48 +0000)]
Formerly variable.c.~26~

30 years agoFormerly make.texinfo.~127~
Roland McGrath [Wed, 26 Jan 1994 00:47:07 +0000 (00:47 +0000)]
Formerly make.texinfo.~127~

30 years agoFormerly commands.c.~20~
Roland McGrath [Tue, 25 Jan 1994 21:51:25 +0000 (21:51 +0000)]
Formerly commands.c.~20~

30 years agoFormerly make.texinfo.~126~
Roland McGrath [Wed, 19 Jan 1994 23:04:36 +0000 (23:04 +0000)]
Formerly make.texinfo.~126~

30 years agoFormerly make.texinfo.~125~
Roland McGrath [Mon, 17 Jan 1994 22:06:11 +0000 (22:06 +0000)]
Formerly make.texinfo.~125~

30 years agoFormerly default.c.~32~
Roland McGrath [Mon, 17 Jan 1994 22:05:22 +0000 (22:05 +0000)]
Formerly default.c.~32~

30 years agoFormerly GNUmakefile.~116~
Roland McGrath [Wed, 12 Jan 1994 00:30:18 +0000 (00:30 +0000)]
Formerly GNUmakefile.~116~