rem: return status;
add: return ok;
context: batch_convert (const char *input_filename, const char *format){  int status;  FILE *in_stream;  char *line;  int line_length;  size_t buflen;  struct timespec when;  if (strcmp (input_filename, "-") == 0)    {      input_filename = _("standard input");      in_stream = stdin;    }  else    {      in_stream = fopen (input_filename, "r");      if (in_stream == NULL)	{	  error (EXIT_FAILURE, errno, "`%s'", input_filename);	}    }  line = NULL;  buflen = 0;  status = 0;  while (1)    {      line_length = getline (&line, &buflen, in_stream);      if (line_length < 0)	{	  /* FIXME: detect/handle error here.  */	  break;	}      when.tv_sec = get_date (line, NULL);      when.tv_nsec = 0; /* FIXME: get_date should set this.  */      if (when.tv_sec == -1)	{	  if (line[line_length - 1] == '\n')	    line[line_length - 1] = '\0';	  error (0, 0, _("invalid date `%s'"), line);	  status = 1;	}      else	{	  show_date (format, when);	}    }  if (fclose (in_stream) == EOF)    error (2, errno, "`%s'", input_filename);  if (line != NULL)    free (line);  return status;}