hello,<br>I've been using windump for a long time and this program is great.<br>I especially like the use of the '-F' option.<br><br>unfortunately i discovered that it only works with files that are using the UNIX line endings and not the windows file endings.
<br>the error occurs because there is a check in <span style="font-weight: bold;">line 495</span> in the <span style="font-weight: bold;">util.c</span>.<br>there is a difference between the bytes actually read and the bytes returned by
<span style="font-family: courier new,monospace;">f</span><span style="font-family: courier new,monospace;">stat</span>, this triggers the an unnecessary error and stops the program.<br><br>i think that what happens is that for some reason the O_BINARY is not defined on the compiling system and the file is read using text mode.
<br><br>IMHO, the file should be read using text mode, and the read bytes test against fstat bytes removed or revised.<br><br>thanks,<br>nadav<br>