Skip to content

Check for /proc/self/cmdline

LRN requested to merge lrn/glib:cygwin-proc-self-cmdline into master

Instead of hardcoding /proc/self/cmdline use for linux only, do a configure-time test for it.

Specifically, this enables /proc/self/cmdline use on Cygwin.

The configure-time test is very primitive (just tests that the file exists and that it's possible to read more than one byte from it), relying on the testsuite for more extensive checks.

Merge request reports