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:
stasinos
2002-06-13 18:24:04 +00:00
parent 60ae7a9ce5
commit 79372c4167
5 changed files with 1853 additions and 4509 deletions

View File

@@ -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;
}