bother with a static version to copy from.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16150
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-03-05 Ken Raeburn <raeburn@mit.edu>
+
+ * lock_file.c (krb5_lock_file): Initialize flock data on entry,
+ but don't bother with a static version to copy from.
+
2004-02-26 Jeffrey Altman <jaltman@mit.edu>
* sendto_kdc.c, send524.c:
krb5_error_code retval = 0;
#ifdef POSIX_FILE_LOCKS
int lock_cmd = F_SETLKW;
- static const struct flock flock_zero;
- struct flock lock_arg;
-
- lock_arg = flock_zero;
+ struct flock lock_arg = { 0 };
#endif
switch (mode & ~KRB5_LOCKMODE_DONTBLOCK) {