From 3ec864159a1792df642a75611363c39fb1fd1cd3 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 5 Aug 2005 07:22:10 +0000 Subject: enabled compilation with MinGW. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@469 ee746299-78ed-0310-b773-934348b2243d --- src/addrcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/addrcache.c') 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; } -- cgit v1.2.3