On 02/26/2014 08:33 PM, Paul Eggert wrote: > Thanks, I pushed the attached coreutils patches to fix that. I figure > if sorting by inode helps tar it'll help cp too, so I used that.
Thanks.
I'm not sure, but doesn't coreutils support platforms
where struct dirent lacks a working d_ino?
enum savedir_option
{
SAVEDIR_SORT_NONE,
SAVEDIR_SORT_NAME
#if D_INO_IN_DIRENT
, SAVEDIR_SORT_INODE
#endif
};
(That's why I proposed the more defensize ..._NONE.)
Have a nice day,
Berny
