From: Alexandra Ellwood Date: Tue, 8 Jun 1999 19:27:33 +0000 (+0000) Subject: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO for Mac OT SocketsLib X-Git-Tag: krb5-1.1-beta1~119 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e273daf407ba456cc059eba71f4b91bcd9068fe0;p=krb5.git Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO for Mac OT SocketsLib git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11496 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 0b12d76a3..d230bc635 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,23 @@ +Tue Jun 8 15:26:21 1999 Alexandra Ellwood + + * changepw.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + + * hst_realm.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + + * localaddr.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + + * net_read.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + + * net_write.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + + * sn2princ.c: Changed errno to SOCKET_ERRNO/SOCKET_SET_ERRNO + after socket operations to work with new Mac OT SocketsLib. + Mon May 10 15:26:20 1999 Danilo Almeida * Makefile.in: Do win32 build in subdir. diff --git a/src/lib/krb5/os/changepw.c b/src/lib/krb5/os/changepw.c index 41cad5fa9..e159f2090 100644 --- a/src/lib/krb5/os/changepw.c +++ b/src/lib/krb5/os/changepw.c @@ -207,39 +207,35 @@ krb5_change_password(context, creds, newpw, result_code, if ((s1 = socket(AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET) { free(addr_p); - return(errno); + return(SOCKET_ERRNO); } if ((s2 = socket(AF_INET, SOCK_DGRAM, 0)) == INVALID_SOCKET) { free(addr_p); - return(errno); + return(SOCKET_ERRNO); } for (i=0; i