summaryrefslogtreecommitdiff
path: root/misc.c
AgeCommit message (Collapse)AuthorFilesLines
2002-07-11Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith1-2/+3
GNU make. Also he provides some other performance fixups after doing some profiling of make on large makefiles. Modify the test suite to allow the use of Valgrind to find memory problems.
2002-07-08Major updates in preparation for 3.80.Paul Smith1-6/+4
New version of the manual, put into the doc subdir. Enhancements: $(eval ...) and $(value ...) functions, various bug fixes, etc. See the ChangeLog. More to come.
2002-05-10Fix Debian bug #144306: pass target-specific variables into the environmentPaul Smith1-7/+7
properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example.
2001-08-19Installed the da.po (Danish) translation file.Paul Smith1-5/+5
Fixed some translation string issues.
2000-06-20* More updates and fixes.Paul Smith1-0/+1
2000-06-07* Lots of bug fixes and cleanup; new i18n files, etc.Paul Smith1-4/+5
1999-11-22* Add new debugging output level selection feature.Paul Smith1-3/+3
1999-10-15* Fix PR/1394.Paul Smith1-1/+1
* Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.)
1999-07-28* Add gettext macros to start i18n support.Paul Smith1-7/+7
1999-07-21* Add configure option to enable dmalloc library.Paul Smith1-14/+30
* Various code cleanups.
1999-03-19* Add strneq() (streq only n chars) macroPaul Smith1-1/+1
* fix return type of xstrdup.
1999-03-05* Define and use xstrdup() instead of strdup().Paul Smith1-0/+23
1999-03-05* Update FSF address info in copyright notices.Paul Smith1-1/+2
* Update maintainers build process; remove GNUmakefile. Require builders to run automake && autoreconf by hand. * Use AC_SUBST_FILE to get the maintMakefile included, rather than GNU make's include directive, which conflicts with automake 1.4's include directive.
1998-10-03Checkpoint changes. Bug fixes, mostly.Paul Smith1-58/+101
1998-07-30GNU make release 3.77.Paul Smith1-3/+7
1997-08-27Updates for GNU make 3.75.92.Paul Smith1-1/+1
1997-04-07Changes for make 3.75.1Paul Smith1-1/+1
1996-05-22Wed May 15 10:14:14 CDT 1996 Rob Tulloh <tulloh@tivoli.com>Roland McGrath1-0/+31
* dir.c: WIN32 does not support inode. For now, fully qualified pathname along with st_mtime will be keys for files. Fixed problem where vpath can be confused when files are added to a directory after the directory has already been read in. The code now attempts to reread the directory if it discovers that the datestamp on the directory has changed since it was cached by make. This problem only seems to occur on WIN32 right now so it is lumped under port #ifdef WIN32. * function.c: WIN32: call subproc library (CreateProcess()) instead of fork/exec. * job.c: WIN32: Added the code to do fork/exec/waitpid style processing on WIN32 systems via calls to subproc library. * main.c: WIN32: Several things added here. First, there is code for dealing with PATH and SHELL defaults. Make tries to figure out if the user has %PATH% set in the environment and sets it to %Path% if it is not set already. Make also looks to see if sh.exe is anywhere to be found. Code path through job.c will change based on existence of a working Bourne shell. The checking for default shell is done twice: once before makefiles are read in and again after. Fall back to MSDOS style execution mode if no sh.exe is found. Also added some debug support that allows user to pause make with -D switch and attach a debugger. This is especially useful for debugging recursive calls to make where problems appear only in the sub-make. * make.h: WIN32: A few macros and header files for WIN32 support. * misc.c: WIN32: Added a function end_of_token_w32() to assist in parsing code in read.c. * read.c: WIN32: Fixes similar to MSDOS which allow colon to appear in filenames. Use of colon in filenames would otherwise confuse make. * remake.c: WIN32: Added include of io.h to eliminate compiler warnings. Added some code to default LIBDIR if it is not set on WIN32. * variable.c: WIN32: Added support for detecting Path/PATH and converting them to semicolon separated lists for make's internal use. New function sync_Path_environment() which is called in job.c and function.c before creating a new process. Caller must set Path in environment since we don't have fork() to do this for us. * vpath.c: WIN32: Added detection for filenames containing forward or backward slashes. * NMakefile: WIN32: Visual C compatible makefile for use with nmake. Use this to build GNU make the first time on Windows NT or Windows 95. * README.WIN32: WIN32: Contains some helpful notes. * build_w32.bat: WIN32: If you don't like nmake, use this the first time you build GNU make on Windows NT or Windows 95. * config.h.WIN32: WIN32 version of config.h * subproc.bat: WIN32: A bat file used to build the subproc library from the top-level NMakefile. Needed because WIndows 95 (nmake) doesn't allow you to cd in a make rule. * w32/include/dirent.h * w32/compat/dirent.c: WIN32: opendir, readdir, closedir, etc. * w32/include/pathstuff.h: WIN32: used by files needed functions defined in pathstuff.c (prototypes). * w32/include/sub_proc.h: WIN32: prototypes for subproc.lib functions. * w32/include/w32err.h: WIN32: prototypes for w32err.c. * w32/pathstuff.c: WIN32: File and Path/Path conversion functions. * w32/subproc/build.bat: WIN32: build script for subproc library if you don't wish to use nmake. * w32/subproc/NMakefile: WIN32: Visual C compatible makefile for use with nmake. Used to build subproc library. * w32/subproc/misc.c: WIN32: subproc library support code * w32/subproc/proc.h: WIN32: subproc library support code * w32/subproc/sub_proc.c: WIN32: subproc library source code * w32/subproc/w32err.c: WIN32: subproc library support code
1996-03-20Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath1-0/+4
Merged VMS port from Klaus Kaempf <kkaempf@didymus.rmi.de>. * make.h (PARAMS): New macro. * config.h-vms: New file. * makefile.com: New file. * makefile.vms: New file. * readme.vms: New file. * vmsdir.h: New file. * vmsfunctions.c: New file. * vmsify.c: New file. * file.h: Renamed to filedef.h to avoid conflict with VMS system hdr. * ar.c: Added prototypes and changes for VMS. * commands.c: Likewise. * commands.h: Likewise. * default.c: Likewise. * dep.h: Likewise. * dir.c: Likewise. * expand.c: Likewise. * file.c: Likewise. * function.c: Likewise. * implicit.c: Likewise. * job.c: Likewise. * job.h: Likewise. * main.c: Likewise. * make.h: Likewise. * misc.c: Likewise. * read.c: Likewise. * remake.c: Likewise. * remote-stub.c: Likewise. * rule.c: Likewise. * rule.h: Likewise. * variable.c: Likewise. * variable.h: Likewise. * vpath.c: Likewise. * compatMakefile (srcs): Rename file.h to filedef.h.
1995-12-12(collapse_continuations): Fix skipping of trailing \s so it can neverRoland McGrath1-3/+2
dereference before the beginning of the array.
1995-12-12(safe_stat): Function removed.Roland McGrath1-20/+0
1995-11-26(message): Take new arg PREFIX. Print "make: " only if nonzero.Roland McGrath1-7/+25
1995-03-10Changed find_char_unquote callers here too.Roland McGrath1-1/+1
1995-02-22(strerror): Fix swapped args in sprintf.Roland McGrath1-2/+2
1994-07-04(safe_stat): New function, EINTR-safe wrapper around stat.Roland McGrath1-0/+20
1994-05-23[GETLOADAVG_PRIVILEGED] [POSIX]: Remove bogus #ifndefs around #undefs ofRoland McGrath1-4/+0
HAVE_SETREUID and HAVE_SETREGID.
1994-05-21[GETLOADAVG_PRIVILEGED] [POSIX]: Don't test [HAVE_SETUID] and [HAVE_SETGID].3.71Roland McGrath1-2/+2
Every system has those, and configure doesn't check for them.
1994-05-17[GETLOADAVG_PRIVILEGED] [! POSIX]: Undefine HAVE_SETEUID and HAVE_SETEGID.Roland McGrath1-1/+13
1994-04-21(remove_comments): Use find_char_unquote.Roland McGrath1-28/+5
1994-04-21[HAVE_SETEUID]: Declare seteuid.Roland McGrath1-2/+36
[HAVE_SETEGID]: Declare setegid. (make_access, user_access) [HAVE_SETEUID]: Use seteuid. [HAVE_SETEGID]: Use setegid.
1994-04-21(fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer.Roland McGrath1-2/+2
1994-03-23entered into RCSRoland McGrath1-1/+2
1994-03-04Formerly misc.c.~31~Roland McGrath1-19/+3
1994-02-16Formerly misc.c.~30~Roland McGrath1-0/+15
1994-02-03Formerly misc.c.~29~Roland McGrath1-1/+4
1993-12-02Formerly misc.c.~28~Roland McGrath1-14/+19
1993-08-01Formerly misc.c.~27~Roland McGrath1-3/+7
1993-04-15Formerly misc.c.~26~Roland McGrath1-2/+2
1993-04-14Formerly misc.c.~25~Roland McGrath1-0/+27
1993-02-21Formerly misc.c.~24~Roland McGrath1-1/+1
1993-01-22Formerly misc.c.~23~Roland McGrath1-4/+6
1993-01-13Formerly misc.c.~22~Roland McGrath1-2/+2
1993-01-11Formerly misc.c.~21~Roland McGrath1-0/+16
1993-01-08Formerly misc.c.~20~Roland McGrath1-0/+11
1993-01-05Formerly misc.c.~19~Roland McGrath1-15/+29
1992-10-15Formerly misc.c.~18~Roland McGrath1-0/+19
1992-06-11Formerly misc.c.~17~Roland McGrath1-2/+2
1992-04-29Formerly misc.c.~16~Roland McGrath1-4/+4
1992-01-17Formerly misc.c.~15~Roland McGrath1-1/+1
1991-10-07Initial revisionRoland McGrath1-0/+598