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 bit? What is the output of 'gcc -v' on both systems?

I searched on the internet and found that defining _FILE_OFFSET_BITS=64 could solve the problem. On Debian 6, could you open the Makefile, and change the line with

CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE $(RPM_OPT_FLAGS)

to

CFLAGS = -O2 -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(RPM_OPT_FLAGS)

then recompile and install dos2unix as before.
Could you let me know if it makes a difference?

Erwin



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to