You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jesse
c7ae92621c
On Windows, read CRLF ending file exist some problem that tested by MinGW and VS2008.
1)open CRLF ending file in text mode
2)
fseek(f, 0, SEEK_END);
long pos = ftell(f); // return the file total byte
fseek(f, 0, SEEK_SET);
3)
int nread = fread(buf, pos, 1, f); // always return 0 to nread
int nread = fread(buf, 1, pos, f); // return readed byte with CRLF converted to LF. it means pos - nread = CRLF's count.
|
10 years ago |
.. |
acx_pthread.m4
|
add pthread check
|
12 years ago |
inet_ntop.m4
|
use ntop instead
|
12 years ago |
libtool.m4
|
bump version
|
11 years ago |
ltoptions.m4
|
add server implementation
|
12 years ago |
ltsugar.m4
|
fix autoconf
|
12 years ago |
ltversion.m4
|
add server implementation
|
12 years ago |
lt~obsolete.m4
|
remove openssl dependency
|
12 years ago |
openssl.m4
|
fix building issues
|
12 years ago |
polarssl.m4
|
Autoconf support for PolarSSL
|
11 years ago |