Changeset 3770 in MondoRescue


Ignore:
Timestamp:
Jun 17, 2020, 2:26:14 AM (4 years ago)
Author:
Bruno Cornec
Message:

Fix for a new ts structure memeber in busybox for newer distros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/coreutils/date.c

    r3621 r3770  
    269269#endif
    270270    }
     271#if !ENABLE_FEATURE_DATE_NANO
     272    ts.tv_nsec = 0;
     273#endif
    271274    localtime_r(&ts.tv_sec, &tm_time);
    272275
     
    291294            tm_time.tm_isdst = -1;
    292295        ts.tv_sec = validate_tm_time(date_str, &tm_time);
     296        ts.tv_nsec = 0;
    293297
    294298        maybe_set_utc(opt);
Note: See TracChangeset for help on using the changeset viewer.