gspawn: Factor out error code conversion functiond157102a5430867b0f482ea7e6177f2f2fea0272100/head
commitd157102a5430867b0f482ea7e6177f2f2fea0272
authorPhilip Withnall <withnall@endlessm.com>
Tue, 12 Jun 2018 15:00:13 +0000 (12 16:00 +0100)
committerPhilip Withnall <withnall@endlessm.com>
Tue, 12 Jun 2018 15:13:51 +0000 (12 16:13 +0100)
tree372c202c2ff401f7d29a02f77046a1b4ac6f0805
parent6c8da69443ee8eee1f06dfdf6a01500d5402a7f3
gspawn: Factor out error code conversion function

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>
glib/Makefile.am
glib/gspawn-private.h [new file with mode: 0644]
glib/gspawn.c