+
+ if (infilename) {
+ result = gom_parse_file(infilename);
+ }
+ else {
+ result = gom_new_model();
+ if (result == 0)
+ result |= update_header(encoding);
+ }
+ /* Make sure we get a reproduceable output, in different timezones */
+ if (result == 0) {
+ tval = TIMESTAMP;
+ tm_ptr = gmtime(&tval);
+ tm_ptr->tm_isdst = 0;
+ tval = mktime(tm_ptr);
+ result = gom_header_update_timestamp(tval);
+ }