Problem with large Files / Win32
Brought to you by:
blais
When using large files on the version I created I have
the problem that the line number (lineno variable) gets
too large and after that I get an internal error. I did
not find an obvious reason why this happens. I tried
enlarging the buffer size but that didn't help.
An example where my version does not run with
QT3.0.3/Win32 is the dsp file created with qmake from
the (actually my) pro file.
Regards,
Reinhard
Logged In: YES
user_id=10996
i need more information to help you... i have never compiled a
windows version of it... i don't have qt/comm.
i'd be happy to assist though.
what line is the internal error? can you get a stack trace?
Logged In: YES
user_id=57955
On QT3.0.4 I now get an exception with the current version
so I can't really help on that, but here is the backtrace
just before the exception occurs (I double checked that the
pathes from the files to be diffed are ok):
QFileInfo::doStat() line 443
QFileInfo::isDir() line 543
XxApp::processFileNames(const XxCmdline & {...}, QString *
0x0012f74c {"" len=0}, QString * 0x0012f760 {"" len=0},
unsigned char * 0x0012f75c, unsigned char & 0x00) line 493 +
11 bytes
XxApp::XxApp(int & 0x00000001, char * * 0x0012fdd8, const
XxCmdline & {...}) line 270 + 43 bytes
main(int 0x00000003, char * * 0x00d455e0, char * *
0x0012ff0c) line 75 + 32 bytes
It's qfileinfo_win.cpp line 443 which causes the exception:
r = _tstat((const TCHAR*)qt_winTchar(fn,TRUE),
(QT_STATBUF4TSTAT*)b);
maybe you have an idea, why tstat fails here (it's the second
parameter which makes problems).
The file names are:
k:\misc\xxdiff\src\exceptions.cpp
k:\misc\xxdiff-2.5\src\exceptions.cpp