* gnulib: Update to latest.
* src/date.c (includes, batch_convert, main): Track rename.
* src/touch.c (includes, get_reldate): Likewise.
* doc/coreutils.texi (Top, Date input formats): Likewise.
* bootstrap.conf (gnulib_modules): Likewise.
* doc/Makefile.am (EXTRA_DIST): Likewise.
* doc/.gitignore: Likewise.
* bootstrap: Synchronize from upstream.
#! /bin/sh
# Print a version string.
-scriptversion=2010-10-05.14; # UTC
+scriptversion=2010-10-05.15; # UTC
# Bootstrap this package from checked-out sources.
app=libtoolize
fi
# Honor $APP variables ($TAR, $AUTOCONF, etc.)
- appvar=`echo $app | tr 'a-z-' 'A-Z_'`
+ appvar=`echo $app | tr '[a-z]-' '[A-Z]_'`
test "$appvar" = TAR && appvar=AMTAR
eval "app=\${$appvar-$app}"
inst_ver=$(get_version $app)
fsync
ftello
fts
- get_date
getgroups
gethrxtime
getline
netinet_in
nproc
obstack
+ parse-datetime
pathmax
perl
physmem
gendocs_template
get_date.texi
getdate.texi
+parse-datetime.texi
stamp-vti
version.texi
info_TEXINFOS = coreutils.texi
-EXTRA_DIST = perm.texi get_date.texi constants.texi fdl.texi
+EXTRA_DIST = perm.texi parse-datetime.texi constants.texi fdl.texi
# The following is necessary if the package name is 8 characters or longer.
# If the info documentation would be split into 10 or more separate files,
* Pure numbers in date strings:: 19931219, 1440
* Seconds since the Epoch:: @@1078100502
* Specifying time zone rules:: TZ="America/New_York", TZ="UTC0"
-* Authors of get_date:: Bellovin, Eggert, Salz, Berets, et al
+* Authors of parse_datetime:: Bellovin, Eggert, Salz, Berets, et al
Opening the software toolbox
@chapter File permissions
@include perm.texi
-@include get_date.texi
+@include parse-datetime.texi
@c What's GNU?
@c Arnold Robbins
-Subproject commit ae0a6b2df106b7ed760cc393312997adf995cc3b
+Subproject commit 2bb63bfb25474ea147ee9f1523c0337997359a4c
#include "system.h"
#include "argmatch.h"
#include "error.h"
-#include "getdate.h"
+#include "parse-datetime.h"
#include "posixtm.h"
#include "quote.h"
#include "stat-time.h"
break;
}
- if (! get_date (&when, line, NULL))
+ if (! parse_datetime (&when, line, NULL))
{
if (line[line_length - 1] == '\n')
line[line_length - 1] = '\0';
{
if (set_datestr)
datestr = set_datestr;
- valid_date = get_date (&when, datestr, NULL);
+ valid_date = parse_datetime (&when, datestr, NULL);
}
}
#include "argmatch.h"
#include "error.h"
#include "fd-reopen.h"
-#include "getdate.h"
+#include "parse-datetime.h"
#include "posixtm.h"
#include "posixver.h"
#include "quote.h"
get_reldate (struct timespec *result,
char const *flex_date, struct timespec const *now)
{
- if (! get_date (result, flex_date, now))
+ if (! parse_datetime (result, flex_date, now))
error (EXIT_FAILURE, 0, _("invalid date format %s"), quote (flex_date));
}