Do not use lstat() to check what file is
parent
6d2862788e
commit
ed1989d42e
2
moo.mprj
2
moo.mprj
|
@ -35,7 +35,7 @@
|
|||
</configure>
|
||||
</optimized>
|
||||
</configurations>
|
||||
<file_selector_dir>/home/muntyan/projects/moo/moo/mooedit/</file_selector_dir>
|
||||
<file_selector_dir>/home/muntyan/projects/moo/moo/moopython/pygtk/</file_selector_dir>
|
||||
<run>
|
||||
<args>--g-fatal-warnings --new-app --mode=project</args>
|
||||
<exe>medit/medit</exe>
|
||||
|
|
|
@ -445,7 +445,7 @@ do_load (MooEdit *edit,
|
|||
g_return_val_if_fail (filename != NULL, ERROR_FILE);
|
||||
g_return_val_if_fail (encoding != NULL, ERROR_FILE);
|
||||
|
||||
if (g_lstat (filename, statbuf) == 0)
|
||||
if (g_stat (filename, statbuf) == 0)
|
||||
{
|
||||
if (
|
||||
#ifdef S_ISBLK
|
||||
|
|
Loading…
Reference in New Issue