Do not use lstat() to check what file is

master
Yevgen Muntyan 2007-03-22 11:24:03 -05:00
parent 6d2862788e
commit ed1989d42e
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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