• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

Revision088538f717bbafc5079940f3df298172a38ec4c1 (tree)
Time2013-09-19 05:28:09
AuthorEarnie Boyd <earnie@user...>
CommiterEarnie Boyd

Log Message

Resolve issues [#2046] and [#2027].

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
11 RELEASE 4.1:
22
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+
310 2013-04-10 Earnie Boyd <earnie@users.sourceforge.net>
411 * include/windows.h (NOWH): Correct typo in macro name.
512 * include/excpt.h (_EXCEPTION_DISPOSITION): Adjust indentation.
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -60,6 +60,7 @@ extern "C" {
6060 int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
6161 #endif /* Not __NO_ISOCEXT */
6262
63+#ifndef __STRICT_ANSI__
6364 /* This is defined as a real library function to allow autoconf
6465 to verify its existence. */
6566 int ftruncate(int, off_t);
@@ -69,6 +70,7 @@ __CRT_INLINE int ftruncate(int __fd, off_t __length)
6970 return _chsize (__fd, __length);
7071 }
7172 #endif
73+#endif /* ndef __STRICT_ANSI__ */
7274
7375 #ifdef __cplusplus
7476 }
--- a/include/winldap.h
+++ b/include/winldap.h
@@ -385,9 +385,9 @@ WINLDAPAPI PLDAP cldap_openW(const PWCHAR,ULONG);
385385 WINLDAPAPI ULONG ldap_connect(LDAP*,struct l_timeval*);
386386 WINLDAPAPI PLDAP ldap_sslinitA(PCHAR,ULONG,int);
387387 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);
391391 WINLDAPAPI ULONG ldap_get_optionA(LDAP*,int,void*);
392392 WINLDAPAPI ULONG ldap_get_optionW(LDAP*,int,void*);
393393 WINLDAPAPI ULONG ldap_set_optionA(LDAP*,int,const void*);