* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20080220"
+#define MAIL_RELEASE_DATE "20080221"
#define MAIL_VERSION_NUMBER "2.6"
#ifdef SNAPSHOT
master.o: ../../include/open_lock.h
master.o: ../../include/safe.h
master.o: ../../include/set_eugid.h
+master.o: ../../include/set_ugid.h
master.o: ../../include/stringops.h
master.o: ../../include/sys_defs.h
master.o: ../../include/vbuf.h
#include <argv.h>
#include <safe.h>
#include <set_eugid.h>
+#include <set_ugid.h>
/* Global library. */
* Lock down the Postfix-writable data directory.
*/
vstring_sprintf(data_lock_path, "%s/%s.lock", var_data_dir, var_procname);
- SAVE_AND_SET_EUGID(var_owner_uid, var_owner_gid);
+ set_eugid(var_owner_uid, var_owner_gid);
data_lock_fp =
open_lock(vstring_str(data_lock_path), O_RDWR | O_CREAT, 0644, why);
- RESTORE_SAVED_EUGID();
+ set_ugid(getuid(), getgid());
if (data_lock_fp == 0)
msg_fatal("open lock file %s: %s",
vstring_str(data_lock_path), vstring_str(why));