summaryrefslogtreecommitdiff
path: root/libguile/posix.c
AgeCommit message (Expand)AuthorFilesLines
2025-03-22In piped_process, replace dprintf with more portable functionsMichael Gran1-2/+15
2025-03-22Allow piped-process and system* to exist when fork is undefinedMichael Gran1-5/+4
2025-03-22MinGW32: cast arguments to execvpMichael Gran1-1/+13
2025-03-18piped_process: silence spurious -Wmaybe-uninitialized warningsRob Browning1-2/+2
2025-02-28Warn about mutation of ‘environ’ when multi-threaded.Olivier Dion1-12/+19
2025-01-22Don't hold lock during scm_async_tick in readdir and ttynameRob Browning1-25/+12
2024-10-20posix.c: Set errno when pipe2 is not available and flags provided.Tomas Volf1-1/+1
2024-05-06Fix typos throughout codebase.Morgan Smith1-3/+3
2024-05-06‘system*’ no longer changes SIGINT and SIGQUIT handlers.Ludovic Courtès1-35/+3
2024-01-05Stop signal thread before forking, restart it afterwards.Ludovic Courtès1-0/+6
2023-07-17Test for clearenv functionMichael Gran1-0/+4
2023-07-17Check return value of niceMichael Gran1-2/+2
2023-07-16Fix dangling pointers in `environ'.Olivier Dion1-1/+20
2023-05-08Use /dev/null in 'piped-process' if port is not backed by a fdes.Josselin Poiret1-4/+16
2023-05-08Add error handling for spawn's posix_spawn_file_actions_adddup2.Josselin Poiret1-6/+13
2023-04-02Use 'posix_spawn_file_actions_addclosefrom_np' where available.Ludovic Courtès1-0/+14
2023-04-02Remove racy optimized file descriptor closing loop in 'spawn'.Ludovic Courtès1-29/+1
2023-04-02'spawn' closes only open file descriptors on non-GNU/Linux systems.Ludovic Courtès1-1/+18
2023-01-26'spawn' ensures it is passed open file ports.Ludovic Courtès1-5/+13
2023-01-23Verify 'W_EXITCODE' only when we provide our own definition.v3.0.9Ludovic Courtès1-1/+1
2023-01-18Adjust 'W_EXITCODE' for Windows.Ludovic Courtès1-1/+5
2023-01-18Fix argument number in 'spawn' type check.Ludovic Courtès1-1/+1
2023-01-13Reduce redundant 'close' calls when forking on some systems.Andrew Whatson1-3/+38
2023-01-13Make 'system*' and 'piped-process' internally use 'spawn'.Josselin Poiret1-154/+78
2023-01-13Add 'spawn'.Josselin Poiret1-2/+154
2022-10-21Define AT_REMOVEDIR and others when available.Maxime Devos1-0/+6
2022-10-21Allow file ports in ‘utime’.Maxime Devos1-6/+22
2022-10-14Remove special logic for the obscure CMU C library's libc.hMike Gran1-4/+0
2022-10-14Presume time.h and sys/time.h don't conflict when includedMike Gran1-8/+2
2022-10-14Presume ISO C90 functions are always availableMike Gran1-5/+0
2022-09-19'pipe' now takes an optional 'flags' parameter.Ludovic Courtès1-6/+45
2022-08-05'system*' can no longer close file descriptor 2.Ludovic Courtès1-2/+3
2021-11-03Const qualify return of strerrorPhilipp Klaus Krause1-2/+2
2021-05-08'primitive-fork' closes and recreates the current thread's 'sleep_pipe'.Ludovic Courtès1-1/+28
2021-03-10Add mkstemp; undocument mkstemp!Andy Wingo1-3/+3
2020-05-16popen: Add 'pipeline' procedure.Rutger van Beusekom1-48/+18
2020-04-14bitvector-set-bit! / bitvector-clear-bit! replace bitvector-set!Andy Wingo1-1/+1
2020-03-22Deprecate 'tmpnam' and add '--disable-tmpnam' configure option.Matt Wette1-0/+11
2019-08-02Merge from stable-2.2Andy Wingo1-9/+38
2019-06-18open-process: Fix dup(2) and execvp(2) error handling.Mark H Weaver1-9/+38
2019-05-23Use 'scm_from_utf8_{string,symbol,keyword}' for C string literals.Mark H Weaver1-2/+2
2019-05-23Define AT_SYMLINK_NOFOLLOW et al.Ludovic Courtès1-2/+18
2018-10-17Use 'scm_from_utf8_{string,symbol,keyword}' for C string literals.Mark H Weaver1-5/+3
2018-10-07Fix use of uninstalled header by installed headersAndy Wingo1-0/+1
2018-09-23Define AT_SYMLINK_NOFOLLOW et al.Ludovic Courtès1-1/+17
2018-08-07Make sure the return value of 'scm_crypt' is always initialized.Ludovic Courtès1-4/+7
2018-08-07Fix 'crypt' deadlock upon error.Ludovic Courtès1-4/+21
2018-06-25Give multiple-values objects a tc7Andy Wingo1-7/+5
2018-06-21Replace uses of scm_t_int8, scm_t_uintmax, etc with stdint typesAndy Wingo1-3/+3
2018-06-20Update license notices in all C filesAndy Wingo1-17/+17