make/src
Paul Smith 7bb7bb4ba4 Add ISDIRSEP() helper macro and use it
Create a ISDIRSEP() macro to check for directory separator chars
using the stopchar_map, and replace inline checks and explicit
STOP_SET calls with this macro.

* src/makeint.h (ISDIRSEP): Create the macro using MAP_DIRSEP.
* src/dir.c (find_directory): Replace inline checks with ISDIRSEP.
(file_exists_p): Ditto.
(file_impossible): Ditto.
(file_impossible_p): Ditto.
(local_stat): Ditto.
* src/file.c (lookup_file): Ditto.
* src/function.c (abspath): Ditto.
* src/job.c (_is_unixy_shell): Ditto.
(is_bourne_compatible_shell): Ditto.
(construct_command_argv): Ditto.
* src/main.c (find_and_set_default_shell): Ditto.
(main): Ditto.
* src/read.c (eval): Ditto.
(parse_file_seq): Ditto.
* src/remake.c (name_mtime): Ditto.
* src/vpath.c (construct_vpath_list): Ditto.
2022-10-18 14:20:44 -04:00
..
w32 Clean up some warnings on Windows builds 2022-10-03 16:08:14 -04:00
amiga.c Take advantage of mempcpy() and stpcpy() 2022-07-30 18:40:21 -04:00
amiga.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
ar.c Support systems with 32-bit long and 64-bit time_t 2022-10-03 15:11:57 -04:00
arscan.c Clean up some warnings on Windows builds 2022-10-03 16:08:14 -04:00
commands.c Check for recipe line count overflow before it overflows 2022-10-18 14:20:44 -04:00
commands.h Run autoupdate and clean up autoconf usage 2022-07-09 10:46:47 -04:00
config.ami Add preprocessor macros for different platforms 2022-10-18 14:20:44 -04:00
config.h-vms Add preprocessor macros for different platforms 2022-10-18 14:20:44 -04:00
config.h.W32 Add preprocessor macros for different platforms 2022-10-18 14:20:44 -04:00
configh.dos Add preprocessor macros for different platforms 2022-10-18 14:20:44 -04:00
debug.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
default.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
dep.h Use (void) rather than () in function declarations 2022-10-15 18:39:32 -04:00
dir.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
expand.c [SV 63040] shell: Fall back to the callers environment 2022-09-10 16:27:47 -04:00
file.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
filedef.h * src/filedef.h (is_ordinary_mtime): Check for "ordinary" mod time. 2022-10-02 08:55:29 -04:00
function.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
getopt1.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
getopt.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
getopt.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
gettext.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
gmk-default.scm * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
gnumake.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
guile.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
hash.c Clean up a few Windows build warnings (not all!) 2021-09-05 21:09:27 -04:00
hash.h hash: Remove unnecessary isupper() check before tolower() 2022-04-24 17:52:54 -04:00
implicit.c Avoid compilation warnings 2022-09-24 21:15:41 +03:00
job.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
job.h Run autoupdate and clean up autoconf usage 2022-07-09 10:46:47 -04:00
load.c [SV 63045] Reload each intact unloaded shared object 2022-09-12 02:05:18 -04:00
loadapi.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
main.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
makeint.h Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
misc.c [SV 63215] Remember the random seed for shuffle mode 2022-10-16 16:18:21 -04:00
mkconfig.h.in Remove template files to simplify distribution creation 2022-10-18 14:20:44 -04:00
os.h Use (void) rather than () in function declarations 2022-10-15 18:39:32 -04:00
output.c [SV 62840] Don't change IO buffering before printing version 2022-08-30 21:04:48 -04:00
output.h Rework output sync to lock a temp file on POSIX 2022-08-30 15:44:43 -04:00
posixos.c * src/posixos.c (job_root): Remember root jobserver instances 2022-10-15 18:39:32 -04:00
read.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
remake.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00
remote-cstms.c getloadavg: Remove support for privileged invocation 2022-07-09 10:47:13 -04:00
remote-stub.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
rule.c [SV 13862] Implement the .WAIT special target 2022-09-12 18:35:29 -04:00
rule.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
shuffle.c [SV 63215] Remember the random seed for shuffle mode 2022-10-16 16:18:21 -04:00
shuffle.h Use (void) rather than () in function declarations 2022-10-15 18:39:32 -04:00
signame.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
strcache.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
variable.c [SV 63016] Don't fail exporting to $(shell ...) 2022-09-08 03:04:15 -04:00
variable.h Use (void) rather than () in function declarations 2022-10-15 18:39:32 -04:00
version.c Remove template files to simplify distribution creation 2022-10-18 14:20:44 -04:00
vms_exit.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vms_export_symbol.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vms_progname.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vmsdir.h * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vmsfunctions.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vmsify.c * <all>: Update copyright notices. 2022-02-10 14:48:26 -05:00
vmsjobs.c Enhance get_tmpfile() and add get_tmppath() 2022-08-02 23:36:35 -04:00
vpath.c Add ISDIRSEP() helper macro and use it 2022-10-18 14:20:44 -04:00