summaryrefslogtreecommitdiff
path: root/glib/gspawn-private.h
Commit message (Collapse)AuthorAgeFilesLines
* glib/spawn: check user source_fds doesn't contain private fdsMarc-André Lureau2022-12-121-0/+22
| | | | | | | | If the user provided source_fds set contains internal fds, this is a programmer mistake. We can avoid further damage by preventing this situation. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
* glib: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
| | | | | | | | | | | | | | Add SPDX license (but not copyright) headers to all files which follow a certain pattern in their existing non-machine-readable header comment. This commit was entirely generated using the command: ``` git ls-files glib/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs' ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
* gspawn: Factor out error code conversion functionPhilip Withnall2018-06-121-0/+115
This will be used in gspawn-win32.c too in an upcoming commit. https://gitlab.gnome.org/GNOME/glib/issues/303 Signed-off-by: Philip Withnall <withnall@endlessm.com>