T
tianyf
1). Compressed data (.Z) from several servers (Sun/Linux).
The compressed files are in either big-endian or little-endian
style.
2). I'm programming in Cygwin (Windows XP) with gcc 3.4.
When use gzgetc to read data from compressed big-endian file, my
program hangs up. However, after uncompress and then compress the
file, the program works well. I supposed that the cause is the byte
ordering style. Is there a way to use gzgetc to read data directly
from big-endian .Z file when in a little-endian environment?
Regards,
Tian
The compressed files are in either big-endian or little-endian
style.
2). I'm programming in Cygwin (Windows XP) with gcc 3.4.
When use gzgetc to read data from compressed big-endian file, my
program hangs up. However, after uncompress and then compress the
file, the program works well. I supposed that the cause is the byte
ordering style. Is there a way to use gzgetc to read data directly
from big-endian .Z file when in a little-endian environment?
Regards,
Tian