GNU bug report logs -
#48081
diff on windows doest work with same path but different drives
Previous Next
Full log
Message #8 received at 48081 <at> debbugs.gnu.org (full text, mbox):
after little research iam found the issue
iam using many cloned virtual disk drives
which has same serial number (becase was cloned)
diff uses "stat" call to get info about disk
so when i use sync between this disks
i have another mont drive letter but same serial number, same path
diff -urN D:\path E:\path give me there no diff, path the same
so i propose little fix for this
just edit at the file diffutils-3.7\lib\stat-w32.c
to "buf->st_dev" after assign "VolumeSerialNumber"
add disk drive letter
this will produce unique "st_dev"
and diff will work for such cases
This bug report was last modified 4 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.