diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-05 07:22:10 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-05 07:22:10 +0000 |
commit | 3ec864159a1792df642a75611363c39fb1fd1cd3 (patch) | |
tree | 2441b71b8b443445b7bb1c5d4ac464e70679577f /src/addrcache.c | |
parent | 6247f6269afff27ecfe2ca9650e151f440ec806a (diff) |
enabled compilation with MinGW.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@469 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/addrcache.c')
-rw-r--r-- | src/addrcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/addrcache.c b/src/addrcache.c index 6a491256..28a65d58 100644 --- a/src/addrcache.c +++ b/src/addrcache.c @@ -194,7 +194,7 @@ gboolean addrcache_check_file( AddressCache *cache, gchar *path ) { struct stat filestat; retVal = TRUE; if( path ) { - if( 0 == lstat( path, &filestat ) ) { + if( 0 == stat( path, &filestat ) ) { if( filestat.st_mtime == cache->modifyTime ) retVal = FALSE; } } @@ -209,7 +209,7 @@ gboolean addrcache_mark_file( AddressCache *cache, gchar *path ) { gboolean retVal = FALSE; struct stat filestat; if( path ) { - if( 0 == lstat( path, &filestat ) ) { + if( 0 == stat( path, &filestat ) ) { cache->modifyTime = filestat.st_mtime; retVal = TRUE; } |