From: Guillem Jover Date: Tue, 1 Apr 2008 00:23:58 +0000 (+0300) Subject: libdpkg: Use TRIGGERSLOCKFILE instead of literal string X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68287625187903903be9f9c6e996ea10927ab7a;p=dpkg libdpkg: Use TRIGGERSLOCKFILE instead of literal string --- diff --git a/ChangeLog b/ChangeLog index 3e4c08c2..179f5482 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-01 Guillem Jover + + * lib/trigdeferred.l (trigdef_update_start): Use TRIGGERSLOCKFILE + instead of literal string. + 2008-04-01 Guillem Jover * src/enquiry.c (badstatinfos): Fix typos (processesing -> processing). diff --git a/lib/trigdeferred.l b/lib/trigdeferred.l index a7bcb117..a2f63e6c 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) {