out it didn't cause a functional bug) and added #define _XOPEN_SOURCE on
non-Solaris systems to pick up strptime()'s definition.
+2005-01-19 Matthias Andree <matthias.andree@gmx.de>
+
+ * set_fields.c: Add _XOPEN_SOURCE #define on all but Solaris
+ systems so that strptime() gets defined.
+ (parse_bmap): Add missing return statement.
+
2005-01-07 Theodore Ts'o <tytso@mit.edu>
* debug_cmds.ct: Make the official name of set_inode be
* %End-Header%
*/
+#ifndef __sun__
+ /* Solaris for some strange reason drops struct
+ timeval if _XOPEN_SOURCE defined */
+#define _XOPEN_SOURCE /* glibc2 needs this for strptime */
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
if (retval) {
com_err("set_inode", retval, "while setting block map");
}
+ return retval;
}