Skip Menu |
 

Download (untitled) / with headers
text/plain 1.9KiB
From liebman@zod.com Sun Apr 20 19:35:57 2003
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by krbdev.mit.edu (8.9.3) with ESMTP
id TAA18593; Sun, 20 Apr 2003 19:35:57 -0400 (EDT)
From: liebman@zod.com
Received: from zod.com (66-215-26-54.pas-mres.charterpipeline.net [66.215.26.54])
by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id h3KNZuSm000065
for <krb5-bugs@mit.edu>; Sun, 20 Apr 2003 19:35:56 -0400 (EDT)
Received: from liebman by zod.com with local (Exim 4.14)
id HDO1JJ-0001O0-M8
for krb5-bugs@mit.edu; Sun, 20 Apr 2003 16:35:43 -0700
To: krb5-bugs@mit.edu
Subject: cygwin patch for keb5-current and 1.3alpha2
Reply-To: liebman@zod.com
Cc:
X-send-pr-version: 3.99
Message-Id: <EHDO1JJ-0001O0-M8@zod.com>
Date: Sun, 20 Apr 2003 16:35:43 -0700


Show quoted text
>Submitter-Id: net
>Originator: Christopher B. Liebman
>Organization:
none
Show quoted text
>Confidential: no
>Synopsis: cygwin has same file rename issues are win32
>Severity: non-critical
>Priority: low
>Category: krb5-kdc
>Class: sw-bug
>Release: krb5-current-20030419
>Environment:

System: CYGWIN_NT-5.0 XYZZY 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin


Show quoted text
>Description:
when the kdc is started on cygwin it fails during replay
cache initialization and exits.
Show quoted text
>How-To-Repeat:
compile and start the kdc on cygwin.
Show quoted text
>Fix:
If on cygwin use the win32 code already there. See the following
one line patch:


diff -u -r krb5-current-dist/src/lib/krb5/rcache/rc_io.c krb5-current/src/lib/krb5/rcache/rc_io.c
--- krb5-current-dist/src/lib/krb5/rcache/rc_io.c 2002-09-17 00:01:00.000000000 -0700
+++ krb5-current/src/lib/krb5/rcache/rc_io.c 2003-04-20 13:58:10.000000000 -0700
@@ -271,7 +271,7 @@
krb5_rc_io_move(krb5_context context, krb5_rc_iostuff *new1,
krb5_rc_iostuff *old)
{
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__CYGWIN__)
char *new_fn = NULL;
char *old_fn = NULL;
off_t offset = 0;
From: raeburn@mit.edu
Subject: CVS Commit
* rc_io.c (krb5_rc_io_move): Use same code for cygwin as for normal
Windows build.

Commit By: raeburn



Revision: 18138
Changed Files:
U trunk/src/lib/krb5/rcache/rc_io.c