HP-UX 10.20 to 11.0: strerr_r() obsolete, FPU exception handling interface changed. Also use X/Open networking lib when available.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@530 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -52,7 +52,7 @@ Int LoadForeign( StringList ofiles, StringList libs,
|
||||
ofiles->handle = AllocCodeSpace( sizeof(shl_t) );
|
||||
*(shl_t *)ofiles->handle = shl_load( FileNameBuf, BIND_DEFERRED, 0 );
|
||||
if( *(shl_t *)ofiles->handle == NULL ) {
|
||||
strerror_r( errno, LoadMsg, 512 );
|
||||
strncpy( LoadMsg, strerror(errno), 512 );
|
||||
return LOAD_FAILLED;
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ Int LoadForeign( StringList ofiles, StringList libs,
|
||||
|
||||
*(shl_t *)libs->handle = shl_load( FileNameBuf, BIND_DEFERRED, 0 );
|
||||
if( *(shl_t *)libs->handle == NULL ) {
|
||||
strerror_r( errno, LoadMsg, 512 );
|
||||
strncpy( LoadMsg, strerror(errno), 512 );
|
||||
return LOAD_FAILLED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user