Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Fergus
> Found it. > Fixed in CVS. Downloaded cygwin1-20100824.dll. Working perfectly. Thanks so much. Fergus -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Andrey Repin
Greetings, Corinna Vinschen! >> >> The change from binmode to textmode seems to be induced by the >> >> command mount -c "/" [...] >> >> > Found it. The method to compute the mount flags from the options >> > given to the mount(1) command have been changed and accidentally the >> > default is 0,

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Corinna Vinschen
On Aug 24 22:24, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > >> The change from binmode to textmode seems to be induced by the > >> command mount -c "/" [...] > > > Found it. The method to compute the mount flags from the options > > given to the mount(1) command have been changed and

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Andrey Repin
Greetings, Corinna Vinschen! >> The change from binmode to textmode seems to be induced by the >> command mount -c "/" [...] > Found it. The method to compute the mount flags from the options > given to the mount(1) command have been changed and accidentally the > default is 0, instead of MOUNT_

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Corinna Vinschen
On Aug 24 14:12, Fergus wrote: > >> Would you mind to paste the file content of /etc/fstab and, if it > >> exists, /etc/fstab.d/$USER into your reply? > > > Oh and, btw., could you please test if this still occurs with the > > latest developer snapshot from http://cygwin.com/snapshots/ > > Thanks

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Fergus
>> Would you mind to paste the file content of /etc/fstab and, if it >> exists, /etc/fstab.d/$USER into your reply? > Oh and, btw., could you please test if this still occurs with the > latest developer snapshot from http://cygwin.com/snapshots/ Thanks as usual for taking an interest and trying

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Corinna Vinschen
On Aug 24 10:09, Corinna Vinschen wrote: > On Aug 24 07:17, Fergus wrote: > > This is an utterly horrid change (binmode to textmode) but I guess > > it is intended (and was probably discussed forever in advance of > > making it). Please can you confirm (intended change), or is this a > > glitch (u

Re: Wrong/ inconsistent responses from diff

2010-08-24 Thread Corinna Vinschen
On Aug 24 07:17, Fergus wrote: > >I'd suspect that /m and /d are on text mounts > >and your home directory is on a binary mount, or vice versa. > > Thank you. Something's changed though not quite as described above. > > Has something changed in the conventions for default mounts? I've > either mi

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Fergus
I'd suspect that /m and /d are on text mounts and your home directory is on a binary mount, or vice versa. Thank you. Something's changed though not quite as described above. Has something changed in the conventions for default mounts? I've either missed something, or I'm doing something wrong

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Rolf Campbell
On 2010-08-23 09:57, Fergus wrote: Somehow diff identifies differences in two identical binary files. In the following example two duplicate files are located (i) in my home directory (/m/home/user) and (ii) at the root of a different drive (D:). [snip] ~> diff -s INTERVAL.pdf /d/INTERVAL.pdf

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Andy Koppe
On 23 August 2010 14:57, Fergus wrote: > (Very sorry if this arrives twice: one sent 3H ago seems not to have made it > and I think maybe a AV induced signature was the cause: not provided with > this despatch.) > > Ouch, this is weird and inexplicable. > > Somehow diff identifies differences in tw

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Fergus
> Nothing to do with cygwin1.dll 1.5 to 1.6? > Reverted to [prev] diffutils v.2.8.7-2 and > this strange contradiction went away ... Not quite. Still with cygwin v.1.6 but having reverted to diffutils v.2.8.7-2 I'm still getting weird responses (though many fewer). The two directories explored

Re: Wrong/ inconsistent responses from diff

2010-08-23 Thread Fergus
~> diff -s INTERVAL.pdf /d/INTERVAL.pdf Files INTERVAL.pdf and /d/INTERVAL.pdf differ ~> diff -s ./INTERVAL.pdf /d/INTERVAL.pdf Files ./INTERVAL.pdf and /d/INTERVAL.pdf differ ~> diff -s ~/INTERVAL.pdf /d/INTERVAL.pdf Files /home/user/INTERVAL.pdf and /d/INTERVAL.pdf differ ~> diff -s /home/user/I

Wrong/ inconsistent responses from diff

2010-08-23 Thread Fergus
(Very sorry if this arrives twice: one sent 3H ago seems not to have made it and I think maybe a AV induced signature was the cause: not provided with this despatch.) Ouch, this is weird and inexplicable. Somehow diff identifies differences in two identical binary files. In the following exam