version 1.4, 2004/09/28 15:10:51 |
version 1.5, 2007/07/26 16:10:16 |
|
|
/* |
/* |
* Copyright (c) 1999, 2001 Todd C. Miller <Todd.Miller@courtesan.com> |
* Copyright (c) 1999-2005 Todd C. Miller <Todd.Miller@courtesan.com> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
* Materiel Command, USAF, under agreement number F39502-99-1-0512. |
* Materiel Command, USAF, under agreement number F39502-99-1-0512. |
*/ |
*/ |
|
|
#include "config.h" |
#include <config.h> |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/param.h> |
#include <sys/param.h> |
|
|
# include <unistd.h> |
# include <unistd.h> |
#endif /* HAVE_UNISTD_H */ |
#endif /* HAVE_UNISTD_H */ |
#include <fcntl.h> |
#include <fcntl.h> |
#include <time.h> |
#if TIME_WITH_SYS_TIME |
|
# include <time.h> |
|
#endif |
|
#ifndef HAVE_TIMESPEC |
|
# include <emul/timespec.h> |
|
#endif |
|
|
#include "sudo.h" |
#include "sudo.h" |
|
|
#ifndef lint |
#ifndef lint |
static const char rcsid[] = "$Sudo: fileops.c,v 1.9 2004/09/08 15:48:23 millert Exp $"; |
__unused static const char rcsid[] = "$Sudo: fileops.c,v 1.5.2.5 2007/06/12 01:28:41 millert Exp $"; |
#endif /* lint */ |
#endif /* lint */ |
|
|
/* |
/* |