On Thu, 23 May 2002 [EMAIL PROTECTED] wrote:

> diff -ru /tmp/dpkg-1.9.21/lib/lock.c ./lib/lock.c
> --- /tmp/dpkg-1.9.21/lib/lock.c       Mon Apr 23 13:29:30 2001
> +++ ./lib/lock.c      Thu May 23 10:32:10 2002
> @@ -78,7 +78,6 @@
>        ohshit(_("status database area is locked by another process"));
>      ohshite(_("unable to lock dpkg status database"));
>    }
> -  n= fcntl(dblockfd, F_GETFD);
> -  if (n >= 0) fcntl(dblockfd, F_SETFD, n | FD_CLOEXEC);
> +  fcntl(dblockfd, F_SETFD, n | FD_CLOEXEC);
>    push_cleanup(cu_unlockdb,~0, NULL,0, 0);
>  }
>

?I'm applying this to HEAD right now.  However, I remoed the n | from the
call, as otherwise I get a warning about n being uninitialized.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to