six809
six809
Simply renaming 'sh' to 'newsh' in sdsnewlen() avoids a shadowed variable warning when invoking SDS_HDR_VAR().
Solaris 11 (possibly only 11.4) stat() can return st_[amc]tim.tv_nsec < 0, which leads to invalid values trying to set time on destination. Gnulib has a stat_time_normalize() function in stat-time.h that...
Solaris 11 (possibly only 11.4) can return negative values for st_atim.tv_nsec, st_mtim.tv_nsec and st_ctim.tv_nsec. Gnulib already identifies this as an issue and works around it with stat_time_normalize(). I've adapted that...