the Winsock equivalent (WSAECONNABORTED).
parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and add
check for _WIN32.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8315
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 12 01:10:09 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try
+ using the Winsock equivalent (WSAECONNABORTED).
+
+Mon Jun 10 21:47:21 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and
+ add check for _WIN32.
+
Thu Jun 6 00:06:18 1996 Theodore Y. Ts'o <tytso@mit.edu>
* get_creds.c (krb5_get_credentials_core): A static function must
else
krb5_princ_component(context, principal, i)->length = size;
if (i + 1 != components) {
-#if !defined(_WINDOWS) && !defined(_MACINTOSH)
+#if !defined(_MSDOS) && !defined(_WIN32) && !defined(_MACINTOSH)
fprintf(stderr,
"Programming error in krb5_parse_name!");
exit(1);
* Now, read back a byte: 0 means no error, 1 means bad sendauth
* version, 2 means bad application version
*/
+#ifndef ECONNABORTED
+#define ECONNABORTED WSAECONNABORTED
+#endif
if ((len = krb5_net_read(context, *((int *) fd), (char *)&result, 1)) != 1)
return((len < 0) ? errno : ECONNABORTED);
if (result == 1)