[dovecot-cvs] dovecot/src/lib env-util.c,1.3,1.4
cras at procontrol.fi
cras at procontrol.fi
Wed Dec 18 06:05:13 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c,1.17,1.18 common.h,1.6,1.7 imap-process.c,1.14,1.15 login-process.c,1.19,1.20 main.c,1.17,1.18
- Next message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-sync-full.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv20411/lib
Modified Files:
env-util.c
Log Message:
unix98 says putenv() returns non-zero for errors - check for that rather
than just negative values.
Index: env-util.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/env-util.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- env-util.c 18 Dec 2002 04:00:01 -0000 1.3
+++ env-util.c 18 Dec 2002 04:05:11 -0000 1.4
@@ -35,7 +35,7 @@
if (pool == NULL)
pool = pool_create("Environment", 1024, FALSE);
- if (putenv(p_strdup(pool, env)) < 0)
+ if (putenv(p_strdup(pool, env)) != 0)
i_fatal("Environment full, can't add: %s", env);
}
- Previous message: [dovecot-cvs] dovecot/src/master auth-process.c,1.17,1.18 common.h,1.6,1.7 imap-process.c,1.14,1.15 login-process.c,1.19,1.20 main.c,1.17,1.18
- Next message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-sync-full.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list