Bug#667008: Patch that works for me

2012-09-18 Thread Mats Danielsson
se($lockfh) || syserr(_g("cannot close %s"), "debian/control"); What is wrong with this patch? To me it looks OK. I have limited knowledge on how dkpg uses the locking and what is protecting. What I have difficult to understand is how the option -c will work without my patch.

Bug#667008:

2012-04-03 Thread Mats Danielsson
We use dpkg-gencontrol and supply a full path to "debian/control" with the -c option. The full path to the control file is used, because dpkg-gencontrol is not run from the directory where "debian/control" exists. Do you have do run dpkg-gencontrol in the directory where "debian/control" exists

Bug#667008: Error in the description of the bug

2012-04-03 Thread Mats Danielsson
The brief description (summary) should be "dpkg-dev: dpkg-gencontrol does NOT use the control file specified with optin -c for the lock-file". I missed the "not" when reported the bug. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trou

Bug#667008: dpkg-dev: dpkg-gencontrol does use the control file specified with optin -c for the lock-file

2012-04-03 Thread Mats Danielsson
Package: dpkg-dev Version: 1.16.2 Severity: normal Dear Maintainer, The solution to Bug #642608 introduced another problem. The lock on the control file always uses the file "debian/control". The correct behavior should be to use the file specifed with the option -c. /Mats -- System Informat