The MinGW.org Windows System Libraries
Revision | 088538f717bbafc5079940f3df298172a38ec4c1 (tree) |
---|---|
Time | 2013-09-19 05:28:09 |
Author | Earnie Boyd <earnie@user...> |
Commiter | Earnie Boyd |
Resolve issues [#2046] and [#2027].
@@ -1,5 +1,12 @@ | ||
1 | 1 | RELEASE 4.1: |
2 | 2 | |
3 | +2013-09-18 Earnie Boyd <earnie@users.sourceforge.net> | |
4 | + | |
5 | + * include/unistd.h (ftruncate()): Guard with no __STRICT_ANSI__ [#2046]. | |
6 | + * include/winldap.h (ldap_start_tls_s[AW]()): Incorrect signature | |
7 | + [#2027]. | |
8 | + (ldap_stop_tls_s()): Use PLDAP instead of LDAP * per MSDN documentation. | |
9 | + | |
3 | 10 | 2013-04-10 Earnie Boyd <earnie@users.sourceforge.net> |
4 | 11 | * include/windows.h (NOWH): Correct typo in macro name. |
5 | 12 | * include/excpt.h (_EXCEPTION_DISPOSITION): Adjust indentation. |
@@ -60,6 +60,7 @@ extern "C" { | ||
60 | 60 | int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds); |
61 | 61 | #endif /* Not __NO_ISOCEXT */ |
62 | 62 | |
63 | +#ifndef __STRICT_ANSI__ | |
63 | 64 | /* This is defined as a real library function to allow autoconf |
64 | 65 | to verify its existence. */ |
65 | 66 | int ftruncate(int, off_t); |
@@ -69,6 +70,7 @@ __CRT_INLINE int ftruncate(int __fd, off_t __length) | ||
69 | 70 | return _chsize (__fd, __length); |
70 | 71 | } |
71 | 72 | #endif |
73 | +#endif /* ndef __STRICT_ANSI__ */ | |
72 | 74 | |
73 | 75 | #ifdef __cplusplus |
74 | 76 | } |
@@ -385,9 +385,9 @@ WINLDAPAPI PLDAP cldap_openW(const PWCHAR,ULONG); | ||
385 | 385 | WINLDAPAPI ULONG ldap_connect(LDAP*,struct l_timeval*); |
386 | 386 | WINLDAPAPI PLDAP ldap_sslinitA(PCHAR,ULONG,int); |
387 | 387 | WINLDAPAPI PLDAP ldap_sslinitW(PWCHAR,ULONG,int); |
388 | -WINLDAPAPI ULONG ldap_start_tls_sA(LDAP*,PLDAPControlA*,PLDAPControlA*); | |
389 | -WINLDAPAPI ULONG ldap_start_tls_sW(LDAP*,PLDAPControlW*,PLDAPControlW*); | |
390 | -WINLDAPAPI BOOLEAN ldap_stop_tls_s(LDAP*); | |
388 | +WINLDAPAPI ULONG ldap_start_tls_sA(PLDAP,PULONG,LDAPMessage,PLDAPControlA*,PLDAPControlA*); | |
389 | +WINLDAPAPI ULONG ldap_start_tls_sW(PLDAP,PULONG,LDAPMessage,PLDAPControlW*,PLDAPControlW*); | |
390 | +WINLDAPAPI BOOLEAN ldap_stop_tls_s(PLDAP); | |
391 | 391 | WINLDAPAPI ULONG ldap_get_optionA(LDAP*,int,void*); |
392 | 392 | WINLDAPAPI ULONG ldap_get_optionW(LDAP*,int,void*); |
393 | 393 | WINLDAPAPI ULONG ldap_set_optionA(LDAP*,int,const void*); |