Projects
Eulaceura:Mainline:GA
hadoop-3.1
_service:obs_scm:0001-sys_errlist-undeclared.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-sys_errlist-undeclared.patch of Package hadoop-3.1
From 11b1ee8aa01718d68dd332f08b27d4feffc3da31 Mon Sep 17 00:00:00 2001 From: wang--ge <wang__ge@126.com> Date: Fri, 26 Mar 2021 10:18:23 +0800 Subject: [PATCH] modify --- .../hadoop-common/src/main/native/src/exception.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/main/native/src/exception.c b/hadoop-common-project/hadoop-common/src/main/native/src/exception.c index fc072e8..a678688 100644 --- a/hadoop-common-project/hadoop-common/src/main/native/src/exception.c +++ b/hadoop-common-project/hadoop-common/src/main/native/src/exception.c @@ -110,15 +110,6 @@ jthrowable newIOException(JNIEnv* env, const char *fmt, ...) const char* terror(int errnum) { - -#if defined(__sun) -// MT-Safe under Solaris which doesn't support sys_errlist/sys_nerr return strerror(errnum); -#else - if ((errnum < 0) || (errnum >= sys_nerr)) { - return "unknown error."; - } - return sys_errlist[errnum]; -#endif } -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2