diff options
author | Colin Walters <walters@verbum.org> | 2013-07-25 13:02:59 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-28 17:48:06 -0400 |
commit | cf55433f17957c13fc4a345d52d708400215e192 (patch) | |
tree | b51a9ac25a588b650430366c8f56c46f7fdf5791 /gir | |
parent | 242210d8d5fe5a1c2e607a2d1f3ef4077ecab532 (diff) | |
download | gobject-introspection-cf55433f17957c13fc4a345d52d708400215e192.tar.gz |
scanner: Consistently use realpath() on input filenames
The scanner has some logic to compare the filenames specified
on the command line against files it will parse. For the latter,
it uses g_realpath(). With this patch, we also use g_realpath()
on the command line arguments.
This fixes g-i when used inside jhbuild in a gnome-ostree VM,
which has a symbolic link /home -> /sysroot/home. This caused
a realpath mismatch, and then we'd ignore the input source files.
It'd be best to get out of the realpath business entirely...but
a patch to do that seems more likely to break.
https://bugzilla.gnome.org/show_bug.cgi?id=704864
Diffstat (limited to 'gir')
0 files changed, 0 insertions, 0 deletions