Group :: Text tools
RPM: ltxml
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ltxml-without-sys_errlist.patch
Download
Download
diff --git a/ltxml/XML/src/std/lt-safe.c b/ltxml/XML/src/std/lt-safe.c
index a9ffe83..1e5cc22 100644
--- a/ltxml/XML/src/std/lt-safe.c
+++ b/ltxml/XML/src/std/lt-safe.c
@@ -25,13 +25,7 @@
/* to avoid applications having to know about errno, or use libg++ */
/* Why aren't we using strerror(errno)????*/
const char *strErr( void ) {
-#ifdef macintosh
- return "Macs don't have sys_errlist";
-#elif defined(__CYGWIN__)
- return strerror(errno);
-#else
- return sys_errlist[errno];
-#endif
+ return "New glibc don't have sys_errlist";
}
/* Open a filename */