[krbdev.mit.edu #1432] patch to compile with cygwin

"Christopher B. Liebman" via RT rt-comment at krbdev.mit.edu
Sun Apr 20 02:18:48 EDT 2003


There are two issues that this patch fixes:

1)  Cygwin implements error as a function that returns an int.  There are
locations in krb5 that declare errno as "extern int errno" the patch
includes errno.h instead.  Maybe a better fix is to have configure look to
see if errno.h exists and include it?

2) Cygwin has the same issues as Windows/DOS with renaming a file while it's
still open.  This patch uses almost exactly the same code to fix this issue
manifesting in the replay cache code.

    -- Chris

----- Original Message -----
From: "Sam Hartman via RT" <rt-comment at krbdev.mit.edu>
To: <liebman at zod.com>
Cc: <krb5-prs at mit.edu>
Sent: Saturday, April 19, 2003 8:37 PM
Subject: Re: [krbdev.mit.edu #1432] patch to compile with cygwin


> If you want your patch to be considered, please describe in sufficient
> detail what it does that we can easily evaluate it and see why each
> change is necessary.
>
> Also, please make sure it applies cleanly to recent development
> snapshots such as 1.3 alpha2.
>



More information about the krb5-bugs mailing list