Changeset 4 for heimdal/trunk/lib/krb5/fcache.c
- Timestamp:
- Jul 11, 2015, 9:56:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
heimdal/trunk/lib/krb5/fcache.c
r1 r4 74 74 { 75 75 int ret; 76 #if def HAVE_FCNTL76 #if defined(HAVE_FCNTL) && !defined(__OS2__) 77 77 struct flock l; 78 78 … … 117 117 { 118 118 int ret; 119 #if def HAVE_FCNTL119 #if defined(HAVE_FCNTL) && !defined(__OS2__) 120 120 struct flock l; 121 121 l.l_start = 0; … … 256 256 return errno; 257 257 258 #ifndef __OS2__ 258 259 fd = open(filename, O_RDWR | O_BINARY); 259 260 if(fd < 0) { … … 264 265 } 265 266 rk_cloexec(fd); 267 266 268 ret = _krb5_xlock(context, fd, 1, filename); 267 269 if (ret) { … … 269 271 return ret; 270 272 } 273 #endif 271 274 if (unlink(filename) < 0) { 272 275 _krb5_xunlock(context, fd);
Note:
See TracChangeset
for help on using the changeset viewer.