Subject: Re: Samba 2.2.0 fails to compile on NetBSD/i386 1.4.2
To: Olaf Seibert <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 05/20/2001 10:39:10
> It appears that line 29 of profile/profile.c is guilty:
> #define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
This is fixed in -current (and may even have been pulled up to the 1.5
branch). The symbolic defines in question are not mandated by any standard
and not documented on Solaris and Linux. In -current they have been added
as a portability courtesy, and are marked depreceated.
Take the brute force approach:
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
#define IPC_PERMS 0644
Come on, anyone using "umask" or numeric "chmod" arguments nows that...