diff --git a/ChangeLog b/ChangeLog index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 3ebbf3e7e..c3317b29d 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2002-02-10 Hans Breuer + + * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt + + * tests/makefile.msc.in : added uri-test + 2002-02-09 Darin Adler * glib/gmarkup.c: (xml_isspace): New. diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 9a51f2cdc..37b06f508 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -98,10 +98,14 @@ g_file_test (const gchar *filename, if (test & G_FILE_TEST_IS_SYMLINK) { +#ifdef G_OS_WIN32 + /* no sym links on win32, no lstat in msvcrt */ +#else struct stat s; if ((lstat (filename, &s) == 0) && S_ISLNK (s.st_mode)) return TRUE; +#endif } if (test & (G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_DIR)) diff --git a/tests/makefile.msc.in b/tests/makefile.msc.in index eaed071c8..3dcda2d4b 100644 --- a/tests/makefile.msc.in +++ b/tests/makefile.msc.in @@ -45,7 +45,8 @@ TESTS = \ tree-test.exe \ type-test.exe \ unicode-caseconv.exe \ - unicode-encoding.exe + unicode-encoding.exe \ + uri-test.exe DLLS = \ libmoduletestplugin_a.dll \