A copy of the license is included in gfdl.sgml.
-->
-<!-- $Id: changes.sgml,v 1.53 2007-04-14 18:04:35 thib Exp $ -->
+<!-- $Id: changes.sgml,v 1.54 2007-06-03 17:54:10 thib Exp $ -->
<sect1 id="changes">
<title>Changes</title>
+ <itemizedlist>
+ <title>From version 3.0.3-rc1 to 3.0.3</title>
+ <listitem>
+ <para>The configure script now check that the make command is GNU make (which is required to build fcron).</para>
+ <para>Bug fix: better handling of getpwnam() errors (we cannot rely on errno to spot an error). This was causing problems for AIX for instance.</para>
+ </listitem>
+ </itemizedlist>
+
<itemizedlist>
<title>From version 3.0.2 to 3.0.3-rc1</title>
<listitem>
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: global.h,v 1.49 2007-04-14 18:04:15 thib Exp $ */
+ /* $Id: global.h,v 1.50 2007-06-03 17:51:50 thib Exp $ */
/*
*__xx__++ = '\0'; \
} while (0)
-
#define debug if(debug_opt) Debug
typedef struct env_t {
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: job.c,v 1.70 2007-04-14 18:04:08 thib Exp $ */
+ /* $Id: job.c,v 1.71 2007-06-03 17:48:23 thib Exp $ */
#include "fcron.h"
/* Obtain password entry and change privileges */
+ errno = 0;
if ((pas = getpwnam(cl->cl_runas)) == NULL)
- die("failed to get passwd fields for user \"%s\"", cl->cl_runas);
+ die_e("failed to get passwd fields for user \"%s\"", cl->cl_runas);
#ifdef HAVE_SETENV
setenv("USER", pas->pw_name, 1);