incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Giffuni <...@apache.org>
Subject R: Sal Shadow API on Solaris
Date Mon, 02 Apr 2012 15:32:40 GMT
Hmm... this sounds wrong:for Solaris you should be including 
sal/osl/unx/system.hnot the OS2 header.
Pedro.

--- Lun 2/4/12, Jean-Louis 'Hans' Fuchs <jean-louis.fuchs@adfinis-sygroup.ch> ha scritto:
...

Hello
main/sal/osl/os2/system.h
586 #ifdef OLD_SHADOW_API587                 if (getspnam_r(pszUserName, &spwdStruct,
buffer, sizeof buff    er) != NULL)588 #else589                 if (getspnam_r(pszUserName,
&spwdStruct, buffer, sizeof buff    er, NULL) == 0)590 #endif
The build on OpenSolaris 2009.06 fails because it has the 4 param function. I defined OLD_SHADOW_API
and it works. IMO it should be defined by the build-env.
Best,	Jean-Louis

-- 
Adfinis SyGroup AG
Jean-Louis 'Hans' Fuchs, Software Engineer
Keltenstrasse 98 | CH-3018 Bern
Tel.: +41 31 550 31 11 | http://www.adfinis-sygroup.ch



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message