mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-25 21:46:14 +01:00
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:
parent
8d45831997
commit
96dece61ef
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -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>
|
2002-02-09 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmarkup.c: (xml_isspace): New.
|
* glib/gmarkup.c: (xml_isspace): New.
|
||||||
|
@ -98,10 +98,14 @@ g_file_test (const gchar *filename,
|
|||||||
|
|
||||||
if (test & G_FILE_TEST_IS_SYMLINK)
|
if (test & G_FILE_TEST_IS_SYMLINK)
|
||||||
{
|
{
|
||||||
|
#ifdef G_OS_WIN32
|
||||||
|
/* no sym links on win32, no lstat in msvcrt */
|
||||||
|
#else
|
||||||
struct stat s;
|
struct stat s;
|
||||||
|
|
||||||
if ((lstat (filename, &s) == 0) && S_ISLNK (s.st_mode))
|
if ((lstat (filename, &s) == 0) && S_ISLNK (s.st_mode))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (test & (G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_DIR))
|
if (test & (G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_DIR))
|
||||||
|
@ -45,7 +45,8 @@ TESTS = \
|
|||||||
tree-test.exe \
|
tree-test.exe \
|
||||||
type-test.exe \
|
type-test.exe \
|
||||||
unicode-caseconv.exe \
|
unicode-caseconv.exe \
|
||||||
unicode-encoding.exe
|
unicode-encoding.exe \
|
||||||
|
uri-test.exe
|
||||||
|
|
||||||
DLLS = \
|
DLLS = \
|
||||||
libmoduletestplugin_a.dll \
|
libmoduletestplugin_a.dll \
|
||||||
|
Loading…
Reference in New Issue
Block a user