Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37867343
en ru br
ALT Linux repos
S:1.2.7-alt4
5.0: 1.2.7-alt1
4.1: 1.2.7-alt1
4.0: 1.2.7-alt1
3.0: 1.2.7-alt1

Group :: Text tools
RPM: ltxml

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ltxml-without-sys_errlist.patch
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 */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin