Репозитории ALT
S: | 1.2.7-alt4 |
5.1: | 1.2.7-alt1 |
4.1: | 1.2.7-alt1 |
4.0: | 1.2.7-alt1 |
3.0: | 1.2.7-alt1 |
Группа :: Работа с текстами
Пакет: ltxml
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: ltxml-without-sys_errlist.patch
Скачать
Скачать
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 */