* This set of patterns is designed to parse a specific time of a specific day,
* since that's what the scheduler needs. Other requirements might need other
* pattern lists.
+ *
+ * NB DisOrder now uses my_strptime() instead of the system strptime(). This
+ * has some bits missing. Therefore check carefuly before adding to this
+ * table.
*/
static const char *const datemsk[] = {
/* ISO format */
case 0:
return mktime(&t);
case 7:
- fatal(0, "date string '%s' not in a recognized format", s);
+ disorder_fatal(0, "date string '%s' not in a recognized format", s);
case 8:
- fatal(0, "date string '%s' not representable", s);
+ disorder_fatal(0, "date string '%s' not representable", s);
default:
- fatal(0, "date string '%s' produced unexpected error %d", s, rc);
+ disorder_fatal(0, "date string '%s' produced unexpected error %d", s, rc);
}
}