summaryrefslogtreecommitdiff
path: root/vmsjobs.c
AgeCommit message (Collapse)AuthorFilesLines
2013-11-23[SV 40361] Don't use vsnprintf(), which is an ISO C99 function.Paul Smith1-2/+2
* output.c (error, fatal, message): Take an extra argument specifying how many bytes are used by the formatted arguments. (get_buffer): New function that allocates the requested buffer size. Remove msc_vsnprintf(), vfmtconcat(), and fmtconcat() as unneeded. * makeint.h: Declare various helper macros for generating output. * *.c: Change all error(), fatal(), message() calls to use the macros, or pass the extra length argument directly.
2013-09-14Support the -Orecurse option properly.Paul Smith1-367/+362
In this mode we still collect all the output from a given target and dump it at once. However we don't treat recursive lines any differently from non-recursive lines. Also we don't print enter/leave messages after every dump. However we do ensure that we always print them once to stdout, so the parent make will collect it properly.
2013-07-14Modify the update_status field in struct file to be an enum.Paul Smith1-2/+2
Makes the code a little clearer/cleaner, and solves a problem on systems where a char is unsigned by default.
2013-05-27Porting to VMS, from Hartmut Becker.Paul Smith1-2/+2
2013-05-17Update copyright for changes in 2013.Paul Smith1-1/+1
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-2/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-1/+1
Fixes Savannah bug #34530.
2012-01-16Update copyright notices.Paul Smith1-1/+1
2010-07-13Update copyrights for 2010.Paul Smith1-1/+1
2009-11-16Add VMS enhancements from Hartmut Becker.Paul Smith1-41/+82
2009-10-25Update copyright years.Paul Smith1-1/+1
2007-07-04* Update to GPLv3Paul Smith1-5/+5
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2006-04-07Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith1-1/+1
2006-02-11Last of the copyright updates.Paul Smith1-2/+2
2006-02-11Update copyright and license notices on all files.Paul Smith1-3/+16
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2005-06-10Fixes for VMS from Hartmut Becker.Paul Smith1-4/+8
2005-05-03Fix problems with losing tokens in the jobserver, reported by GrantPaul Smith1-0/+667
Taylor. There are two forms of this: first, it was possible to lose tokens when using -j and -l at the same time, because waiting jobs were not checked when determining whether any jobs were outstanding. Second, if you had an exported recursive variable that contained a $(shell ...) function there is a possibility to lose tokens, since a token was taken but the child list was not updated until after the shell function was complete. To resolve this I introduced a new variable that counted the number of tokens we have obtained, rather than checking whether there were any children on the list. I also added some sanity checks to make sure we weren't writing back too many or not enough tokens. And, the master make will drain the token pipe before exiting and compare the count of tokens at the end to what was written there at the beginning. Also: * Ensure a bug in the environment (missing "=") doesn't cause make to core. * Rename the .DEFAULT_TARGET variable to .DEFAULT_GOAL, to match the terminology in the documentation and other variables like MAKECMDGOALS. * Add documentation of the .DEFAULT_GOAL special variable. Still need to document the secondary expansion stuff...