From 543b5e901b744468356547ee61975d9d44fa8f32 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 28 Mar 2010 13:16:08 +0000 Subject: Change all our own code to use st_*tim instead of st_*timespec. Also remove some local patches to diff(1) which are now unneeded. --- gnu/usr.bin/diff/context.c.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/diff/context.c.diff') diff --git a/gnu/usr.bin/diff/context.c.diff b/gnu/usr.bin/diff/context.c.diff index ee1ab21..06cfb12 100644 --- a/gnu/usr.bin/diff/context.c.diff +++ b/gnu/usr.bin/diff/context.c.diff @@ -15,7 +15,7 @@ $FreeBSD$ INT_STRLEN_BOUND (time_t) + 11)]; struct tm const *tm = localtime (&inf->stat.st_mtime); - int nsec = TIMESPEC_NS (inf->stat.st_mtim); -+ long nsec = TIMESPEC_NS (inf->stat.st_mtimespec); ++ long nsec = TIMESPEC_NS (inf->stat.st_mtim); if (! (tm && nstrftime (buf, sizeof buf, time_format, tm, 0, nsec))) { - long int sec = inf->stat.st_mtime; -- cgit v1.1