The following commit has been merged in the master branch:
commit b68287625187903903be9f9c6e996ea10927ab7a
Author: Guillem Jover <[EMAIL PROTECTED]>
Date:   Tue Apr 1 03:23:58 2008 +0300

    libdpkg: Use TRIGGERSLOCKFILE instead of literal string

diff --git a/ChangeLog b/ChangeLog
index 3e4c08c..179f548 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-04-01  Guillem Jover  <[EMAIL PROTECTED]>
 
+       * lib/trigdeferred.l (trigdef_update_start): Use TRIGGERSLOCKFILE
+       instead of literal string.
+
+2008-04-01  Guillem Jover  <[EMAIL PROTECTED]>
+
        * src/enquiry.c (badstatinfos): Fix typos (processesing -> processing).
 
 2008-03-30  Guillem Jover  <[EMAIL PROTECTED]>
diff --git a/lib/trigdeferred.l b/lib/trigdeferred.l
index a7bcb11..a2f63e6 100644
--- a/lib/trigdeferred.l
+++ b/lib/trigdeferred.l
@@ -104,7 +104,7 @@ trigdef_update_start(enum trigdef_updateflags uf, const 
char *admindir)
        int r;
 
        if (uf & tduf_write) {
-               constructfn(&fn, admindir, "Lock");
+               constructfn(&fn, admindir, TRIGGERSLOCKFILE);
                if (lock_fd == -1) {
                        lock_fd = open(fn.buf, O_RDWR | O_CREAT | O_TRUNC, 
0600);
                        if (lock_fd == -1) {

-- 
dpkg's main repository


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

Reply via email to