Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-25 Thread Dirk Haller
- Von: Erwin Waterlander water...@xs4all.nl Gesendet: 24.02.2011 14:56:10 An: Dirk Haller hal...@dirk-haller.net, 614...@bugs.debian.org Betreff: Re: Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x Hi Dirk, I expected that the mode was printed for all files. Somehow

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-25 Thread Erwin Waterlander
Hi Dirk, Thanks for the feedback. On Debian 6 some pointer is going out of range. On Debian 5 the same version of dos2unix works correctly. I conclude there is some difference in the system that triggers the problem. Could it be that your Debian 5 system is 64 bit and your Debian 6 system 32

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-25 Thread Dirk Haller
Hi Erwin, good news...changing the Makefile did the trick. Both systems are 32bit, i am sorry but i don't have a debian 64bit system available at the moment. I can install a 64bit system next week and test it again, if that would be helpful? debian6.0:~# /root/bin/dos2unix

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-25 Thread Erwin Waterlander
On 02/25/2011 03:28 PM, Dirk Haller wrote: Hi Erwin, good news...changing the Makefile did the trick. Both systems are 32bit, i am sorry but i don't have a debian 64bit system available at the moment. I can install a 64bit system next week and test it again, if that would be helpful? Hi

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-24 Thread Dirk Haller
Hi Erwin, i tried the -f option, but it doesn't help. dos2unix doesn't complain about the filetype anymore, but it still fails to convert the text file. debian6.0:~# dos2unix -f /mnt/temp/win2k3-share/test2k3.txt dos2unix: converting file /mnt/temp/win2k3-share/test2k3.txt to UNIX format ...

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-24 Thread Erwin Waterlander
Hi Dirk, I expected that the mode was printed for all files. Somehow only the mode of the first file test2k.txt is printed. Could you try again, running dos2unix only on the problematic files? /root/bin/dos2unix /mnt/temp/win2k3-share/test2k3.txt /root/bin/dos2unix

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-22 Thread Dirk Haller
Hi, here's the stat output from both machines and some additional informations. As already mentioned, everything else like editing files and creating directories and so on works on the w2k3 and w2k8 shares. debian6.0:~# stat /mnt/temp/win2k-share/test2k.txt File:

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-22 Thread Erwin Waterlander
Hi Dirk, Debian 5.0.7 uses a different implementation of dos2unix (tofrodos) which doesn't perform the check. That explains the difference in behaviour. Your quick workaround is to use the -f option on Debian 6. Option -f will force conversion. dos2unix -f w2k3.txt Could you try the

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-21 Thread Erwin Waterlander
Hi, The code to test if a file is a regular file or not has not changed since I introduced it in dos2unix version 4.1. I suspect that something else is causing this change of behaviour. What is the output of these commands on Debian 6.0 and 5.0.7.? stat /mnt/temp/win2k3-share/test2k3.txt

Bug#614360: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x

2011-02-21 Thread Dirk Haller
Subject: dos2unix doesn't work on windows 2003/2008 shares with debian 6.x Package: dos2unix Version: 5.0-2 Severity: normal *** Please type your report below this line *** Hello, after a system update from debian 5.0.7 to 6.0, dos2unix and unix2dos doesn't work as expected on windows 2003