aboutsummaryrefslogtreecommitdiffstats
path: root/src/libposixplz
Commit message (Collapse)AuthorAgeFilesLines
* MacOS doesn't have pthread_mutex_timedlock -_-Laurent Bercot2026-03-181-0/+41
|
* More qsortr fixesLaurent Bercot2025-10-231-3/+3
|
* Fix qsort_r sysdep detectionLaurent Bercot2025-10-231-0/+1
|
* Add bsearchrLaurent Bercot2025-09-081-0/+17
|
* Add qsortr, env_dump4Laurent Bercot2025-08-191-0/+48
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkntemp, atomic_symlink4Laurent Bercot2025-08-031-0/+19
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Rework gol, add mkdirp2Laurent Bercot2025-06-302-25/+38
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkdirpLaurent Bercot2025-06-181-0/+34
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add tain_addmsec, millisleepLaurent Bercot2025-04-041-0/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sysdep for CLONE_NEWPID and fork_newpid functionLaurent Bercot2024-09-121-0/+67
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkptemp3Laurent Bercot2024-05-032-17/+26
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-161-1/+1
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revamp case functions, add strcasestr() fallbackLaurent Bercot2023-09-221-0/+28
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix allread errno managementLaurent Bercot2022-07-181-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.0. librandom revamp.Laurent Bercot2022-04-091-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Huge incompatible changes.Laurent Bercot2021-07-283-8/+8
| | | | | | | | | | | | - Obsolete skalibs/environ.h and skalibs/getpeereid.h removed. - rc4 and md5 removed. - All *_t types renamed to avoid treading on POSIX namespace. - subgetopt() renamed to lgetopt(). - signal functions reworked; skasigaction removed; sig_stack removed - Various functions removed: skaoffsetof(), selfpipe_untrap() - New posixplz function: munmap_void. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New 2.11.0.0 branch with several modificationsLaurent Bercot2021-07-231-0/+13
| | | | | | | | - libbiguint removed - cdb_make changed to cdbmake (because different ui) - cdb redesigned Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkptemp2()Laurent Bercot2020-12-092-15/+25
|
* Separate and expose ancil_recv_fd/ancil_send_fdLaurent Bercot2020-10-261-1/+3
| | | | | | | The goal is to make late channel creation easy, as opposed to textclient which always creates a new channel at start time. This commit also moves posixishard.h inclusions as late as possible.
* execvep_internal: accommodate broken PATHs with ENOTDIR testLaurent Bercot2020-02-191-1/+1
|
* Factor all the BSD complaints into one new headerLaurent Bercot2019-07-221-0/+1
|
* Add skalibs/posixishard.hLaurent Bercot2019-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore.
* Rename mkLtemp to mkhtemp; try to make MacOS happyLaurent Bercot2019-02-061-1/+1
|
* Proper use of umask for mk[bcp]tempLaurent Bercot2019-01-083-0/+6
|
* Really add mkfootemp and autosurf, I guess ?Laurent Bercot2018-12-088-0/+132
|
* bugfix: if HASGETPEERUCRED, getpeereid() had UBLaurent Bercot2018-09-171-1/+1
|
* Add unlink_void, change dir_close, prepare for 2.7.0.0Laurent Bercot2018-07-211-0/+12
|
* Add execvep_loose, prepare for 2.6.4.0Laurent Bercot2018-02-144-29/+62
|
* Big 2.6.3.0 reorganizationLaurent Bercot2017-12-217-0/+465
- Add libposixplz, update headers - Add memmem and friends - Add textmessage to libunixonacid - Update some sysdeps tests