diff options
| author | Tom Yu <tlyu@mit.edu> | 2002-12-14 04:10:42 +0000 |
|---|---|---|
| committer | Tom Yu <tlyu@mit.edu> | 2002-12-14 04:10:42 +0000 |
| commit | f70ff2e305d2f6ccc6bb668ce44fa171623f18ee (patch) | |
| tree | c33ce6240799eec7e43e7d8a362bc6803e28a3de /src/lib/krb4/netwrite.c | |
| parent | d35572d7dbe96c319f18973223a776e0dcb7874d (diff) | |
| download | krb5-f70ff2e305d2f6ccc6bb668ce44fa171623f18ee.tar.gz krb5-f70ff2e305d2f6ccc6bb668ce44fa171623f18ee.tar.xz krb5-f70ff2e305d2f6ccc6bb668ce44fa171623f18ee.zip | |
* ad_print.c, g_in_tkt.c, g_pw_in_tkt.c, kadm_net.c, klog.c:
* kuserok.c, log.c, memcache.c, netread.c, netwrite.c:
* password_to_key.c, recvauth.c, stime.c, tkt_string.c:
Change _WINDOWS to _WIN32 in many places. Update copyright
notices. Remove _WINDOWS handling completely in a few places
where it's not needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15048 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb4/netwrite.c')
| -rw-r--r-- | src/lib/krb4/netwrite.c | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/src/lib/krb4/netwrite.c b/src/lib/krb4/netwrite.c index 975d76ba7..18468db6b 100644 --- a/src/lib/krb4/netwrite.c +++ b/src/lib/krb4/netwrite.c @@ -1,13 +1,29 @@ /* - * netwrite.c + * lib/krb4/netwrite.c * * Copyright 1987, 1988 by the Massachusetts Institute of Technology. + * All Rights Reserved. * - * For copying and distribution information, please see the file - * <mit-copyright.h>. + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. Furthermore if you modify this software you must label + * your software as modified software and not distribute it in such a + * fashion that it might be confused with the original M.I.T. software. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. */ -#include "mit-copyright.h" #include <errno.h> #include "krb.h" #ifdef HAVE_UNISTD_H @@ -15,10 +31,6 @@ #endif #include "port-sockets.h" -#ifndef _WINDOWS -extern int errno; -#endif - /* * krb_net_write() writes "len" bytes from "buf" to the file * descriptor "fd". It returns the number of bytes written or |
