summaryrefslogtreecommitdiff
path: root/lib/get_ppid_of.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-051-1/+1
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* get_ppid_of, get_progname_of: Fix runtime error on Mac OS X < 10.5.Bruno Haible2021-12-211-7/+23
| | | | | | | | | | | | | Reported by Evan Miller <emmiller@gmail.com> <https://lists.gnu.org/archive/html/bug-gnulib/2021-12/msg00081.html>. * lib/get_ppid_of.c (proc_pidinfo): Declare with WEAK_IMPORT_ATTRIBUTE. (get_ppid_of): Test whether the symbol declared weak evaluates to non-NULL before invoking it. * lib/get_progname_of (get_progname_of): Declare with WEAK_IMPORT_ATTRIBUTE. (get_ppid_of): Test whether the symbol declared weak evaluates to non-NULL before invoking it.
* get_ppid_of, get_progname_of: Fix compilation error on Mac OS X < 10.5.Bruno Haible2021-12-111-4/+16
| | | | | | | | | | | | Reported by Ryan Schmidt <gnulib@ryandesign.com> in <https://lists.gnu.org/archive/html/bug-gnulib/2021-12/msg00011.html>. * lib/get_ppid_of.c: Include AvailabilityMacros.h (get_ppid_of): Use MAC_OS_X_VERSION_MAX_ALLOWED and MAC_OS_X_VERSION_MIN_REQUIRED. * lib/get_progname_of: Include AvailabilityMacros.h (get_progname_of): Use MAC_OS_X_VERSION_MAX_ALLOWED and MAC_OS_X_VERSION_MIN_REQUIRED.
* get_ppid_of: Add support for DragonFly BSD.Bruno Haible2021-06-081-2/+2
| | | | * lib/get_ppid_of.c: Treat DragonFly BSD like FreeBSD.
* Put LGPLv3+ notices in source files where appropriate.Bruno Haible2021-06-041-7/+7
| | | | | * lib/**.{h,c}: Use LGPLv3+ notice whenever the module description says so.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* get_ppid_of: Make more robust in multithreaded applications.Bruno Haible2020-05-281-5/+5
| | | | | * lib/get_ppid_of.c (get_ppid_of): Pass an O_CLOEXEC flag to open(). * modules/get_ppid_of (Depends-on): Add 'open'.
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* get_ppid_of: New module.Bruno Haible2019-08-141-0/+341
* lib/get_ppid_of.h: New file. * lib/get_ppid_of.c: New file. * modules/get_ppid_of: New file.