summaryrefslogtreecommitdiff
path: root/src/remote-cstms.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the copyright year on all filesPaul Smith2023-01-011-1/+1
|
* Update URLs to use https rather than httpPaul Smith2022-10-181-1/+1
| | | | | * (all): Change http:// to https:// * README.W32: Remove invalid link to mingw.org.
* getloadavg: Remove support for privileged invocationPaul Smith2022-07-091-8/+1
| | | | | | | | | | | | | | | | | | | | | | | This was needed when getloadavg required privileged access; in this case GNU make needed to be installed as a setgid program. But this hasn't been supported by gnulib getloadavg() since 2011 and systems are no longer using it, so remove it. * src/makeint.h (user_access): Remove unnecessary function. (make_access): Ditto. (child_access): Ditto. * src/misc.c: Remove implementations of the *_access() functions. * src/main.c (main): Remove unneeded call to user_access(). * src/job.c (load_too_high): Remove calls to {make,user}_access(). (exec_command): Remove call to child_access(). * src/remote-cstms.c: Remove calls to these methods. I suppose it might be possible this is needed and was piggy-backing on the privileged setting but since that's been broken for a while I doubt this is needed. If so we can bring back the implementation into this source file. * src/config.h.W32.template: Remove GETLOADAVG_PRIVILEGED undef. * src/config.h-vms.template: Ditto. * src/config.ami.template: Ditto.
* Run autoupdate and clean up autoconf usagePaul Smith2022-07-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | We can assume that the return type of a signal handler is void. We can assume that, if sys/time.h exists, it can be included with time.h. * bootstrap: Get the latest version * configure.ac: Require a newer version of autoconf. Remove unnecessary AC_PROG_CC_C99 (already have AC_PROC_CC). Remove unnecessary AC_AIX, AC_ISC_POSIX, AC_MINIX. Remove unnecessary AC_HEADER_STDC, AC_HEADER_TIME, AC_TYPE_SIGNAL. Use strerror to search for the cposix library. * src/commands.c (fatal_error_signal): Assume return type is void. * src/commands.h: Ditto. * src/job.c: Ditto. * src/job.h: Ditto. * src/main.c: Ditto. * src/makeint.h: Ditto. Don't bother with TIME_WITH_SYS_TIME. * src/remote-cstms.c: Check HAVE_SYS_TIME_H. * src/config.ami.template: Remove RETSIGTYPE. * src/config.h-vms.template: Ditto. * src/config.h.W32.template: Ditto. Remove TIME_WITH_SYS_TIME.
* * src/commands.h: [SV 62213] Forward-declare struct file / childPaul Smith2022-04-241-1/+2
|
* Ensure buffers are large enough for integer valuesPaul Smith2022-02-211-1/+2
| | | | | | | | | | Issue raised by Sergei Trofimovich <siarheit@google.com> * src/makeint.h (INTSTR_LENGTH): Update for unsigned values. * src/function.c (func_lastword): Use INTSTR_LENGTH as buffer size. (shell_function_completed): Ditto. (func_call): Ditto. * src/remote-cstms.c (start_remote_job): Ditto.
* * <all>: Update copyright notices.Paul Smith2022-02-101-1/+1
|
* Update copyright statements for 2020Paul Smith2020-01-031-1/+1
|
* Update copyright statements for 2019Paul Smith2019-05-191-1/+1
|
* * src/makeint.h: Use pid_t to store PIDs, of int.Aron Barath2018-08-021-2/+2
| | | | | | | | | * src/commands.c (getpid): Ditto. * src/job.h (*): Ditto. * src/job.c (*): Ditto. * src/main.c (main): Ditto. * src/remote-cstms.c (start_remote_job): Ditto. * src/remote-stub.c (start_remote_job): Ditto.
* Resolve most of the Windows Visual Studio warnings.Paul Smith2018-07-021-1/+1
| | | | | * Convert integer types to size_t where necessary. * Align other integral types to avoid casts and type warnings.
* * all: Update Copyright statements for 2018Paul Smith2018-07-011-1/+1
|
* Rework directory structure to use GNU-recommended "src" directory.Paul Smith2017-11-191-0/+300
Move the source code (other than glob) into the "src" subdirectory. Update all scripting and recommendations to support this change. * *.c, *.h, w32/*: Move to src/ * configure.ac, Makefile.am, maintMakefile: Locate new source files. * Basic.mk.template, mk/*: Update for new source file locations. * NEWS, README.DOS.template: Update for new locations. * build.template, build_w32.bat, builddos.bat: Ditto. * po/POTFILES.in: Ditto * tests/run_make_tests.pl, tests/scripts/features/load*: Ditto. * make.1: Move to doc. * mk/VMS.mk: Add support for building on VMS (hopefully). * makefile.vms, prepare_w32.bat: Remove. * SCOPTIONS: Update to define HAVE_CONFIG_H