Ignore:
Timestamp:
Jul 11, 2015, 9:56:07 AM (10 years ago)
Author:
Paul Smedley
Message:

heimdal: applied os2 patches, added conf.cmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • heimdal/trunk/lib/krb5/fcache.c

    r1 r4  
    7474{
    7575    int ret;
    76 #ifdef HAVE_FCNTL
     76#if defined(HAVE_FCNTL) && !defined(__OS2__)
    7777    struct flock l;
    7878
     
    117117{
    118118    int ret;
    119 #ifdef HAVE_FCNTL
     119#if defined(HAVE_FCNTL) && !defined(__OS2__)
    120120    struct flock l;
    121121    l.l_start = 0;
     
    256256        return errno;
    257257
     258#ifndef __OS2__
    258259    fd = open(filename, O_RDWR | O_BINARY);
    259260    if(fd < 0) {
     
    264265    }
    265266    rk_cloexec(fd);
     267
    266268    ret = _krb5_xlock(context, fd, 1, filename);
    267269    if (ret) {
     
    269271        return ret;
    270272    }
     273#endif
    271274    if (unlink(filename) < 0) {
    272275        _krb5_xunlock(context, fd);
Note: See TracChangeset for help on using the changeset viewer.