* lib/stat-time.h (includes): Likewise.
* lib/utimecmp.c (includes): Likewise.
* lib/utimens.h (includes): Likewise.
* lib/getdate.y (includes): Also include "timespec.h" for use
internal to the module.
* modules/utimens (Depends-on): Revert yesterday's patch.
* modules/nanosleep (Depends-on): Add missing dependency.
+2007-02-23 Eric Blake <ebb9@byu.net>
+
+ * lib/getdate.h (includes): Include <time.h>, not "timespec.h".
+ * lib/stat-time.h (includes): Likewise.
+ * lib/utimecmp.c (includes): Likewise.
+ * lib/utimens.h (includes): Likewise.
+ * lib/getdate.y (includes): Also include "timespec.h" for use
+ internal to the module.
+ * modules/utimens (Depends-on): Revert yesterday's patch.
+ * modules/nanosleep (Depends-on): Add missing dependency.
+
2007-02-22 Bruno Haible <bruno@clisp.org>
* lib/glob.c: Don't include getlogin_r.h.
long lines.
2007-02-17 Ben Pfaff <blp@cs.stanford.edu>
- Bruno Haible <bruno@clisp.org>
+ Bruno Haible <bruno@clisp.org>
* modules/tmpfile: New file.
* lib/tmpfile.c: New file.
2007-02-03 Jim Meyering <jim@meyering.net>
- Give tools a better chance to allocate space for very large buffers.
+ Give tools a better chance to allocate space for very large buffers.
* lib/xalloc.h (x2nrealloc): Use 3/2, not 2, as buffer size factor.
Make pwd and readlink work also when run with an unreadable parent dir
/* Parse a string into an internal time stamp.
- Copyright (C) 1995, 1997, 1998, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 1998, 2003, 2004, 2007 Free Software
+ Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <stdbool.h>
-#include "timespec.h"
+#include <time.h>
bool get_date (struct timespec *, char const *, struct timespec const *);
%{
/* Parse a string into an internal time stamp.
- Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006 Free Software
+ Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify
#include <config.h>
#include "getdate.h"
+#include "timespec.h"
/* There's no need to extend the stack, so there's no need to involve
alloca. */
/* stat-related time functions.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef STAT_TIME_H
#define STAT_TIME_H 1
-#include "timespec.h"
+#include <time.h>
/* STAT_TIMESPEC (ST, ST_XTIM) is the ST_XTIM member for *ST of type
struct timespec, if available. If not, then STAT_TIMESPEC_NS (ST,
/* utimecmp.c -- compare file time stamps
- Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
+#include <time.h>
#include "hash.h"
#include "intprops.h"
#include "stat-time.h"
-#include "timespec.h"
#include "utimens.h"
#include "verify.h"
#include "xalloc.h"
-#include "timespec.h"
+#include <time.h>
int futimens (int, char const *, struct timespec const [2]);
int utimens (char const *, struct timespec const [2]);
Depends-on:
clock-time
extensions
+gettime
stdbool
sys_time
time
Depends-on:
sys_time
time
-timespec
configure.ac:
gl_UTIMENS