On Tue, May 20, 2014 at 04:31:10PM -0600, Andreas Dilger wrote: > The strptime() function does not update fields in struct tm that are > not specified in the input format. The glibc implementation sets the > tm_yday field (%j) when any of the year (%Y), month (%m), or day (%d) > fields are changed, but the MacOS strptime() does not set tm_yday in > this case. This caused string_to_time() to calculate the wrong Unix > epoch on MacOS. If tm_yday is unset, compute it in string_to_time(). > > Signed-off-by: Andreas Dilger <adilger@xxxxxxxxx> Thanks, applied. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html