Re: crypt_r()?

2022-02-15 Thread Niclas Rosenvik
On Sat, 12 Feb 2022 23:32:31 +0100 Joerg Sonnenberger wrote: > Am Sat, Feb 12, 2022 at 05:25:11PM +0100 schrieb Niclas Rosenvik: > > On Mon, 7 Feb 2022 16:12:17 +0100 > > Thomas Klausner wrote: > > > > > Hi! > > > > > > I've been ask

Re: crypt_r()?

2022-02-12 Thread Niclas Rosenvik
On Mon, 7 Feb 2022 16:12:17 +0100 Thomas Klausner wrote: > Hi! > > I've been asked by the filezilla software developer if NetBSD will add > crypt_r() as a thread-safe crypt() replacement. > > Is anyone interested in working on this? > Thomas Here is a cvs diff that implements crypt_r, as

fdopendir visibility in dirent.h

2021-12-29 Thread Niclas Rosenvik
on putting #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0) >= 700 || \ defined(_NETBSD_SOURCE) #ifndef __LIBC12_SOURCE__ DIR *fdopendir(int); #endif #endif in dirent.h so that it is also visible to POSIX and XOPEN users if it is okay and no one objects to it. Niclas Rosenvik

Re: Adding ?

2021-05-12 Thread Niclas Rosenvik
) and SET(CMAKE_CXX_EXTENSIONS ON) . see cmake/build_configurations/compiler_options.cmake in the source tree. Niclas Rosenvik

Re: sysconf(_SC_RTSIG_MAX)

2019-10-16 Thread Niclas Rosenvik
_POSIX_RTSIG_MAX shall be defined to 8 in limits.h. Make sysconf return SIGRTMAX - SIGRTMIN and define _POSIX_RTSIG_MAX to 8 in limits.h and I think you are correct. Regards Niclas Rosenvik