2006-09-06 Andrew W. Nosenko * xmlIO.c [HAVE_STAT && HAVE__STAT]: Fix the compilation breakage: macro that redefines of the 'stat' as '_stat' is removed (was introduced in the r1.172). * xmlIO.c: (xmlWrapOpenUtf8): (xmlWrapStatUtf8): don't use c++ style comment -- make 'gcc -pedantic' happy. Index: xmlIO.c =================================================================== RCS file: /cvs/gnome/libxml2/xmlIO.c,v retrieving revision 1.172 diff -u -p -r1.172 xmlIO.c --- xmlIO.c 1 Sep 2006 09:56:07 -0000 1.172 +++ xmlIO.c 6 Sep 2006 13:04:32 -0000 @@ -50,10 +50,6 @@ # endif # define HAVE_STAT # endif -#else -# ifdef HAVE__STAT -# define stat _stat -# endif #endif #ifdef HAVE_STAT # ifndef S_ISDIR @@ -598,7 +594,7 @@ xmlWrapOpenUtf8(const char *path,int mod fd = _wfopen(wPath, mode ? L"wb" : L"rb"); xmlFree(wPath); } - // maybe path in native encoding + /* maybe path in native encoding */ if(fd == NULL) fd = fopen(path, mode ? "wb" : "rb"); @@ -626,7 +622,7 @@ xmlWrapStatUtf8(const char *path,struct retval = _wstat(wPath,info); xmlFree(wPath); } - // maybe path in native encoding + /* maybe path in native encoding */ if(retval < 0) retval = stat(path,info); return retval;