[dovecot-cvs] dovecot/src/master auth-process.c,1.42,1.43 login-process.c,1.41,1.42
cras at procontrol.fi
cras at procontrol.fi
Thu May 8 08:01:53 EEST 2003
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv29591
Modified Files:
auth-process.c login-process.c
Log Message:
If exec() fails, show the full path rather than argv[0]
Index: auth-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/auth-process.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- auth-process.c 8 May 2003 03:24:57 -0000 1.42
+++ auth-process.c 8 May 2003 04:01:51 -0000 1.43
@@ -340,7 +340,8 @@
execv(group->set->executable, argv);
- i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m", argv[0]);
+ i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m",
+ group->set->executable);
return -1;
}
Index: login-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/login-process.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- login-process.c 27 Apr 2003 01:21:50 -0000 1.41
+++ login-process.c 8 May 2003 04:01:51 -0000 1.42
@@ -491,7 +491,8 @@
execv(group->set->executable, (char **) argv);
- i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m", argv[0]);
+ i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m",
+ group->set->executable);
return -1;
}
More information about the dovecot-cvs
mailing list