Logo Search packages:      
Sourcecode: jbofihe version File versions  Download package

minitouch.c

/*
  Program used to force the modification times of the files when compiling on
  DOS. (Workaround for what happens during summer time when non-volatile clock
  is kept on UTC - DJGPP make complains everything is in the future.)

  $Id: minitouch.c,v 1.2 2000/10/24 22:59:19 richard Exp $

  COPYRIGHT

*/

#include <stddef.h>
#include <sys/types.h>
#include <utime.h>

int main (int argc, char **argv)
{
  while (*argv) {
    if (utime(*argv, NULL) < 0) {
      perror("Couldn't set times for %s", *argv);
      exit(1);
    }
    ++argv;
  }

  return 0;
}

Generated by  Doxygen 1.6.0   Back to index