g_get_current_dir(): consult PWD first
authorRyan Lortie <desrt@desrt.ca>
Sun, 8 Dec 2013 23:18:16 +0000 (18:18 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 9 Dec 2013 17:10:16 +0000 (12:10 -0500)
commita22f77739dd4ec911d7bdc0f0fc61314e5f9f1cf
treea69b43102c3e5b16d978f9867490231465516f37
parent0f1579e62cded436c3fbfbeaf3130c8d8ffcb01c
g_get_current_dir(): consult PWD first

Check if the current directory is the same as $PWD.  This matches the
behaviour of the get_current_dir_name() function in glibc.

https://bugzilla.gnome.org/show_bug.cgi?id=705902
glib/gfileutils.c