This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20: tellg changes file position (Win95,?)


Hello,

I am developing a program with egcs-2.91.66 (linux) and want to compile
a version for Windows. I didn't have any problems to compile it but it
had some strange results.
Finally I found out that the function "ifstream.tellg()" changes the
file position and
had some other strange results on later read functions that got words
like "near" that absolutely have not been in the file.

I am sorry that I have no small example but the whole program will be
availible soon under:
http://www.theofel.de/anitmt/

thank you for help

Martin Trautmann

The only interesting thing in the output of cygcheck I found was:

  371k 1998/12/01 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1 9:25
    5k 1998/12/01 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1998/12/01 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 9:25
  600k 1998/12/01 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 9:28
  446k 1998/12/03 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/4 5:39
  371k 1998/12/01 .\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1 9:25
    5k 1998/12/01 .\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1998/12/01 .\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 9:25
  600k 1998/12/01 .\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 9:28
  446k 1998/12/03 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/4 5:39
  446k 1998/12/03 c:\bat\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/4 5:39

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]