no sym links on win32, no lstat in msvcrt

2002-02-10  Hans Breuer  <hans@breuer.org>

	* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt

	* tests/makefile.msc.in : added uri-test
This commit is contained in:
Hans Breuer 2002-02-10 16:42:36 +00:00 committed by Hans Breuer
parent 8d45831997
commit 96dece61ef
10 changed files with 54 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

@ -1,3 +1,9 @@
2002-02-10 Hans Breuer <hans@breuer.org>
* glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
* tests/makefile.msc.in : added uri-test
2002-02-09 Darin Adler <darin@bentspoon.com>
* glib/gmarkup.c: (xml_isspace): New.

View File

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

View File

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