B19: fread bug (NT and 95)

Salumax S.A. salumax@entelchile.net
Sat Sep 12 19:56:00 GMT 1998


Hi...

   I found a bug with the fread instruction... In the C codes that I
wrote, the fread instruction, not reads all the bytes of the image that
I try to read... For example, when I execute the program "hola.c" that I
include with this e-mail, and I try to read the image "lenna.dat" (64
kb), hola.exe only reads 28 bytes of lenna.dat. What's the matter ?...

   best regards...


Gonzalo Rojas C
Image Processing Group
Department of Physics
University of Santiago-Chile



-------------- next part --------------
A non-text attachment was scrubbed...
Name: hola.c
Type: text/x-c
Size: 1269 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980912/8ef68c65/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lenna.dat
Type: application/octet-stream
Size: 65536 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19980912/8ef68c65/attachment.obj>


More information about the Cygwin mailing list