diff options
author | James Youngman <jay@gnu.org> | 2008-02-16 19:29:52 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-02-16 19:30:55 +0100 |
commit | 2c42c1c2cef2880e3d1653df371709669536adbb (patch) | |
tree | f1f8df6f044b829b61c89be2555e8bb7be10797c /TODO | |
parent | cc8b73b1d9cb63c89a76db8ece8a699fb98fff1a (diff) | |
download | coreutils-2c42c1c2cef2880e3d1653df371709669536adbb.tar.xz |
Use the gettime module in ls.c.
Implement TODO list item to make ls.c use the gettime module.
* TODO (ls): Now that we use gettime, remove the TODO entry.
* src/ls.c: Use timespec.h and the gettime module.
(current_time): Change type from time_t to struct timespec.
(current_time_ns): Removed.
(get_current_time): Removed.
(print_long_format): Remove when and when_ns, since we have
when_timespec anyway. Change type of variable six_months_ago from
time_t to struct timespec.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -177,11 +177,9 @@ Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be pr's use of nstrftime can make it malloc a very large (up to SIZE_MAX) buffer -ls.c: use gettime rather than clock_gettime, gettimeofday, time - ----- -Copyright (C) 2002-2007 Free Software Foundation, Inc. +Copyright (C) 2002-2008 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 |