← Commit list

b68bba564

Denys Vlasenko
Denys Vlasenko
2010-06-08
FAILED Duration: 35s

Subject

date: use the same code for FEATURE_DATE_NANO for glibc and uclibc

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/date.c+0 -4
@@ -204,11 +204,7 @@ int date_main(int argc UNUSED_PARAM, char **argv)
xstat(filename, &statbuf);
ts.tv_sec = statbuf.st_mtime;
#if ENABLE_FEATURE_DATE_NANO
-# if defined __GLIBC__ && !defined __UCLIBC__
ts.tv_nsec = statbuf.st_mtim.tv_nsec;
-# else
- ts.tv_nsec = statbuf.st_mtimensec;
-# endif
#endif
} else {
#if ENABLE_FEATURE_DATE_NANO