1
commit d3686b5552f28a357d678b453a869b9d10f1ac4f
2
Author: Guillem Jover <guillem@debian.org>
3
Date: Fri Apr 1 23:57:06 2011 +0200
7
debian/changelog | 4 ++--
8
1 files changed, 2 insertions(+), 2 deletions(-)
10
commit eb48da7aae9793ac29daa7197d28c830fa6f3235
11
Author: Guillem Jover <guillem@debian.org>
12
Date: Fri Apr 1 19:26:51 2011 +0200
14
Correct and clarify changelog entries
16
debian/changelog | 3 +--
17
1 files changed, 1 insertions(+), 2 deletions(-)
19
commit 0fd41e2bb9696ef91e5f18aa07b2acc78563c355
20
Author: Guillem Jover <guillem@debian.org>
21
Date: Fri Apr 1 22:13:55 2011 +0200
23
Regenerate .pot files and merge .po files with them
25
dselect/po/bs.po | 116 ++--
26
dselect/po/ca.po | 116 ++--
27
dselect/po/cs.po | 116 ++--
28
dselect/po/da.po | 116 ++--
29
dselect/po/de.po | 116 ++--
30
dselect/po/dselect.pot | 118 ++--
31
dselect/po/el.po | 116 ++--
32
dselect/po/es.po | 116 ++--
33
dselect/po/et.po | 116 ++--
34
dselect/po/eu.po | 116 ++--
35
dselect/po/fr.po | 116 ++--
36
dselect/po/gl.po | 116 ++--
37
dselect/po/hu.po | 116 ++--
38
dselect/po/id.po | 116 ++--
39
dselect/po/it.po | 116 ++--
40
dselect/po/ja.po | 116 ++--
41
dselect/po/ko.po | 116 ++--
42
dselect/po/nb.po | 116 ++--
43
dselect/po/nl.po | 116 ++--
44
dselect/po/nn.po | 116 ++--
45
dselect/po/pl.po | 116 ++--
46
dselect/po/pt.po | 116 ++--
47
dselect/po/pt_BR.po | 116 ++--
48
dselect/po/ro.po | 116 ++--
49
dselect/po/ru.po | 116 ++--
50
dselect/po/sk.po | 116 ++--
51
dselect/po/sv.po | 116 ++--
52
dselect/po/tl.po | 116 ++--
53
dselect/po/vi.po | 116 ++--
54
dselect/po/zh_CN.po | 116 ++--
55
dselect/po/zh_TW.po | 116 ++--
56
man/po/dpkg-man.pot | 190 ++++---
57
man/po/es.po | 199 ++++---
58
man/po/fr.po | 199 ++++---
59
man/po/hu.po | 193 ++++---
60
man/po/ja.po | 193 ++++---
61
man/po/pl.po | 199 ++++---
62
man/po/pt_BR.po | 192 ++++---
63
man/po/ru.po | 193 ++++---
64
man/po/sv.po | 199 ++++---
65
po/ast.po | 1512 ++++++++++++++++++++++++----------------------
66
po/bs.po | 1434 +++++++++++++++++++++++---------------------
67
po/ca.po | 1531 +++++++++++++++++++++++++----------------------
68
po/cs.po | 1515 ++++++++++++++++++++++++----------------------
69
po/da.po | 1505 ++++++++++++++++++++++++----------------------
70
po/de.po | 502 ++++++++--------
71
po/dpkg.pot | 1431 +++++++++++++++++++++++---------------------
72
po/dz.po | 1514 ++++++++++++++++++++++++----------------------
73
po/el.po | 1514 ++++++++++++++++++++++++----------------------
74
po/eo.po | 1502 ++++++++++++++++++++++++----------------------
75
po/es.po | 1516 ++++++++++++++++++++++++----------------------
76
po/et.po | 1489 ++++++++++++++++++++++++----------------------
77
po/eu.po | 1502 ++++++++++++++++++++++++----------------------
78
po/fr.po | 1517 ++++++++++++++++++++++++----------------------
79
po/gl.po | 1514 ++++++++++++++++++++++++----------------------
80
po/hu.po | 1508 ++++++++++++++++++++++++----------------------
81
po/id.po | 1502 ++++++++++++++++++++++++----------------------
82
po/it.po | 1504 ++++++++++++++++++++++++----------------------
83
po/ja.po | 1502 ++++++++++++++++++++++++----------------------
84
po/km.po | 1514 ++++++++++++++++++++++++----------------------
85
po/ko.po | 1502 ++++++++++++++++++++++++----------------------
86
po/ku.po | 1463 +++++++++++++++++++++++----------------------
87
po/lt.po | 1480 +++++++++++++++++++++++----------------------
88
po/mr.po | 1496 ++++++++++++++++++++++++----------------------
89
po/nb.po | 1515 ++++++++++++++++++++++++----------------------
90
po/ne.po | 1514 ++++++++++++++++++++++++----------------------
91
po/nl.po | 1516 ++++++++++++++++++++++++----------------------
92
po/nn.po | 1512 ++++++++++++++++++++++++----------------------
93
po/pa.po | 1493 ++++++++++++++++++++++++----------------------
94
po/pl.po | 1497 ++++++++++++++++++++++++----------------------
95
po/pt.po | 1515 ++++++++++++++++++++++++----------------------
96
po/pt_BR.po | 1516 ++++++++++++++++++++++++----------------------
97
po/ro.po | 1502 ++++++++++++++++++++++++----------------------
98
po/ru.po | 1502 ++++++++++++++++++++++++----------------------
99
po/sk.po | 1502 ++++++++++++++++++++++++----------------------
100
po/sv.po | 1515 ++++++++++++++++++++++++----------------------
101
po/th.po | 1515 ++++++++++++++++++++++++----------------------
102
po/tl.po | 1512 ++++++++++++++++++++++++----------------------
103
po/vi.po | 1502 ++++++++++++++++++++++++----------------------
104
po/zh_CN.po | 1502 ++++++++++++++++++++++++----------------------
105
po/zh_TW.po | 1514 ++++++++++++++++++++++++----------------------
106
scripts/po/ca.po | 122 ++--
107
scripts/po/de.po | 122 ++--
108
scripts/po/dpkg-dev.pot | 124 ++--
109
scripts/po/es.po | 122 ++--
110
scripts/po/fr.po | 122 ++--
111
scripts/po/pl.po | 122 ++--
112
scripts/po/ru.po | 122 ++--
113
scripts/po/sv.po | 122 ++--
114
89 files changed, 35046 insertions(+), 31900 deletions(-)
116
commit 922093b5fb715554456ef44bb4ce70e89dc4e337
117
Author: Guillem Jover <guillem@debian.org>
118
Date: Fri Apr 1 23:49:24 2011 +0200
120
dpkg-divert: Unlink the source file when moving across filesystems
122
Otherwise we might leave cruft behind.
124
Regression introduced in commit 02b12d75f1eff7c184fafb5a663a0421e9a645ea.
126
debian/changelog | 2 ++
127
src/divertcmd.c | 4 ++++
128
2 files changed, 6 insertions(+), 0 deletions(-)
130
commit 1624466c3d3c882b551f0b5deae8db4016332e5a
131
Author: Guillem Jover <guillem@debian.org>
132
Date: Fri Apr 1 23:38:20 2011 +0200
134
dpkg-divert: Inline rename_mv() into file_rename()
136
src/divertcmd.c | 17 +++++------------
137
1 files changed, 5 insertions(+), 12 deletions(-)
139
commit 1cfa991dac363c3494edbb8a914b369cbf374d04
140
Author: Guillem Jover <guillem@debian.org>
141
Date: Fri Apr 1 23:33:15 2011 +0200
143
dpkg-divert: Move atomic rename logic from rename_mv() to file_copy()
145
This makes file_copy() safe to use by itself, and will allow to pull it
146
out and use it in other places in the future.
148
src/divertcmd.c | 20 +++++++++-----------
149
1 files changed, 9 insertions(+), 11 deletions(-)
151
commit d1ad33f057d0aa76d66434f40dedf67473095918
152
Author: Guillem Jover <guillem@debian.org>
153
Date: Fri Apr 1 23:18:05 2011 +0200
155
dpkg-divert: Change file_copy() and rename_mv() to ohshite() on error
157
This has several consequences, the code will not trigger leak detectors
158
like cppcheck due to ohshite() being marked non-returning, and the error
159
messages are going to be more descriptive.
163
debian/changelog | 3 +++
164
src/divertcmd.c | 27 ++++++++++-----------------
165
2 files changed, 13 insertions(+), 17 deletions(-)
167
commit 0489d13cb0469ad64d4b345acc2c0372a5588bd0
168
Author: Guillem Jover <guillem@debian.org>
169
Date: Fri Apr 1 22:53:21 2011 +0200
171
Revert "dpkg-divert: fix minor file descriptor leak found by cppcheck"
173
This reverts commit bdcee319a90eee494af70e6725fed8b4e8f16584.
175
debian/changelog | 1 -
176
src/divertcmd.c | 4 +---
177
2 files changed, 1 insertions(+), 4 deletions(-)
179
commit 9a5103c7bd96d32d685ac9f5bb38b0b4f0a9d030
180
Author: Guillem Jover <guillem@debian.org>
181
Date: Thu Mar 24 03:21:13 2011 +0100
183
dpkg-genchanges: Do not warn when adding files w/o matching architecture
185
Fix undefined value useage when adding files w/o a matching architecture,
186
because they are not present in debian/control, this is most commonly the
187
case due to dpkg-distaddfile.
189
debian/changelog | 3 +++
190
scripts/dpkg-genchanges.pl | 6 ++++--
191
2 files changed, 7 insertions(+), 2 deletions(-)
193
commit d571f9eeffad01ac1e281c83ac3eae47946cfc7b
194
Author: Guillem Jover <guillem@debian.org>
195
Date: Fri Apr 1 01:27:30 2011 +0200
197
libdpkg: Make buffer_init() and buffer_done() take only one argument
199
These functions only handle the output buffer_data and thus the
200
read_data argument will never get used.
202
lib/dpkg/buffer.c | 20 ++++++++++----------
203
1 files changed, 10 insertions(+), 10 deletions(-)
205
commit b3eb59cf43c286bb6c906c00ef1cdc0ec21f474d
206
Author: Guillem Jover <guillem@debian.org>
207
Date: Thu Mar 31 20:13:55 2011 +0200
209
dpkg: Set the modification time for unpacked symlinks if possible
211
Use lutimes() conditionally as it might not be widely available.
214
debian/changelog | 1 +
215
src/archives.c | 14 +++++++++-----
216
3 files changed, 11 insertions(+), 6 deletions(-)
218
commit e49efcbbb93d18138da31cdcc114ca1baa67d56c
219
Author: Guillem Jover <guillem@debian.org>
220
Date: Thu Mar 31 20:11:54 2011 +0200
222
dpkg: Move lchown() call from tarobject() to tarobject_set_perms()
224
This unifies a bit more the tarobject permission handling into a single
227
src/archives.c | 18 +++++++++---------
228
1 files changed, 9 insertions(+), 9 deletions(-)
230
commit 632048a0a1cd3815a737f4d0bf5fddcf6bdcefd6
231
Author: Guillem Jover <guillem@debian.org>
232
Date: Mon Mar 21 18:31:55 2011 +0200
234
libdpkg: Move mtime from file_stat back to tar_info
236
There's never a reason to override the mtime, no point in carrying and
237
copying it around in file_stat for now.
239
lib/dpkg/file.h | 1 -
240
lib/dpkg/tarfn.c | 2 +-
241
lib/dpkg/tarfn.h | 1 +
242
src/archives.c | 12 +++++-------
243
4 files changed, 7 insertions(+), 9 deletions(-)
245
commit b5e4c93f82a4a915f58df0335ffecba9f98f675b
246
Author: Guillem Jover <guillem@debian.org>
247
Date: Thu Mar 31 19:48:25 2011 +0200
249
dpkg: Use utimes(2) instead of obsolete utime(2)
251
POSIX.1-2008 marked utime(2) as obsolete. Ideally we'd switch to use
252
utimensat(2), which would simplify quite a bit the code, but it's not
253
yet widely available, and using it would imply having to support
254
fallback code at compilation and run-time. This can be done later on
255
once we up the POSIX baseline.
257
src/archives.c | 13 ++++++++-----
258
1 files changed, 8 insertions(+), 5 deletions(-)
260
commit 36a3883ee15e6c39ab54750b1365d217aa48bf75
261
Author: Guillem Jover <guillem@debian.org>
262
Date: Thu Mar 31 19:37:14 2011 +0200
264
dpkg: Move conditionals to tarobject_set_*() functions
266
This will allow to handle the different cases transparently. Pass a
267
tar_entry to each of the functions.
269
src/archives.c | 20 ++++++++++++++------
270
1 files changed, 14 insertions(+), 6 deletions(-)
272
commit f281bc0fd64c563e452050145c0a5c2b6294105d
273
Author: Guillem Jover <guillem@debian.org>
274
Date: Thu Mar 31 15:17:10 2011 +0200
276
dpkg: Rename newtarobject_allmodes() to tarobject_set_perms()
278
src/archives.c | 4 ++--
279
1 files changed, 2 insertions(+), 2 deletions(-)
281
commit 37d86f2b772d6aaf8d25972e32e19f38a29e676f
282
Author: Guillem Jover <guillem@debian.org>
283
Date: Thu Mar 31 15:16:48 2011 +0200
285
dpkg: Rename newtarobject_utime() to tarobject_set_mtime()
287
src/archives.c | 4 ++--
288
1 files changed, 2 insertions(+), 2 deletions(-)
290
commit 5e50a926b217ed01da35b6eccd656ba7ec47d1e9
291
Author: Guillem Jover <guillem@debian.org>
292
Date: Thu Mar 31 15:05:11 2011 +0200
294
dpkg: Factor out newtarobject_allmodes() call
296
src/archives.c | 7 ++-----
297
1 files changed, 2 insertions(+), 5 deletions(-)
299
commit b1ef911615c9fec1163ce2b9d6fdb9cb46b43377
300
Author: Guillem Jover <guillem@debian.org>
301
Date: Mon Mar 21 18:30:40 2011 +0200
303
dpkg: Move newtarobject_utime() call out of newtarobject_allmodes()
305
Always call newtarobject_utime() for all tar object types, except
308
src/archives.c | 4 ++--
309
1 files changed, 2 insertions(+), 2 deletions(-)
311
commit 07bbb73fcd8ee0a911535d6dbe53b07e8ff99f3b
312
Author: Guillem Jover <guillem@debian.org>
313
Date: Thu Mar 31 14:01:32 2011 +0200
315
dpkg: Fix typo in comment ‘cheched’ → ‘checked’
317
src/archives.c | 2 +-
318
1 files changed, 1 insertions(+), 1 deletions(-)
320
commit 5b03e1e990f2260e0e852e50986fe492fc5e8f70
321
Author: Guillem Jover <guillem@debian.org>
322
Date: Mon Mar 21 18:11:32 2011 +0200
324
libdpkg: Update MD5 implementation with the one from OpenBSD
326
Add <config.h> and <compat.h> includes. Change <md5.h> include to
327
"md5.h". Change BYTE_ORDER check to WORDS_BIGENDIAN. Remove __bounded__
328
gcc attributes on function declarations. Remove file helper
331
lib/dpkg/md5.c | 307 +++++++++++++++++++++++++++++---------------------------
332
lib/dpkg/md5.h | 51 ++++------
333
2 files changed, 178 insertions(+), 180 deletions(-)
335
commit bfb43e8aaec95b69184bffaceb099819ad97721d
336
Author: Guillem Jover <guillem@debian.org>
337
Date: Wed Mar 16 14:33:09 2011 +0100
339
Rename struct cmdinfo member arg_func to action and call it directly
341
This avoids a temporary variable, given that now the function is
344
dpkg-deb/main.c | 5 ++---
345
dpkg-split/main.c | 5 ++---
346
lib/dpkg/myopt.h | 3 ++-
347
src/divertcmd.c | 5 +----
348
src/main.c | 9 ++-------
349
src/querycmd.c | 5 +----
350
src/statcmd.c | 4 +---
351
7 files changed, 11 insertions(+), 25 deletions(-)
353
commit 12d1e5a1a42ee085b79d1a3bb3a94a9b0165afff
354
Author: Guillem Jover <guillem@debian.org>
355
Date: Wed Mar 16 14:22:36 2011 +0100
357
Use new action_func typedef instead of ad-hoc function casts
359
dpkg-deb/dpkg-deb.h | 13 +++++++++----
360
dpkg-deb/main.c | 4 ++--
361
dpkg-split/dpkg-split.h | 9 ++++++---
362
dpkg-split/main.c | 4 ++--
363
lib/dpkg/myopt.h | 6 +++---
364
src/divertcmd.c | 4 ++--
365
src/main.c | 10 +++++-----
366
src/querycmd.c | 4 ++--
367
src/statcmd.c | 4 ++--
368
9 files changed, 33 insertions(+), 25 deletions(-)
370
commit ba372a8c554dfe6fa4f0e12961efab6b10aaf6bd
371
Author: Guillem Jover <guillem@debian.org>
372
Date: Wed Mar 16 14:22:34 2011 +0100
374
Make all command line action functions return int
376
This will allow using type-safe function pointers instead of casting
377
them around. Replace all exit(3) calls with return statements. Remove
378
DPKG_ATTR_NORET from function declarations, all functions are expected
381
dpkg-deb/build.c | 6 ++-
382
dpkg-deb/dpkg-deb.h | 4 +-
383
dpkg-deb/extract.c | 35 +++++++++++++++----
384
dpkg-deb/info.c | 25 ++++++++++---
385
dpkg-deb/main.c | 7 +++-
386
dpkg-split/dpkg-split.h | 4 +-
387
dpkg-split/info.c | 6 +++-
388
dpkg-split/join.c | 6 +++-
389
dpkg-split/main.c | 6 ++-
390
dpkg-split/queue.c | 20 ++++++++--
391
dpkg-split/split.c | 4 +-
392
src/archives.c | 6 +++-
393
src/enquiry.c | 89 ++++++++++++++++++++++++++++++++--------------
394
src/main.c | 30 ++++++++++------
395
src/main.h | 34 +++++++++---------
396
src/packages.c | 4 ++-
397
src/select.c | 17 +++++++--
399
src/update.c | 12 +++++-
400
19 files changed, 225 insertions(+), 94 deletions(-)
402
commit f6600ffa162e6f2f04f6a10d9622bee3bc8781a1
403
Author: Guillem Jover <guillem@debian.org>
404
Date: Thu Mar 24 03:57:44 2011 +0100
406
dpkg: Pass default return value to reportbroken_retexitstatus()
408
This will allow to pass arbitrary values from the command actions when
409
there's not been any reported error.
411
src/errors.c | 6 ++++--
414
3 files changed, 6 insertions(+), 4 deletions(-)
416
commit 1059a9f6ed8568032ae64aba72ef18c289d42dae
417
Author: Raphaël Hertzog <hertzog@debian.org>
418
Date: Fri Apr 1 21:26:02 2011 +0200
420
dpkg-source: temporarily drop Package-List field generation
422
That way we can discuss it further until there's consensus on its design
423
and upload 1.16.0 immediately.
425
debian/changelog | 3 ---
426
scripts/dpkg-source.pl | 1 +
427
2 files changed, 1 insertions(+), 3 deletions(-)
429
commit bdcee319a90eee494af70e6725fed8b4e8f16584
430
Author: Raphaël Hertzog <hertzog@debian.org>
431
Date: Fri Apr 1 20:45:46 2011 +0200
433
dpkg-divert: fix minor file descriptor leak found by cppcheck
435
Reported-by: Niels Thykier <niels@thykier.net>
437
debian/changelog | 1 +
438
src/divertcmd.c | 4 +++-
439
2 files changed, 4 insertions(+), 1 deletions(-)
441
commit e3a9083fcadcb1cff64a2b3980b2679e7396fb99
442
Author: Raphaël Hertzog <hertzog@debian.org>
443
Date: Sat Mar 26 09:24:58 2011 +0100
445
dpkg-source: extend the Package-List field based on the feedback received
447
Integrate the architecture field with spaces replaced by commas. It will
448
be used by the wanna-build team to see if the source package builds
449
Architecture: all packages. The reprepro maintainer also had a similar
450
use case for this information.
452
Put the type of the package in a dedicated field rather than a prefix of
453
the package name. Suggested by Bastian Blank.
456
http://lists.debian.org/debian-policy/2011/03/threads.html#00155
458
debian/changelog | 2 +-
459
scripts/dpkg-source.pl | 12 +++++++-----
460
2 files changed, 8 insertions(+), 6 deletions(-)
462
commit 7ea2064c46b77398a63d7f7a543ebcf08f7c74d2
463
Author: Raphaël Hertzog <hertzog@debian.org>
464
Date: Thu Mar 24 23:53:37 2011 +0100
466
Dpkg::Source::Patch: don't choke on empty patches
468
Commit 255e73e11d1365fbb1e8d78287fad751a8ebc6e5 introduced a regression
469
with empty patches by assuming that a patch analysis would always give
470
back at least one filename.
472
Reported-by: Niels Thykier <niels@thykier.net>
474
debian/changelog | 2 ++
475
scripts/Dpkg/Source/Patch.pm | 2 +-
476
2 files changed, 3 insertions(+), 1 deletions(-)
478
commit 893a04ba94f21ea068aa18a7b715769275b98892
479
Author: Raphaël Hertzog <hertzog@debian.org>
480
Date: Thu Mar 24 16:04:30 2011 +0100
482
Dpkg::Changelog::Debian::Entry: ignore whitespaces after options in header
484
debian/changelog | 2 ++
485
scripts/Dpkg/Changelog/Entry/Debian.pm | 2 +-
486
2 files changed, 3 insertions(+), 1 deletions(-)
488
commit 84e9322448b3b9b227d80b667ef1274452d6fb3e
489
Author: Raphaël Hertzog <hertzog@debian.org>
490
Date: Thu Mar 24 15:45:22 2011 +0100
492
dpkg-source: strip spaces around newlines in Uploaders
494
debian/changelog | 2 ++
495
scripts/dpkg-source.pl | 2 +-
496
2 files changed, 3 insertions(+), 1 deletions(-)
498
commit c52cb59d6bc99dc02a0a63fd2c80fe544bf6d691
499
Author: Raphaël Hertzog <hertzog@debian.org>
500
Date: Thu Mar 24 15:29:54 2011 +0100
502
dpkg(1): remove a duplicate word in the german translation
504
Concerns the explanation of --get-selections.
506
debian/changelog | 1 +
508
2 files changed, 2 insertions(+), 1 deletions(-)
510
commit 7504022cd8922bf7a69572106b1b4a7a1c052675
511
Author: Raphaël Hertzog <hertzog@debian.org>
512
Date: Thu Mar 24 15:26:04 2011 +0100
514
Fix two typos in changelog
516
debian/changelog | 4 ++--
517
1 files changed, 2 insertions(+), 2 deletions(-)
519
commit 014672432452a6f6a18c44e733fece7938685370
520
Author: Raphaël Hertzog <hertzog@debian.org>
521
Date: Thu Mar 24 14:39:56 2011 +0100
523
dpkg-source: add new Package-List field to .dsc files
525
This field has been requested by ftpmasters so that they can install
526
overrides for all binary packages as soon as they have approved
527
the source package. It contains a the list of packages that the source
528
can build along with their sections and priorities.
533
src:foo admin optional
535
foo-common admin optional
536
udeb:foo-udeb debian-installer extra
538
debian/changelog | 3 +++
539
scripts/Dpkg/Control/Fields.pm | 6 +++++-
540
scripts/dpkg-source.pl | 12 ++++++++++++
541
3 files changed, 20 insertions(+), 1 deletions(-)
543
commit d291a98bce9ecf04ae7f35262453b038dc17cf04
544
Author: Raphaël Hertzog <hertzog@debian.org>
545
Date: Thu Mar 24 12:18:50 2011 +0100
547
Dpkg::Control::Fields: define the place of the Built-Using field
549
Commit a8cb927edb7dbd67c7a6084685998818b811caec forgot to add the
550
Built-Using field in %FIELD_ORDER.
552
scripts/Dpkg/Control/Fields.pm | 4 ++--
553
1 files changed, 2 insertions(+), 2 deletions(-)
555
commit cd4237cc8828a609be6260d3379f60d9c4694393
556
Author: Helge Kreutzmann <debian@helgefjell.de>
557
Date: Wed Mar 23 19:43:34 2011 +0100
559
Update German translation of manual pages
563
man/po/de.po | 51 +++++++++++++++++++++++++++++++++++++++------------
564
1 files changed, 39 insertions(+), 12 deletions(-)
566
commit a8cb927edb7dbd67c7a6084685998818b811caec
567
Author: Mark Hymers <mhy@debian.org>
568
Date: Tue Mar 22 15:50:16 2011 +0000
570
dpkg-gencontrol: add support for Built-Using field
572
And teach dpkg-deb to not complain about it.
574
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
576
debian/changelog | 3 +++
577
dpkg-deb/build.c | 1 +
578
man/deb-control.5 | 11 +++++++++++
579
man/deb-src-control.5 | 3 +++
580
scripts/Dpkg/Control/Fields.pm | 5 +++++
581
5 files changed, 23 insertions(+), 0 deletions(-)
583
commit 6a7a20c72325a57762e34f5dbb9f79ba73b5d496
584
Author: Raphaël Hertzog <hertzog@debian.org>
585
Date: Mon Mar 21 08:23:49 2011 +0100
587
dpkg: use the correct mtime when installing a file with statoverrides
589
Regression introduced by commit ceb07b08dad4d5eead630064f45c7e7ded00a341.
591
Reported-by: Marc A. Donges
593
debian/changelog | 2 ++
594
src/archives.c | 6 ++++--
595
2 files changed, 6 insertions(+), 2 deletions(-)
597
commit b5a79629f849faf27bf20f088af1487fa5e2bc14
598
Author: Sven Joachim <svenjoac@gmx.de>
599
Date: Thu Mar 17 16:21:13 2011 +0100
601
Fix minor error in German dpkg translation
604
1 files changed, 2 insertions(+), 1 deletions(-)
606
commit 083f2ed8a6d125ea7b88e58fed034742aefb021e
607
Author: Raphaël Hertzog <hertzog@debian.org>
608
Date: Thu Mar 17 14:35:53 2011 +0100
610
dpkg-divert: fix return value of rename_mv
612
This is a regression introduced by the C rewrite of dpkg-divert
613
(commit 02b12d75f1eff7c184fafb5a663a0421e9a645ea) that made it unable to
614
rename files when that rename implies a copy on another file system.
616
The code has provision to do a copy when a simple rename is not enough
617
but the associated function erroneously returned a failure value when
618
that operation was performed.
620
Reported-by: Durk Strooisma
622
debian/changelog | 3 +++
623
src/divertcmd.c | 2 +-
624
2 files changed, 4 insertions(+), 1 deletions(-)
626
commit b100b81bfda369bd13cffddc99b79ae3a9663c05
627
Author: Raphaël Hertzog <hertzog@debian.org>
628
Date: Wed Mar 16 08:00:44 2011 +0100
630
pkg_parse_copy(): fix references to variables in a comment
632
The comment still used the old names of variables from before the code had
633
been factored in a separate function (in commit
634
58df02f9d39c1e7b1c7f49026a649f125b87140d).
636
lib/dpkg/parse.c | 4 ++--
637
1 files changed, 2 insertions(+), 2 deletions(-)
639
commit f3ac02357276ffe2ed29b350a98f0e14e162463a
640
Author: Guillem Jover <guillem@debian.org>
641
Date: Wed Mar 16 00:54:13 2011 +0100
643
libdpkg: Do not lose reverse dependencies when parsing control data
645
Regression introduced in commit 58df02f9d39c1e7b1c7f49026a649f125b87140d.
647
lib/dpkg/parse.c | 2 +-
648
1 files changed, 1 insertions(+), 1 deletions(-)
650
commit 6093adaf447e98496dc4413277f474a379fdc912
651
Author: Helge Kreutzmann <debian@helgefjell.de>
652
Date: Tue Mar 15 17:00:27 2011 +0100
654
Update German translation of manual pages
658
man/po/de.po | 162 ++++++++++++++++++++++++++++++++++------------------------
659
1 files changed, 96 insertions(+), 66 deletions(-)
661
commit 88b0c3043a651a422cd0c43c38ab6d553e2214ea
662
Author: Guillem Jover <guillem@debian.org>
663
Date: Tue Mar 15 01:24:28 2011 +0100
665
Add armhf support to ostable and triplettable
669
debian/changelog | 1 +
672
3 files changed, 3 insertions(+), 0 deletions(-)
674
commit d9130f2deff8a78c8813bb1d6d2504d3773a6a6e
675
Author: Raphaël Hertzog <hertzog@debian.org>
676
Date: Mon Mar 14 14:49:26 2011 +0100
678
dpkg-split: fix a gcc warning
680
The refactoring made in commit 86cbf575b13d049504402f72d221fa1538c2e53b
681
was supposed to add the cast for the argument matching
682
the %jx specifier (and not %s).
684
dpkg-split/queue.c | 4 ++--
685
1 files changed, 2 insertions(+), 2 deletions(-)
687
commit 20c568dccae1d1a8b108eabb6e9df57d82d3834c
688
Author: Sven Joachim <svenjoac@gmx.de>
689
Date: Mon Mar 14 13:09:18 2011 +0100
691
German dpkg translation update
695
po/de.po | 1317 +++++++++++++++++++++++++++++++-------------------------------
696
1 files changed, 667 insertions(+), 650 deletions(-)
698
commit 3bfb2e8845b277f4cecd720c3aef0a1d6604d895
699
Author: Sven Joachim <svenjoac@gmx.de>
700
Date: Mon Mar 14 13:08:45 2011 +0100
702
build: Update po/POTFILES.in for new/renamed source files
704
lib/dpkg/dir.c (commit 20fdb395cc721a5060c5623eda956d73ea840a21)
705
src/infodb.c (commit 9f7f2a958321d41725c0ae7f46c434fe4cbf3c6a)
707
lib/dpkg/database.c → lib/dpkg/pkg-db.c (commit
708
ced5ec027285de3f207c0bb7a26e3455503e7e29)
710
po/POTFILES.in | 4 +++-
711
1 files changed, 3 insertions(+), 1 deletions(-)
713
commit b8d8d02e4afd7b377bad3d81afdcc48d5c6f3938
714
Author: Sven Joachim <svenjoac@gmx.de>
715
Date: Mon Mar 14 13:08:21 2011 +0100
719
dpkg-split/queue.c | 2 +-
720
1 files changed, 1 insertions(+), 1 deletions(-)
722
commit 86cbf575b13d049504402f72d221fa1538c2e53b
723
Author: Guillem Jover <guillem@debian.org>
724
Date: Mon Mar 14 02:15:38 2011 +0100
726
Use off_t and %jd or %jx to handle file sizes and offsets
728
This allows to support large files on 32-bit systems were a ‘long int’
729
type might not be of at least 64-bits. For printing %jd or %jx is used,
730
and the value is cast to intmax_t.
732
dpkg-deb/build.c | 5 +++--
733
dpkg-deb/extract.c | 18 ++++++++++--------
734
dpkg-deb/info.c | 5 +++--
735
dpkg-split/dpkg-split.h | 12 ++++++------
736
dpkg-split/info.c | 20 ++++++++++----------
737
dpkg-split/main.c | 4 ++--
738
dpkg-split/queue.c | 9 +++++----
739
dpkg-split/split.c | 10 ++++++----
740
lib/dpkg/ar.c | 7 ++++---
742
lib/dpkg/buffer.c | 2 +-
743
lib/dpkg/tarfn.c | 2 +-
744
lib/dpkg/tarfn.h | 2 +-
745
src/archives.c | 5 +++--
746
src/processarc.c | 3 ++-
747
15 files changed, 58 insertions(+), 48 deletions(-)
749
commit 74dc50b34d45e906ecdf664634ad491f2ffac43e
750
Author: Guillem Jover <guillem@debian.org>
751
Date: Mon Mar 14 03:01:43 2011 +0100
753
Use size_t and %zu to handle memory sizes and offsets
755
dselect/methparse.cc | 6 +++---
756
lib/dpkg/mlib.c | 6 ++++--
757
lib/dpkg/pkg-format.c | 2 +-
758
utils/update-alternatives.c | 2 +-
759
4 files changed, 9 insertions(+), 7 deletions(-)
761
commit 07eee0db56472a5932249c04b940b9c8fe01bb5f
762
Author: Guillem Jover <guillem@debian.org>
763
Date: Mon Mar 14 02:58:28 2011 +0100
765
libdpkg: Replace OtoL() with OtoM() converting to intmax_t
767
This allows storing at least 64-bit integers on 32-bit systems, and thus
770
lib/dpkg/tarfn.c | 25 +++++++++++++------------
771
1 files changed, 13 insertions(+), 12 deletions(-)
773
commit f9aaae4396a0465dce0f8c05e9e1608bd9425e81
774
Author: Guillem Jover <guillem@debian.org>
775
Date: Mon Mar 14 05:21:49 2011 +0100
777
dpkg-split: Make decompose_filename() and setpartsize() use strtoimax()
779
This will allow parsing large numbers, required for large file support.
781
dpkg-split/main.c | 3 ++-
782
dpkg-split/queue.c | 3 ++-
783
2 files changed, 4 insertions(+), 2 deletions(-)
785
commit 75d6bcf73ba88e443c2fd1a65018bb7f40d76ff1
786
Author: Guillem Jover <guillem@debian.org>
787
Date: Mon Mar 14 02:12:57 2011 +0100
789
dpkg-split: Replace unsignedlong() with parse_intmax()
792
dpkg-split/info.c | 20 ++++++++++++--------
793
2 files changed, 13 insertions(+), 9 deletions(-)
795
commit 766de19997417fc673c0b07e9fef2cffb25d5b25
796
Author: Guillem Jover <guillem@debian.org>
797
Date: Mon Mar 14 01:55:50 2011 +0100
799
build: Check for %j and %z format modifiers support
801
We use those to create binary output, so we require them to be working.
803
m4/dpkg-compiler.m4 | 12 ++++++++++++
804
1 files changed, 12 insertions(+), 0 deletions(-)
806
commit df6a6091b3e420b12286dbde56ef86cf0230c2b4
807
Author: Guillem Jover <guillem@debian.org>
808
Date: Sun Mar 13 23:32:30 2011 +0100
810
dpkg-split: Use a constant expression to declare an array
812
Although usually the compiler should replace strlen(literal) with a
813
built-in, it might not, and it's more predictable to use a constant
814
expression using sizeof() instead to avoid making it a variable
815
length array. This fixes a warning with latest gcc and -Wvla.
817
dpkg-split/info.c | 2 +-
818
1 files changed, 1 insertions(+), 1 deletions(-)
820
commit 79a67e901e0ce82944d33f13d0830fe256f9a39c
821
Author: Guillem Jover <guillem@debian.org>
822
Date: Mon Mar 14 07:16:31 2011 +0100
824
Inline rerr() into its only current call site
826
dpkg-split/dpkg-split.h | 1 -
827
dpkg-split/info.c | 5 ++++-
828
dpkg-split/main.c | 4 ----
829
3 files changed, 4 insertions(+), 6 deletions(-)
831
commit 26998971c3e84e33a4602e3d97a6a8c9a058fa16
832
Author: Guillem Jover <guillem@debian.org>
833
Date: Sun Mar 13 23:30:19 2011 +0100
835
Inline werr() into its only current call site
837
dpkg-deb/build.c | 2 +-
838
lib/dpkg/ehandle.c | 4 ----
839
lib/dpkg/ehandle.h | 2 --
840
lib/dpkg/libdpkg.Versions | 1 -
841
4 files changed, 1 insertions(+), 8 deletions(-)
843
commit fdc401aa7d35d879ad0fb9090049691f2638af41
844
Author: Guillem Jover <guillem@debian.org>
845
Date: Sun Mar 13 23:10:28 2011 +0100
847
dpkg-deb: Use fdio instead of stdio
849
Prefer fdio for binary data.
851
dpkg-deb/build.c | 34 ++++++++++++++++++----------------
852
1 files changed, 18 insertions(+), 16 deletions(-)
854
commit 102aef24e438b7aba9cf90ab9fc75d3c13c6c7cf
855
Author: Guillem Jover <guillem@debian.org>
856
Date: Sun Mar 13 23:05:54 2011 +0100
858
dpkg-split: Do not slurp into memory the whole package parts
860
Use buffered I/O when reassembling split packages. This will make
861
possible to handle parts > 2 GiB on 32 bit systems.
863
dpkg-split/join.c | 45 +++++++++++++++++----------------------------
864
dpkg-split/queue.c | 36 +++++++++++++++++-------------------
865
2 files changed, 34 insertions(+), 47 deletions(-)
867
commit 9980e450861b782093572ecc23bfbdc8ee326087
868
Author: Guillem Jover <guillem@debian.org>
869
Date: Sun Mar 13 22:38:38 2011 +0100
871
libdpkg: Add missing <errno.h> needed by fd_null_copy()
873
lib/dpkg/buffer.h | 2 ++
874
1 files changed, 2 insertions(+), 0 deletions(-)
876
commit 65d2ed5c215657e0e0f60500148b47bd8436e282
877
Author: Guillem Jover <guillem@debian.org>
878
Date: Sun Mar 13 21:56:42 2011 +0100
880
u-a: Do not unneedingly initialize variables to NULL
882
Those get initialized unconditionally later on in the code.
884
This was spotted by a run with the clang static analyzer.
886
utils/update-alternatives.c | 1 -
887
1 files changed, 0 insertions(+), 1 deletions(-)
889
commit aab72be3be19811105baf7c22e3ac370423f9636
890
Author: Guillem Jover <guillem@debian.org>
891
Date: Sun Mar 13 21:51:21 2011 +0100
893
dpkg-query: Return a valid width even if opening /dev/tty failed
895
This was spotted by a run with the clang static analyzer.
897
src/querycmd.c | 9 ++++++---
898
1 files changed, 6 insertions(+), 3 deletions(-)
900
commit 9acbadfc967d74c7930912bf89e508b14ff509d9
901
Author: Guillem Jover <guillem@debian.org>
902
Date: Sun Mar 13 21:41:01 2011 +0100
904
build: Add -Wformat-security and -Wpointer-arith to default warnings
906
m4/dpkg-compiler.m4 | 1 +
907
1 files changed, 1 insertions(+), 0 deletions(-)
909
commit 4c3faede9746f1e85f544b319d07b2a2c12f67d4
910
Author: Guillem Jover <guillem@debian.org>
911
Date: Sun Mar 13 21:41:38 2011 +0100
913
dselect: Use a format string in printf() instead of only a variable
915
This fixes a warning with -Wformat-security.
917
dselect/main.cc | 2 +-
918
1 files changed, 1 insertions(+), 1 deletions(-)
920
commit a468c10801bb7cee20e15d04e502e67aa95a0f7e
921
Author: Guillem Jover <guillem@debian.org>
922
Date: Sun Mar 13 18:38:21 2011 +0100
924
dpkg: Add comment about why writeback code ignores return values
926
Suggested-by: Sven Mueller <sven@debian.org>
928
src/archives.c | 6 ++++++
929
1 files changed, 6 insertions(+), 0 deletions(-)
931
commit 557765dbed656c3718c65352f1cb995fcc8b87b9
932
Author: Guillem Jover <guillem@debian.org>
933
Date: Sun Mar 13 18:27:56 2011 +0100
935
Move pkgadmindir() and pkgadminfile() to the filesdb module
937
These functions are not really part of the modstatdb module, and by
938
moving them out they get detangled and will make it possible to extend
939
them w/o pulling additional code into binaries not using the functions.
941
lib/dpkg/dbmodify.c | 16 ----------------
942
lib/dpkg/dpkg-db.h | 3 ---
943
lib/dpkg/libdpkg.Versions | 2 --
944
src/filesdb.c | 40 ++++++++++++++++++++++++++++++++++++++++
945
src/filesdb.h | 3 +++
947
6 files changed, 44 insertions(+), 21 deletions(-)
949
commit dcac09fadeaea420267c85d430ed7668f3e37ba7
950
Author: Guillem Jover <guillem@debian.org>
951
Date: Sun Mar 13 19:56:01 2011 +0100
953
Make admindir file local everywhere
955
The interface to get and set the database directory is dpkg_db_get_dir()
956
and dpkg_db_set_dir().
958
dselect/dselect.h | 1 -
959
dselect/main.cc | 3 ++-
960
dselect/method.cc | 10 +++++-----
961
src/divertcmd.c | 2 +-
965
src/processarc.c | 2 ++
966
src/querycmd.c | 2 +-
967
src/statcmd.c | 4 ++--
969
11 files changed, 16 insertions(+), 14 deletions(-)
971
commit e0ae796d8cde360c5bf9b46b49998f6efa3b8c82
972
Author: Guillem Jover <guillem@debian.org>
973
Date: Sun Mar 13 08:45:25 2011 +0100
975
Do not pass admindir to database initialization functions
977
Use dpkg_db_get_dir() and dpkg_db_get_path() to globally retrieve the
978
database directory instead of passing it around.
980
dselect/main.cc | 6 +++---
981
lib/dpkg/dbmodify.c | 10 +++++-----
982
lib/dpkg/dpkg-db.h | 4 ++--
983
lib/dpkg/trigdeferred.h | 3 +--
984
lib/dpkg/trigdeferred.l | 2 +-
985
lib/dpkg/triglib.c | 6 +++---
986
lib/dpkg/triglib.h | 2 +-
987
src/archives.c | 3 +--
988
src/enquiry.c | 8 ++++----
990
src/packages.c | 3 +--
991
src/querycmd.c | 16 ++++++++--------
992
src/select.c | 6 +++---
993
src/trigcmd.c | 4 ++--
995
15 files changed, 38 insertions(+), 41 deletions(-)
997
commit 06cd58eed3c3c9b6d5764773428b2dd31d5233a3
998
Author: Guillem Jover <guillem@debian.org>
999
Date: Sun Mar 13 22:13:04 2011 +0100
1001
libdpkg: Use dpkg_db_get_path() instead of trig_get_triggersdir()
1003
Remove now unused trig_get_triggersdir().
1005
lib/dpkg/trigdeferred.l | 2 +-
1006
lib/dpkg/triglib.c | 12 +-----------
1007
lib/dpkg/triglib.h | 2 --
1008
3 files changed, 2 insertions(+), 14 deletions(-)
1010
commit f67665e8f5eb46b3a0b90d2a90001b3d33f94ef9
1011
Author: Guillem Jover <guillem@debian.org>
1012
Date: Sun Mar 13 19:17:55 2011 +0100
1014
Use dpkg_db_set_dir() instead of pkgadmindir_init()
1016
Remove now unused pkgadmindir_init().
1018
dselect/main.cc | 2 ++
1019
lib/dpkg/dbmodify.c | 12 ------------
1020
lib/dpkg/dpkg-db.h | 1 -
1021
src/divertcmd.c | 4 ++--
1023
src/querycmd.c | 4 ++--
1024
src/statcmd.c | 4 ++--
1025
src/trigcmd.c | 4 ++--
1026
8 files changed, 12 insertions(+), 21 deletions(-)
1028
commit addcf0717e7a6076f40a57d8aa9a0164868d46ba
1029
Author: Guillem Jover <guillem@debian.org>
1030
Date: Sun Mar 13 19:53:28 2011 +0100
1032
Use dpkg_db_get_path() instead of using m_asprintf() and admindir
1034
dselect/method.cc | 2 +-
1035
dselect/methparse.cc | 2 +-
1036
lib/dpkg/dbmodify.c | 2 +-
1037
src/divertcmd.c | 2 +-
1038
src/processarc.c | 2 +-
1039
src/statcmd.c | 2 +-
1040
6 files changed, 6 insertions(+), 6 deletions(-)
1042
commit 8ecd3414ebcf0a81a4f23b671c134729dc600a3a
1043
Author: Guillem Jover <guillem@debian.org>
1044
Date: Sun Mar 13 19:51:55 2011 +0100
1046
Use dpkg_db_get_path() instead of ad-hoc building the string with varbuf
1048
src/divertdb.c | 20 +++++++++-----------
1049
src/statdb.c | 16 +++++++---------
1050
src/update.c | 12 ++++++------
1051
3 files changed, 22 insertions(+), 26 deletions(-)
1053
commit 18d1daa7bfffdb00af4903ad895151fe60e77ebf
1054
Author: Guillem Jover <guillem@debian.org>
1055
Date: Sun Mar 13 08:45:25 2011 +0100
1057
libdpkg: Add new dbdir module
1059
lib/dpkg/Makefile.am | 2 +
1060
lib/dpkg/dbdir.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++
1061
lib/dpkg/dpkg-db.h | 6 +++
1062
3 files changed, 100 insertions(+), 0 deletions(-)
1064
commit ad2f2b8ca2abf2e21e55ab7425f19dd27cad96d8
1065
Author: Guillem Jover <guillem@debian.org>
1066
Date: Sun Mar 13 07:41:30 2011 +0100
1068
dselect: Use modstatdb_can_lock() in refreshmenu() instead of ad-hoc code
1070
dselect/main.cc | 11 +++--------
1071
1 files changed, 3 insertions(+), 8 deletions(-)
1073
commit 62b91d46785dae5d7eab796f0ceb43295f1c54b8
1074
Author: Guillem Jover <guillem@debian.org>
1075
Date: Sun Mar 13 07:40:09 2011 +0100
1077
libdpkg: Refactor modstatdb_can_lock() out from modstatdb_lock()
1079
lib/dpkg/dbmodify.c | 25 ++++++++++++++++++-------
1080
lib/dpkg/dpkg-db.h | 1 +
1081
lib/dpkg/libdpkg.Versions | 1 +
1082
3 files changed, 20 insertions(+), 7 deletions(-)
1084
commit 2ed67cedac6e5b8dfae90c56f96c8a44accc9302
1085
Author: Guillem Jover <guillem@debian.org>
1086
Date: Sun Mar 13 22:02:01 2011 +0100
1088
libdpkg: Handle EACCES as a permission error in modstatdb_lock()
1090
The current code only considers EPERM, but EACCES is also a valid error
1091
concerning permission issues from open(2).
1093
lib/dpkg/dbmodify.c | 2 +-
1094
1 files changed, 1 insertions(+), 1 deletions(-)
1096
commit 8619e6d31486b874f8f2f2cdb34e66704d26a6a0
1097
Author: Guillem Jover <guillem@debian.org>
1098
Date: Sun Mar 13 07:38:03 2011 +0100
1100
libdpkg: Reset dblockfd on modstatdb_unlock()
1102
This will allow locking again the database after having previously
1105
lib/dpkg/dbmodify.c | 2 ++
1106
1 files changed, 2 insertions(+), 0 deletions(-)
1108
commit 6c9093777f6121dc8c2ee3be44d2937402f3c028
1109
Author: Guillem Jover <guillem@debian.org>
1110
Date: Sun Mar 13 06:48:27 2011 +0100
1112
Make modstatdb locking functions not take an admindir argument
1114
Initialize the lockfile on modstatdb_init() via the fnis array. Make
1115
sure we call modstatdb_init() and modstatdb_done() in case we are not
1116
calling modstatdb_open() and modstatdb_shutdown().
1118
lib/dpkg/dbmodify.c | 23 +++++++----------------
1119
lib/dpkg/dpkg-db.h | 4 ++--
1120
src/enquiry.c | 2 +-
1121
src/update.c | 6 +++++-
1122
4 files changed, 15 insertions(+), 20 deletions(-)
1124
commit be596facc45b0b921322abd0d885bead822639f4
1125
Author: Guillem Jover <guillem@debian.org>
1126
Date: Sun Mar 13 06:29:08 2011 +0100
1128
libdpkg: Refactor modstatdb init/done sequence into new functions
1130
Move variable path initialization and destruction code to the new
1131
modstatdb_init() and modstatdb_done(). Add a boolean variable to protect
1132
the funtions from reiterated calls.
1134
lib/dpkg/dbmodify.c | 59 ++++++++++++++++++++++++++++++++-------------
1135
lib/dpkg/dpkg-db.h | 2 +
1136
lib/dpkg/libdpkg.Versions | 1 +
1137
3 files changed, 45 insertions(+), 17 deletions(-)
1139
commit 7a14fd7d6604d5b8de58e0e33ddd8ee8026bff62
1140
Author: Guillem Jover <guillem@debian.org>
1141
Date: Sun Mar 13 06:29:08 2011 +0100
1143
libdpkg: Rename modstatdb_init() to modstatdb_open()
1145
We'll need to reuse the modstatdb_init() function name for further
1148
dselect/main.cc | 2 +-
1149
lib/dpkg/dbmodify.c | 2 +-
1150
lib/dpkg/dpkg-db.h | 2 +-
1151
lib/dpkg/libdpkg.Versions | 1 +
1152
src/archives.c | 2 +-
1153
src/enquiry.c | 8 ++++----
1154
src/packages.c | 2 +-
1155
src/querycmd.c | 16 ++++++++--------
1156
src/select.c | 6 +++---
1157
9 files changed, 21 insertions(+), 20 deletions(-)
1159
commit ced5ec027285de3f207c0bb7a26e3455503e7e29
1160
Author: Guillem Jover <guillem@debian.org>
1161
Date: Sun Mar 13 06:09:10 2011 +0100
1163
libdpkg: Rename database module to pkg-db
1165
This matches the namespace for the provided functions, and disambiguates
1166
what kind of database it's refering to.
1168
lib/dpkg/Makefile.am | 2 +-
1169
lib/dpkg/{database.c => pkg-db.c} | 2 +-
1170
2 files changed, 2 insertions(+), 2 deletions(-)
1172
commit 1a8c2f8400324dc04e1fa664239c3bbc6399e6b0
1173
Author: Guillem Jover <guillem@debian.org>
1174
Date: Sun Mar 13 06:06:33 2011 +0100
1176
libdpkg: Rename hashreport() to pkg_db_report()
1178
lib/dpkg/database.c | 4 +++-
1179
lib/dpkg/dpkg-db.h | 2 +-
1180
2 files changed, 4 insertions(+), 2 deletions(-)
1182
commit 69a2c708c05d7a81041e0b2fbdf7941c40ad3113
1183
Author: Guillem Jover <guillem@debian.org>
1184
Date: Sun Mar 13 06:01:39 2011 +0100
1186
libdpkg: Move non pkg_db related functions to the pkg module
1188
The pkgbin_blank, pkg_blank and pkg_is_informative are not strictly
1189
part of the pkg_db module, and can be used w/o the latter.
1191
lib/dpkg/database.c | 65 -------------------------------------------
1192
lib/dpkg/pkg.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++
1193
2 files changed, 77 insertions(+), 65 deletions(-)
1195
commit 190a0f88ef7258b6a35a346ff1a3c21c68c3f6e4
1196
Author: Guillem Jover <guillem@debian.org>
1197
Date: Sun Mar 13 05:53:37 2011 +0100
1199
libdpkg: Move blankversion() to new version module
1201
lib/dpkg/Makefile.am | 3 ++-
1202
lib/dpkg/database.c | 5 -----
1203
lib/dpkg/version.c | 32 ++++++++++++++++++++++++++++++++
1204
3 files changed, 34 insertions(+), 6 deletions(-)
1206
commit 943de6c0e09760af1f8ad8c1e364fc4bcfbb1418
1207
Author: Guillem Jover <guillem@debian.org>
1208
Date: Sun Mar 13 05:40:43 2011 +0100
1210
libdpkg: Change file_unlock() to act directly on its new arguments
1212
This switches the function from unlocking the file via the popped
1213
cleanup to do the action itself.
1215
lib/dpkg/dbmodify.c | 3 ++-
1216
lib/dpkg/file.c | 21 +++++++++++----------
1217
lib/dpkg/file.h | 2 +-
1218
3 files changed, 14 insertions(+), 12 deletions(-)
1220
commit 55f9704e40f07a95a409e1fba38bb21d70041872
1221
Author: Guillem Jover <guillem@debian.org>
1222
Date: Sun Mar 13 05:04:11 2011 +0100
1224
libdpkg: Do not leak triggersdir
1226
lib/dpkg/trigdeferred.l | 5 ++++-
1227
1 files changed, 4 insertions(+), 1 deletions(-)
1229
commit c0f00ddf9a3258d28aa3ad306adabc3eb34476d9
1230
Author: Guillem Jover <guillem@debian.org>
1231
Date: Sun Mar 13 04:25:02 2011 +0100
1233
dselect: Use m_asprintf() instead of ad-hoc string construction
1235
dselect/method.cc | 10 +++-------
1236
dselect/methparse.cc | 9 ++-------
1237
2 files changed, 5 insertions(+), 14 deletions(-)
1239
commit 6761f32a6b9476cd63f874e8fbbb9346068049c3
1240
Author: Guillem Jover <guillem@debian.org>
1241
Date: Thu Mar 10 05:49:46 2011 +0100
1243
Make modstatdb available file options explicit
1245
The options were either explicit or dependent on the main status
1246
options, now they are always explicit. This detangles the actions
1247
on the available file from the ones on the status file. Rename the
1248
enum flags accordingly.
1250
lib/dpkg/dbmodify.c | 12 +++++++-----
1251
lib/dpkg/dpkg-db.h | 6 +++---
1252
src/archives.c | 4 ++--
1253
src/enquiry.c | 2 +-
1254
src/querycmd.c | 6 +++---
1255
5 files changed, 16 insertions(+), 14 deletions(-)
1257
commit af3153d09aa3ed5597d6d415e5ab7cc3ba972e7c
1258
Author: Steve Langasek <steve.langasek@linaro.org>
1259
Date: Wed Mar 9 11:43:05 2011 -0800
1261
Add new variables, DEB_HOST_MULTIARCH and DEB_BUILD_MULTIARCH
1263
Add new variables that return the "ideal" GNU triplet for each architecture
1264
which should be used as the path component for library installation.
1266
Signed-off-by: Guillem Jover <guillem@debian.org>
1268
debian/changelog | 6 ++++++
1269
man/dpkg-architecture.1 | 6 ++++++
1270
scripts/Dpkg/Arch.pm | 22 +++++++++++++++++++++-
1271
scripts/dpkg-architecture.pl | 10 ++++++++--
1272
4 files changed, 41 insertions(+), 3 deletions(-)
1274
commit 8a910bc7aadd0525fe24b14c8d6249f77bba15b7
1275
Author: Ivan Gagis <igagis@gmail.com>
1276
Date: Wed Mar 9 05:18:09 2011 +0100
1278
dpkg-name: Fix typo in --overwrite argument parsing
1280
This fixes the option so that it actually works at all.
1284
Signed-off-by: Guillem Jover <guillem@debian.org>
1286
debian/changelog | 2 ++
1287
scripts/dpkg-name.pl | 2 +-
1288
2 files changed, 3 insertions(+), 1 deletions(-)
1290
commit 7221d533e93de0d73716e4f69f1f01d73cce8f95
1291
Author: Guillem Jover <guillem@debian.org>
1292
Date: Tue Mar 8 14:15:19 2011 +0100
1294
u-a: Fix memory leaks due to scandir() return value
1296
utils/update-alternatives.c | 3 +++
1297
1 files changed, 3 insertions(+), 0 deletions(-)
1299
commit 9c01b373009ac462afbdb9375abd2c7b9abc19d5
1300
Author: Guillem Jover <guillem@debian.org>
1301
Date: Sat Mar 5 05:22:10 2011 +0100
1303
Do not write the available file unnecessarily
1305
Some times we need to write back the status file, but not the available
1306
file. Add a new flag to handle those cases.
1308
Based-on-patch-by: Michel Lespinasse <walken@zoy.org>
1310
debian/changelog | 2 +-
1311
dselect/main.cc | 2 +-
1312
lib/dpkg/dbmodify.c | 2 +-
1313
lib/dpkg/dpkg-db.h | 1 +
1315
5 files changed, 5 insertions(+), 4 deletions(-)
1317
commit fb49e131ef32039277c538f759ab19c1ff22e8fd
1318
Author: Guillem Jover <guillem@debian.org>
1319
Date: Fri Mar 4 16:15:51 2011 +0100
1321
Do not read the available file unnecessarily
1323
For commands that only make use of information from the status file,
1324
there's no need to make them read and parse the available file. This
1325
change does not alter the current behaviour, and commands that were
1326
previously updating the available file will continue doing so.
1328
Removing further access to it is pending a decision on how to treat
1329
globally the available file, which needs interaction with the package
1330
manager frontend developers.
1334
Based-on-patch-by: Michel Lespinasse <walken@zoy.org>
1336
debian/changelog | 2 ++
1337
lib/dpkg/dbmodify.c | 3 ++-
1338
src/archives.c | 4 ++--
1339
src/enquiry.c | 2 +-
1340
src/packages.c | 6 +++---
1341
src/querycmd.c | 16 +++++++++++-----
1342
src/select.c | 4 ++--
1343
7 files changed, 23 insertions(+), 14 deletions(-)
1345
commit 8e57f4f4224fc4f6f03a3aeef898e25f3ff881d5
1346
Author: Guillem Jover <guillem@debian.org>
1347
Date: Sat Mar 5 04:55:41 2011 +0100
1349
Switch the logic from msdbrw_noavail to msdbrw_available
1351
dselect/main.cc | 3 ++-
1352
lib/dpkg/dbmodify.c | 2 +-
1353
lib/dpkg/dpkg-db.h | 2 +-
1354
src/archives.c | 9 +++++----
1355
src/enquiry.c | 8 ++++----
1356
src/packages.c | 6 +++---
1357
src/querycmd.c | 12 ++++++------
1358
src/select.c | 6 +++---
1359
8 files changed, 25 insertions(+), 23 deletions(-)
1361
commit 898936120e987d9faf27002e2d01844edbfbb538
1362
Author: Roger Leigh <rleigh@debian.org>
1363
Date: Sat Mar 12 16:04:31 2011 +0000
1365
Dpkg::Control::Hash: accept PGP signature as end of block
1367
Improved-by: Raphaël Hertzog <hertzog@debian.org>
1369
debian/changelog | 3 +++
1370
scripts/Dpkg/Control/Hash.pm | 2 +-
1371
2 files changed, 4 insertions(+), 1 deletions(-)
1373
commit 2bfd5102b413d3a0b97aa93e50467f41b2448ecf
1374
Author: Helge Kreutzmann <debian@helgefjell.de>
1375
Date: Mon Mar 7 11:29:21 2011 +0100
1377
Update German scripts translation
1381
scripts/po/de.po | 7 +++----
1382
1 files changed, 3 insertions(+), 4 deletions(-)
1384
commit df8062d202016114b6c167cd0cf23e895587059c
1385
Author: Raphaël Hertzog <hertzog@debian.org>
1386
Date: Mon Mar 7 09:32:14 2011 +0100
1388
dpkg-source: be a bit less strict when parsing patches
1390
It will now accept seeing the same file twice
1392
Reported-by: Bastian Blank <waldi@debian.org>
1394
It will no longer match on the English text "No newline at end of file" as
1395
it might be translated in some cases. It will only consider the intial
1398
Reported-by: Jan-Marek Glogowski <glogow@fbihome.de>
1400
debian/changelog | 4 ++++
1401
scripts/Dpkg/Source/Patch.pm | 14 ++++++++------
1402
2 files changed, 12 insertions(+), 6 deletions(-)
1404
commit 43f5433769a0f8eecc3c1cc7a208d6e14171ad60
1405
Author: Raphaël Hertzog <hertzog@debian.org>
1406
Date: Sun Mar 6 10:46:28 2011 +0100
1408
Regenerate .pot files and merge .po files with them
1410
dselect/po/bs.po | 325 ++---
1411
dselect/po/ca.po | 340 +++---
1412
dselect/po/cs.po | 340 +++---
1413
dselect/po/da.po | 340 +++---
1414
dselect/po/de.po | 340 +++---
1415
dselect/po/dselect.pot | 327 ++---
1416
dselect/po/el.po | 340 +++---
1417
dselect/po/es.po | 340 +++---
1418
dselect/po/et.po | 334 +++---
1419
dselect/po/eu.po | 340 +++---
1420
dselect/po/fr.po | 340 +++---
1421
dselect/po/gl.po | 340 +++---
1422
dselect/po/hu.po | 334 +++---
1423
dselect/po/id.po | 340 +++---
1424
dselect/po/it.po | 340 +++---
1425
dselect/po/ja.po | 340 +++---
1426
dselect/po/ko.po | 340 +++---
1427
dselect/po/nb.po | 340 +++---
1428
dselect/po/nl.po | 340 +++---
1429
dselect/po/nn.po | 340 +++---
1430
dselect/po/pl.po | 340 +++---
1431
dselect/po/pt.po | 340 +++---
1432
dselect/po/pt_BR.po | 340 +++---
1433
dselect/po/ro.po | 340 +++---
1434
dselect/po/ru.po | 342 +++---
1435
dselect/po/sk.po | 340 +++---
1436
dselect/po/sv.po | 340 +++---
1437
dselect/po/tl.po | 340 +++---
1438
dselect/po/vi.po | 340 +++---
1439
dselect/po/zh_CN.po | 340 +++---
1440
dselect/po/zh_TW.po | 340 +++---
1441
man/po/dpkg-man.pot | 938 ++++++++++---
1442
man/po/es.po | 1234 +++++++++++++----
1443
man/po/fr.po | 1238 +++++++++++++----
1444
man/po/hu.po | 1125 ++++++++++++----
1445
man/po/ja.po | 1136 ++++++++++++----
1446
man/po/pl.po | 1234 +++++++++++++----
1447
man/po/pt_BR.po | 1058 +++++++++++----
1448
man/po/ru.po | 1126 ++++++++++++----
1449
man/po/sv.po | 1236 +++++++++++++----
1450
po/ast.po | 3435 ++++++++++++++++++++++++++--------------------
1451
po/bs.po | 2750 +++++++++++++++++++------------------
1452
po/ca.po | 3461 ++++++++++++++++++++++++++--------------------
1453
po/cs.po | 3412 ++++++++++++++++++++++++++-------------------
1454
po/da.po | 3498 ++++++++++++++++++++++++++--------------------
1455
po/de.po | 644 +++++-----
1456
po/dpkg.pot | 2742 +++++++++++++++++++------------------
1457
po/dz.po | 3262 ++++++++++++++++++++++++-------------------
1458
po/el.po | 3385 +++++++++++++++++++++++++--------------------
1459
po/eo.po | 3420 ++++++++++++++++++++++++++-------------------
1460
po/es.po | 3519 +++++++++++++++++++++++++++--------------------
1461
po/et.po | 2894 +++++++++++++++++++++------------------
1462
po/eu.po | 3428 ++++++++++++++++++++++++++-------------------
1463
po/fr.po | 3494 ++++++++++++++++++++++++++--------------------
1464
po/gl.po | 3374 +++++++++++++++++++++++++--------------------
1465
po/hu.po | 3208 ++++++++++++++++++++++++-------------------
1466
po/id.po | 3416 ++++++++++++++++++++++++++-------------------
1467
po/it.po | 3489 ++++++++++++++++++++++++++--------------------
1468
po/ja.po | 3427 ++++++++++++++++++++++++++--------------------
1469
po/km.po | 3212 ++++++++++++++++++++++++-------------------
1470
po/ko.po | 3479 ++++++++++++++++++++++++++--------------------
1471
po/ku.po | 2810 ++++++++++++++++++++------------------
1472
po/lt.po | 3025 ++++++++++++++++++++++------------------
1473
po/mr.po | 3216 ++++++++++++++++++++++++-------------------
1474
po/nb.po | 3413 ++++++++++++++++++++++++++-------------------
1475
po/ne.po | 3221 ++++++++++++++++++++++++-------------------
1476
po/nl.po | 3367 +++++++++++++++++++++++++--------------------
1477
po/nn.po | 3169 +++++++++++++++++++++++-------------------
1478
po/pa.po | 3021 ++++++++++++++++++++++-------------------
1479
po/pl.po | 3369 +++++++++++++++++++++++++--------------------
1480
po/pt.po | 3463 ++++++++++++++++++++++++++--------------------
1481
po/pt_BR.po | 3378 +++++++++++++++++++++++++--------------------
1482
po/ro.po | 3540 +++++++++++++++++++++++++++--------------------
1483
po/ru.po | 3453 ++++++++++++++++++++++++++--------------------
1484
po/sk.po | 3432 ++++++++++++++++++++++++++--------------------
1485
po/sv.po | 3433 ++++++++++++++++++++++++++--------------------
1486
po/th.po | 3389 ++++++++++++++++++++++++++-------------------
1487
po/tl.po | 3216 ++++++++++++++++++++++++-------------------
1488
po/vi.po | 3497 ++++++++++++++++++++++++++--------------------
1489
po/zh_CN.po | 3380 ++++++++++++++++++++++++++-------------------
1490
po/zh_TW.po | 3303 ++++++++++++++++++++++++-------------------
1491
scripts/po/ca.po | 445 +++---
1492
scripts/po/de.po | 323 +++---
1493
scripts/po/dpkg-dev.pot | 433 +++---
1494
scripts/po/es.po | 479 ++++---
1495
scripts/po/fr.po | 483 ++++---
1496
scripts/po/pl.po | 476 ++++---
1497
scripts/po/ru.po | 470 ++++---
1498
scripts/po/sv.po | 471 ++++---
1499
89 files changed, 89664 insertions(+), 67787 deletions(-)
1501
commit d5c5d8f8651eb2ccdb61847e2bd018f80fcd84cb
1502
Author: Raphaël Hertzog <hertzog@debian.org>
1503
Date: Sun Mar 6 10:44:22 2011 +0100
1505
dpkg-source: remove quilt's .pc directory when --unapply-patches is in use
1507
debian/changelog | 2 ++
1508
scripts/Dpkg/Source/Package/V3/quilt.pm | 2 +-
1509
2 files changed, 3 insertions(+), 1 deletions(-)
1511
commit 34d922eef1ecf03fbccc3b022fdbe58a81792be6
1512
Author: Raphaël Hertzog <hertzog@debian.org>
1513
Date: Sun Mar 6 10:08:43 2011 +0100
1515
Do not print warnings resulting from the autopatch analysis
1517
Colin's change in 40dcf24632684ec726210dd4437fdedbdbe6134e meant that the
1518
autopatch is parsed while it's already applied and this can trigger some
1521
This patch silences them. And also deals with similar cases that were
1522
unnoticed up to now.
1524
scripts/Dpkg/Source/Package/V2.pm | 4 ++--
1525
scripts/Dpkg/Source/Package/V3/quilt.pm | 4 +++-
1526
scripts/Dpkg/Source/Patch.pm | 15 ++++++++++-----
1527
3 files changed, 15 insertions(+), 8 deletions(-)
1529
commit 255e73e11d1365fbb1e8d78287fad751a8ebc6e5
1530
Author: Jonathan Nieder <jrnieder@gmail.com>
1531
Date: Mon Feb 14 06:39:03 2011 -0600
1533
dpkg-source: use server-side clock for patched file timestamp on NFS
1535
Since 1.13.14~20 (2006-02-10), dpkg-source touches the files it
1536
patches when unpacking, with a single date. This way, the order of
1537
mtimes does not depend on the order in which the files were patched,
1538
which is convenient when e.g. configure.in and configure are patched.
1540
More precisely, dpkg-source does something like the following:
1543
foreach my $fn (@patched_files) {
1544
utime($now, $now, $fn);
1547
Unfortunately when the filesystem is NFS, "touch" and normal
1548
modification set mtime and atime to the current time on the server
1549
side, while time() returns the current time on the client side.
1550
The two clocks can disagree, producing breakage.
1552
So unless a timestamp has been passed explicitly, use utime(undef,
1553
undef, $fn) to set mtime for the first file to the server side time
1554
and copy it (rounded down to a number of seconds) to all patched
1557
Reported-by: Stéphane Glondu <glondu@debian.org>
1558
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
1559
Improved-by: Raphaël Hertzog <hertzog@debian.org>
1560
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
1562
debian/changelog | 5 +++++
1563
scripts/Dpkg/Source/Functions.pm | 26 +++++++++++++++++++++++++-
1564
scripts/Dpkg/Source/Package/V1.pm | 3 +--
1565
scripts/Dpkg/Source/Package/V2.pm | 6 +++---
1566
scripts/Dpkg/Source/Package/V3/quilt.pm | 8 ++++----
1567
scripts/Dpkg/Source/Patch.pm | 7 +++++--
1568
6 files changed, 43 insertions(+), 12 deletions(-)
1570
commit 40dcf24632684ec726210dd4437fdedbdbe6134e
1571
Author: Colin Watson <cjwatson@ubuntu.com>
1572
Date: Mon Dec 6 09:42:17 2010 +0000
1574
dpkg-source: keep file order stable when regenerating autopatches.
1576
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
1578
debian/changelog | 3 +
1579
scripts/Dpkg/Source/Package/V2.pm | 3 +-
1580
scripts/Dpkg/Source/Patch.pm | 82 +++++++++++++++++++++++++-----------
1581
3 files changed, 62 insertions(+), 26 deletions(-)
1583
commit 4225da67179cae2be44a76d3c37c6c859c8659c5
1584
Author: Raphaël Hertzog <hertzog@debian.org>
1585
Date: Sat Mar 5 09:52:49 2011 +0100
1587
Fix english mistake catched by lintian
1589
man/dpkg-gensymbols.1 | 2 +-
1596
man/po/pt_BR.po | 2 +-
1599
10 files changed, 10 insertions(+), 10 deletions(-)
1601
commit 94bf966f04a6c4b262544f4cf6f8442379c821d1
1602
Author: Martin Dorey <mdorey@bluearc.com>
1603
Date: Sat Mar 5 09:44:00 2011 +0100
1605
Fix OtoL() to accumulate data in a long instead of an int
1607
On 64-bit architectures where the long is bigger than the int, it makes
1608
it possible to have files bigger than 2GB.
1610
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
1611
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
1613
debian/changelog | 2 ++
1614
lib/dpkg/tarfn.c | 2 +-
1615
2 files changed, 3 insertions(+), 1 deletions(-)
1617
commit 908fda0b103f7843992b7ec8609447d1efdd11b9
1618
Author: Helge Kreutzmann <debian@helgefjell.de>
1619
Date: Fri Mar 4 13:30:00 2011 +0100
1621
Update German translation of manual pages
1623
Update to 2004t0f0u.
1625
man/po/de.po | 68 ++++++++++++++++++++++++++++++---------------------------
1626
1 files changed, 36 insertions(+), 32 deletions(-)
1628
commit 5aac6553a7f40c73da046301bf96175b998f9221
1629
Author: Guillem Jover <guillem@debian.org>
1630
Date: Fri Mar 4 03:37:05 2011 +0100
1632
dpkg: Call gettext() on force option description printing
1634
Regression introduced in commit 97205c1bab2d5fd18e9dd33f5329db209b866634.
1637
1 files changed, 2 insertions(+), 1 deletions(-)
1639
commit 7fbb6b98a73c8b5fbbbd9a275bf6685625ae487c
1640
Author: Guillem Jover <guillem@debian.org>
1641
Date: Fri Mar 4 02:52:38 2011 +0100
1643
man: Add missing quotes and escaping
1645
man/dpkg-shlibdeps.1 | 10 +++++-----
1646
man/dpkg-source.1 | 4 ++--
1647
man/start-stop-daemon.8 | 6 +++---
1648
man/update-alternatives.8 | 4 ++--
1649
4 files changed, 12 insertions(+), 12 deletions(-)
1651
commit 7a86e4231750a73b37f7afa8d1c8944574d9c7fc
1652
Author: Guillem Jover <guillem@debian.org>
1653
Date: Thu Mar 3 18:41:58 2011 +0100
1655
dpkg-query: Document that --list and --show arguments are optional
1657
Do that in the --help output and in the man page.
1659
debian/changelog | 2 ++
1660
man/dpkg-query.1 | 4 ++--
1661
src/querycmd.c | 2 +-
1662
3 files changed, 5 insertions(+), 3 deletions(-)
1664
commit 47a7d338c77b36c92fbfdeb6dcd7d275ded94f56
1665
Author: Helge Kreutzmann <debian@helgefjell.de>
1666
Date: Thu Mar 3 17:56:31 2011 +0100
1668
Update German translation of manual pages
1670
Update to 2006t0f0u.
1672
man/po/de.po | 50 +++++++++++++++++++++++++-------------------------
1673
1 files changed, 25 insertions(+), 25 deletions(-)
1675
commit bd8ddb2fcad52236b5844531583e7a3d1b169259
1676
Author: Raphaël Hertzog <hertzog@debian.org>
1677
Date: Wed Mar 2 12:32:38 2011 +0100
1679
dpkg-shlibdeps: improve parsing of output of dpkg --search
1681
The returned package names can include ":" with foreign packages.
1682
Modify the regex to allow this but also tighten it to match only
1683
characters allowed in package names (plus ", " used as separator).
1685
And anchor the match on the filename with the initial "/" as
1688
Sponsored-by: Linaro Limited
1690
debian/changelog | 1 +
1691
scripts/dpkg-shlibdeps.pl | 2 +-
1692
2 files changed, 2 insertions(+), 1 deletions(-)
1694
commit 305d8090caf90e16a963cfb962ea78fa185b5849
1695
Author: Raphaël Hertzog <hertzog@debian.org>
1696
Date: Wed Mar 2 12:18:32 2011 +0100
1698
dpkg-shlibdeps: use get_control_path()
1700
Do not hardcode the location of shlibs/symbols files. They are under the
1701
control of dpkg. By using dpkg-query --control-path we ensure that we
1702
always use the correct location.
1704
Sponsored-by: Linaro Limited
1706
debian/changelog | 2 ++
1707
man/dpkg-shlibdeps.1 | 8 ++++----
1708
scripts/dpkg-shlibdeps.pl | 11 +++++++----
1709
3 files changed, 13 insertions(+), 8 deletions(-)
1711
commit 00ae46fa208194feb36bdced907ec8b7a8d62f3f
1712
Author: Raphaël Hertzog <hertzog@debian.org>
1713
Date: Wed Mar 2 12:13:38 2011 +0100
1715
Dpkg::Path::get_control_path(): wrapper around dpkg-query --control-path
1717
Sponsored-by: Linaro Limited
1719
debian/changelog | 2 ++
1720
scripts/Dpkg/Path.pm | 36 +++++++++++++++++++++++++++++++++---
1721
2 files changed, 35 insertions(+), 3 deletions(-)
1723
commit 873c0d7d717ae97ea3cc4309c1df6993137b3e21
1724
Author: Guillem Jover <guillem@debian.org>
1725
Date: Wed Mar 2 06:06:33 2011 +0100
1727
dpkg: Pass correct DPKG_ADMINDIR to maintainer scripts with --root
1729
When passing the DPKG_ADMINDIR environment variable to the maintainer
1730
scripts we need to trim the installation directory name from admindir,
1731
otherwise the directory won't be found.
1733
Regression introduced in commit e63e1fa4a4afdf98847f13f2506a0aeea68c33c7.
1735
Based-on-patch-by: Steve Langasek <steve.langasek@linaro.org>
1736
Improved-by: Jonathan Nieder <jrnieder@gmail.com>
1738
src/help.c | 11 ++++++-----
1739
1 files changed, 6 insertions(+), 5 deletions(-)
1741
commit 8fc97bc94c08f4da2f18c3f4aa43db148bd8f6e2
1742
Author: Guillem Jover <guillem@debian.org>
1743
Date: Wed Mar 2 01:37:28 2011 +0100
1745
dpkg-divert: Honour --local when DPKG_MAINTSCRIPT_PACKAGE is present
1747
Regression introduced in commit dc98261980767f258046f8a4c2e020fcdc92c8b6-
1749
Reported-by: Martin Pitt <martin.pitt@ubuntu.com>
1750
Suggested-by: Colin Watson <cjwatson@ubuntu.com>
1752
src/divertcmd.c | 2 +-
1753
1 files changed, 1 insertions(+), 1 deletions(-)
1755
commit 598d605202413affb749a96bab8a39d60e6902ff
1756
Author: Guillem Jover <guillem@debian.org>
1757
Date: Sun Feb 27 09:19:20 2011 +0100
1759
dpkg: Refactor infodb update on unpack into new pkg_infodb_update()
1761
src/processarc.c | 164 +++++++++++++++++++++++++++++------------------------
1762
1 files changed, 90 insertions(+), 74 deletions(-)
1764
commit a2acd17d3c5a6980cf4516f6f5c5f93e67832882
1765
Author: Guillem Jover <guillem@debian.org>
1766
Date: Sat Feb 26 17:12:08 2011 +0100
1768
dpkg: Refactor infodb directory traversal into new pkg_infodb_foreach()
1770
Move the common code into a new function which will call an action
1771
pointer function on matched files to perform the specific logic.
1773
src/Makefile.am | 1 +
1774
src/infodb.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++++
1775
src/infodb.h | 4 +++
1776
src/processarc.c | 61 ++++-------------------------------------------------
1777
src/querycmd.c | 52 +--------------------------------------------
1778
src/remove.c | 29 +------------------------
1779
6 files changed, 69 insertions(+), 134 deletions(-)
1781
commit fc8b6ecf05e6d4bc66e036f275daa304ada6696e
1782
Author: Guillem Jover <guillem@debian.org>
1783
Date: Sat Feb 26 18:02:05 2011 +0100
1785
dpkg: Refactor specific infodb traversal logic into their own functions
1787
This will allow further refactoring now that the infodb traversal code
1788
is the same eveyrwhere.
1790
src/processarc.c | 55 +++++++++++++++++++++++++++++++++++++++--------------
1791
src/querycmd.c | 35 ++++++++++++++++-----------------
1792
src/remove.c | 28 ++++++++++++++++++--------
1793
3 files changed, 76 insertions(+), 42 deletions(-)
1795
commit ecd886da6390f9c10b8a36d27323f0bc570e97f3
1796
Author: Guillem Jover <guillem@debian.org>
1797
Date: Wed Mar 2 06:33:06 2011 +0100
1799
dpkg: Refactor match_node allocation into new match_node_new()
1801
src/processarc.c | 19 ++++++++++++++-----
1802
1 files changed, 14 insertions(+), 5 deletions(-)
1804
commit 7a79f5a1fafa0043e555cad4f2d0ed6d5c3098d4
1805
Author: Guillem Jover <guillem@debian.org>
1806
Date: Sat Feb 26 17:58:07 2011 +0100
1808
dpkg: Refactor match_node deallocation into new match_node_free()
1810
src/processarc.c | 12 +++++++++---
1811
1 files changed, 9 insertions(+), 3 deletions(-)
1813
commit 070dc94cfca122aba5b682db90292a6525119272
1814
Author: Guillem Jover <guillem@debian.org>
1815
Date: Sat Feb 26 17:09:18 2011 +0100
1817
dpkg: Switch the rename_list logic to match_node
1819
Instead of directly preparing the arguments on traversal, store the
1820
information of the matched files, which we'll be acting on later in
1821
the code. This will allow for further refactoring.
1823
src/processarc.c | 51 +++++++++++++++++++++++++++------------------------
1824
1 files changed, 27 insertions(+), 24 deletions(-)
1826
commit 9f7f2a958321d41725c0ae7f46c434fe4cbf3c6a
1827
Author: Guillem Jover <guillem@debian.org>
1828
Date: Fri Feb 25 00:21:46 2011 +0100
1830
dpkg: Refactor infodb file existence check into new pkg_infodb_has_file()
1832
src/Makefile.am | 1 +
1833
src/depcon.c | 10 +++-------
1834
src/infodb.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1835
src/infodb.h | 30 ++++++++++++++++++++++++++++++
1836
src/remove.c | 18 ++----------------
1837
5 files changed, 86 insertions(+), 23 deletions(-)
1839
commit ae3500585ce59833e7b3094e1615fa273d7b8527
1840
Author: Guillem Jover <guillem@debian.org>
1841
Date: Sat Feb 26 17:47:00 2011 +0100
1843
libdpkg: Make dir_sync() private
1845
lib/dpkg/dir.c | 2 +-
1846
lib/dpkg/dir.h | 1 -
1847
lib/dpkg/libdpkg.Versions | 1 -
1848
3 files changed, 1 insertions(+), 3 deletions(-)
1850
commit ed250955ff45778f083091d3bf78cf172c3a35ad
1851
Author: Guillem Jover <guillem@debian.org>
1852
Date: Sat Feb 26 17:45:41 2011 +0100
1854
dpkg: Sync and print the correct info database directory
1856
On unpack sync the info database directory instead of the temporary
1857
control information directory, and print the correct pathname on
1858
error instead of the last file acted on that directory.
1860
debian/changelog | 3 +++
1861
src/processarc.c | 12 ++++--------
1862
src/remove.c | 6 ++----
1863
3 files changed, 9 insertions(+), 12 deletions(-)
1865
commit d72022b1d3bbfe9871dab28d2db6ded7a268132e
1866
Author: Guillem Jover <guillem@debian.org>
1867
Date: Sat Feb 26 17:52:47 2011 +0100
1869
s-s-d: Do not unneedingly fsync() the pid file
1871
The pid file is a run-time resource, which will not be valid on reboot
1872
anyway. There's no need to guarantee its durability. But now that we are
1873
not checking for errors from flushing the stream, check them instead
1874
when closing it, which we should have been doing anyway.
1876
utils/start-stop-daemon.c | 7 ++-----
1877
1 files changed, 2 insertions(+), 5 deletions(-)
1879
commit bf7b7023d4e67a82c71806cc65a5d83b0a2541f0
1880
Author: Guillem Jover <guillem@debian.org>
1881
Date: Thu Feb 24 01:28:24 2011 +0100
1883
Fix dpkg maintainer scripts to honour DPKG_ADMINDIR if present
1885
This will allow the maintainer scripts to work properly if --admindir
1886
has been passed to dpkg. Fallback to using the default admindir in case
1887
we are being called from an old dpkg not setting the environment
1890
debian/dpkg.lintian-overrides | 6 +++---
1891
debian/dpkg.postinst | 2 +-
1892
debian/dpkg.preinst | 3 ++-
1893
3 files changed, 6 insertions(+), 5 deletions(-)
1895
commit 0787286c1d4bc1d11e7670647e60c7eec0675fac
1896
Author: Guillem Jover <guillem@debian.org>
1897
Date: Thu Feb 24 08:51:58 2011 +0100
1899
libdpkg: Rename string variables to str_start and str_end in parse_nv_next
1901
lib/dpkg/fields.c | 16 ++++++++--------
1902
1 files changed, 8 insertions(+), 8 deletions(-)
1904
commit 01b03062de7945b1345115f4d31e51a4d18ccfa0
1905
Author: Guillem Jover <guillem@debian.org>
1906
Date: Thu Feb 24 08:49:01 2011 +0100
1908
Rename namevalue variables to nv and nv_head
1910
lib/dpkg/fields.c | 12 ++++++------
1911
src/select.c | 8 ++++----
1912
2 files changed, 10 insertions(+), 10 deletions(-)
1914
commit 4f36d67a83687a7ecd10293c9e0d919050672d43
1915
Author: Guillem Jover <guillem@debian.org>
1916
Date: Sun Feb 20 05:19:41 2011 +0100
1918
libdpkg: Refactor convert_string into parse_nv_next and parse_nv_last
1920
This clarifies the function name and its usage from the call sites, also
1921
avoids passing unneeded arguments.
1923
lib/dpkg/fields.c | 55 +++++++++++++++++++++++++++++++---------------------
1924
1 files changed, 33 insertions(+), 22 deletions(-)
1926
commit b3f669039f128d715ac7ac71abaeac86f0954112
1927
Author: Guillem Jover <guillem@debian.org>
1928
Date: Sun Feb 20 01:46:59 2011 +0100
1930
libdpkg: Switch pri_other to be a fallback namevalue
1932
lib/dpkg/fields.c | 16 +++++++---------
1933
lib/dpkg/parsehelp.c | 2 +-
1934
2 files changed, 8 insertions(+), 10 deletions(-)
1936
commit 902cc15dc86797966ea09f66b26a433c7c85c64f
1937
Author: Guillem Jover <guillem@debian.org>
1938
Date: Sun Feb 20 01:45:22 2011 +0100
1940
libdpkg: Add support for fallback namevalues
1942
This will allow to designate a namevalue entry as the fallback return
1943
value in case none of the rest did match.
1945
lib/dpkg/namevalue.c | 13 +++++++++----
1946
lib/dpkg/namevalue.h | 4 +++-
1947
2 files changed, 12 insertions(+), 5 deletions(-)
1949
commit 21e9a2d3ce24bee668d1d108752c8d2fd6dc8f8b
1950
Author: Guillem Jover <guillem@debian.org>
1951
Date: Sat Feb 19 19:34:56 2011 +0100
1953
libdpkg: Use format precision instead of strnlen() in convert_string()
1955
lib/dpkg/fields.c | 3 +--
1956
1 files changed, 1 insertions(+), 2 deletions(-)
1958
commit f1bccd4763343d0897db3361022fec8ab5411a34
1959
Author: Guillem Jover <guillem@debian.org>
1960
Date: Thu Feb 24 10:15:47 2011 +0100
1962
Use varbuf_end_str() instead of ad-hoc varbuf_add_char() calls
1964
This allows the strings to be terminated, thus printable or accessed
1965
through the standard C string functions, and at the same time
1968
dpkg-deb/info.c | 2 +-
1969
dpkg-split/split.c | 2 +-
1970
lib/dpkg/dbmodify.c | 2 +-
1971
lib/dpkg/dump.c | 4 ++--
1972
lib/dpkg/fields.c | 6 +++---
1973
lib/dpkg/parse.c | 2 +-
1974
lib/dpkg/parsehelp.c | 2 +-
1975
lib/dpkg/pkg-format.c | 4 ++--
1976
lib/dpkg/trigdeferred.l | 2 +-
1977
lib/dpkg/triglib.c | 2 +-
1978
lib/dpkg/varbuf.h | 3 +--
1979
src/archives.c | 20 ++++++++++----------
1980
src/configure.c | 18 +++++++++---------
1981
src/depcon.c | 4 ++--
1982
src/divertdb.c | 2 +-
1983
src/enquiry.c | 2 +-
1984
src/filesdb.c | 2 +-
1987
src/packages.c | 4 ++--
1988
src/processarc.c | 20 ++++++++++----------
1989
src/querycmd.c | 8 ++++----
1990
src/remove.c | 22 +++++++++++-----------
1991
src/select.c | 4 ++--
1993
src/trigproc.c | 2 +-
1995
27 files changed, 75 insertions(+), 76 deletions(-)
1997
commit 3ae09f975d9138de3c51359ef9ba0d7776a4cc86
1998
Author: Guillem Jover <guillem@debian.org>
1999
Date: Sat Feb 19 09:28:55 2011 +0100
2001
libdpkg: Add new varbuf_end_str()
2003
lib/dpkg/libdpkg.Versions | 1 +
2004
lib/dpkg/varbuf.c | 9 ++++++++-
2005
lib/dpkg/varbuf.h | 3 ++-
2006
3 files changed, 11 insertions(+), 2 deletions(-)
2008
commit 280ac914cc52ee5de079c0833bb1df5005c1e7ab
2009
Author: Guillem Jover <guillem@debian.org>
2010
Date: Sat Feb 19 09:26:13 2011 +0100
2012
dpkg: Only copy already counted output lines from find
2014
Instead of appending two NUL characters to be able to track the end of
2015
the NUL terminated lines from find's output. Just handle the number of
2016
lines we have already counted previously.
2018
src/archives.c | 9 +++------
2019
1 files changed, 3 insertions(+), 6 deletions(-)
2021
commit de314a54d0214d0aa733aba18797ee4eed006e7e
2022
Author: Guillem Jover <guillem@debian.org>
2023
Date: Sat Feb 19 09:24:26 2011 +0100
2025
dpkg: Reduce local variable scope in archivefiles()
2027
src/archives.c | 13 +++++++------
2028
1 files changed, 7 insertions(+), 6 deletions(-)
2030
commit 173a6cb53258403f339ae090507cbb100b742604
2031
Author: Guillem Jover <guillem@debian.org>
2032
Date: Sat Feb 19 06:12:15 2011 +0100
2034
libdpkg: Do not add a NUL char after varbuf_printf() calls
2036
The varbuf_printf() and varbuf_vprintf() already NUL terminate the
2037
string via the vsnprintf() calls. No need to do that again.
2039
lib/dpkg/log.c | 1 -
2040
lib/dpkg/test/t-varbuf.c | 9 ++++-----
2041
lib/dpkg/triglib.c | 1 -
2042
3 files changed, 4 insertions(+), 7 deletions(-)
2044
commit 2449dcaa610b86221d914140a7e747728f5cc409
2045
Author: Guillem Jover <guillem@debian.org>
2046
Date: Sat Feb 19 06:08:13 2011 +0100
2048
dpkg: Move varbuf related calls close together in setselections()
2050
It's easier to read if the varbuf calls affecting the same variable are
2051
close together, rather than dispersed around in the code.
2053
src/select.c | 12 ++++++++----
2054
1 files changed, 8 insertions(+), 4 deletions(-)
2056
commit 18b52757ea38d896e57334ca83bf3c62e21795ed
2057
Author: Guillem Jover <guillem@debian.org>
2058
Date: Sat Feb 19 05:17:52 2011 +0100
2060
Revert "libdpkg: Refactor varbuf_pkgadminfile() out from pkgadminfile()"
2062
This reverts commit bad18329473a306d59a9c35823e85fc964bbf724.
2064
The varbuf_pkgadminfile() function is not being used anymore.
2066
lib/dpkg/dbmodify.c | 20 ++++++--------------
2067
lib/dpkg/dpkg-db.h | 2 --
2068
lib/dpkg/libdpkg.Versions | 1 -
2069
3 files changed, 6 insertions(+), 17 deletions(-)
2071
commit 869564af64bb745501ee4a22e2609b18ad60d34b
2072
Author: Guillem Jover <guillem@debian.org>
2073
Date: Sat Feb 19 05:13:59 2011 +0100
2075
dpkg: Use pkgadminfile() instead of varbuf_pkgadminfile()
2077
This simplifies the API, and unifies the different call sites, the
2078
extremely small performance penalty is irrelevant in these cases.
2080
src/filesdb.c | 9 +++++----
2081
src/remove.c | 20 ++++++++++++--------
2082
2 files changed, 17 insertions(+), 12 deletions(-)
2084
commit 7e31262a6fa961d81cbe67138cb875c81e195711
2085
Author: Andrea Gelmini <andrea.gelmini@gelma.net>
2086
Date: Sun Feb 20 22:28:44 2011 +0100
2088
libdpkg: Remove duplicate <stdio.h> include
2090
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2091
Signed-off-by: Guillem Jover <guillem@debian.org>
2093
lib/dpkg/path.c | 1 -
2094
1 files changed, 0 insertions(+), 1 deletions(-)
2096
commit f92a24f349082d51b702cd72f59edae005798c79
2097
Author: Guillem Jover <guillem@debian.org>
2098
Date: Mon Sep 13 18:24:12 2010 +0200
2100
dpkg-architecture: Set DEB_HOST_ARCH and DEB_HOST_GNU_TYPE only once
2102
The variables are set initially once, and then possibly overriden by the
2103
user supplied arguments. Rearrange the code to set these only once.
2105
scripts/dpkg-architecture.pl | 15 ++++++++++-----
2106
1 files changed, 10 insertions(+), 5 deletions(-)
2108
commit cc7ee6f7c0c2fd603c976391cba5fb42ddfe49c1
2109
Author: Jonathan Nieder <jrnieder@gmail.com>
2110
Date: Mon Feb 28 18:53:13 2011 -0600
2112
dpkg-maintscript-helper(1): dpkg only has to be unpacked for it to be usable
2114
Some packages use a pre-dependency to ensure a version of dpkg with
2115
dpkg-maintscript-helper is available by the time preinst is run.
2116
Clarify that "available" here means "unpacked", not configured, for
2117
some added peace of mind.
2119
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2120
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2122
debian/changelog | 2 ++
2123
man/dpkg-maintscript-helper.1 | 2 +-
2124
2 files changed, 3 insertions(+), 1 deletions(-)
2126
commit e02f4f5bba696d270b3b82158794f5859a09f507
2127
Author: Raphaël Hertzog <hertzog@debian.org>
2128
Date: Tue Mar 1 09:16:05 2011 +0100
2130
Add missing changelog entry
2132
This entry was meant to be integrated in commit
2133
c824c49b3fbbd61626031eeb10ae37782a994154.
2135
debian/changelog | 2 ++
2136
1 files changed, 2 insertions(+), 0 deletions(-)
2138
commit c824c49b3fbbd61626031eeb10ae37782a994154
2139
Author: Colin Watson <cjwatson@ubuntu.com>
2140
Date: Tue Mar 1 09:10:35 2011 +0100
2142
dpkg-buildflags: use CFLAGS="-g -O3" for building ppc64 packages on Ubuntu
2144
We're considering bringing up a ppc64 port of the Ubuntu server, and it
2145
appears to be best to build it with -O3 rather than -O2. (I realise
2146
that this would be unusual in Debian and that there are more obstacles
2147
to this than just dpkg-buildflags, and I'd like to do this differently
2148
eventually, but this is where we are at the moment.)
2150
scripts/Dpkg/Vendor/Ubuntu.pm | 6 ++++++
2151
1 files changed, 6 insertions(+), 0 deletions(-)
2153
commit 4d5189f9746bbb7e4a37af95cb351c890ac90d38
2154
Author: Sven Joachim <svenjoac@gmx.de>
2155
Date: Wed Feb 16 19:42:36 2011 +0100
2157
German dpkg translation update
2161
debian/changelog | 1 +
2162
po/de.po | 3164 ++++++++++++++++++++++++++++++------------------------
2163
2 files changed, 1767 insertions(+), 1398 deletions(-)
2165
commit 385b464c99919eb403b5ef3a6cab6f34343f8f88
2166
Author: Helge Kreutzmann <debian@helgefjell.de>
2167
Date: Sat Feb 12 18:26:23 2011 +0100
2169
Update German translation of manual pages
2171
Update to 2007t0f0u.
2173
man/po/de.po | 15 ++++++++++++++-
2174
1 files changed, 14 insertions(+), 1 deletions(-)
2176
commit 8889c01480269ccbe4e888ae830c5d24b12716db
2177
Author: Helge Kreutzmann <debian@helgefjell.de>
2178
Date: Sat Feb 12 09:51:58 2011 +0100
2180
Update German translation of manual pages
2182
Update to 2006t0f1u.
2184
man/po/de.po | 98 +++++++++++++++++++++++++++++----------------------------
2185
1 files changed, 50 insertions(+), 48 deletions(-)
2187
commit 0ff1ba98ce2dd4d8268e4154b7173fab49657045
2188
Author: Guillem Jover <guillem@debian.org>
2189
Date: Fri Feb 11 05:21:36 2011 +0100
2191
libdpkg: Rename cmdinfo arg members
2193
The current names are not descriptive enough, so rename parg to arg_ptr,
2194
farg to arg_func, and finally arg to arg_int (which disambiguates what
2195
kind of data it's holding).
2197
dpkg-deb/main.c | 2 +-
2198
dpkg-split/main.c | 2 +-
2199
lib/dpkg/myopt.c | 9 ++++++---
2200
lib/dpkg/myopt.h | 7 ++++---
2201
src/archives.c | 6 +++---
2202
src/cleanup.c | 2 +-
2203
src/divertcmd.c | 2 +-
2204
src/main.c | 22 +++++++++++-----------
2205
src/packages.c | 16 ++++++++--------
2206
src/processarc.c | 5 +++--
2207
src/querycmd.c | 8 ++++----
2208
src/remove.c | 4 ++--
2209
src/statcmd.c | 2 +-
2210
src/update.c | 14 +++++++-------
2211
14 files changed, 53 insertions(+), 48 deletions(-)
2213
commit 2718f03bc2bb26de0e18b7bbcb20ac02b24c0719
2214
Author: Guillem Jover <guillem@debian.org>
2215
Date: Fri Feb 11 05:11:39 2011 +0100
2217
libdpkg: Rename function type from tar_func to tar_make_func
2219
This disambiguates the purpose of the function type.
2221
lib/dpkg/tarfn.h | 12 ++++++------
2222
1 files changed, 6 insertions(+), 6 deletions(-)
2224
commit 97205c1bab2d5fd18e9dd33f5329db209b866634
2225
Author: Guillem Jover <guillem@debian.org>
2226
Date: Sat Feb 5 10:24:45 2011 +0100
2228
dpkg: Automate force help output printing
2230
Move the force type (normal, default, dangerous) and force description
2231
to struct forceinfo, so that its printing can be automated.
2233
This has multiple purposes (similar to the debuginfo output automation);
2234
there's one less place to modify when adding a new force flag, the ouput
2235
is easier to modify w/o fuzzying the translated strings, it's easier for
2236
the translators to deal with new force flag additions.
2238
src/main.c | 128 +++++++++++++++++++++++++++++++++++------------------------
2239
1 files changed, 76 insertions(+), 52 deletions(-)
2241
commit 10960fcbe949640779ed5afaaaa5eb4e72897ff8
2242
Author: Guillem Jover <guillem@debian.org>
2243
Date: Sat Feb 5 10:24:45 2011 +0100
2245
dpkg: Reduce the scope of a if/else in setforce()
2247
src/main.c | 17 +++++++++--------
2248
1 files changed, 9 insertions(+), 8 deletions(-)
2250
commit aa18c17889d55b09e71f402afb986b7c35390212
2251
Author: Guillem Jover <guillem@debian.org>
2252
Date: Sat Feb 5 10:24:45 2011 +0100
2254
dpkg: Handle --force-all as any other force option
2256
Add an entry for "all" to forceinfos, so that the code paths are more
2257
clear on what each is doing. This will also make further refactoring
2260
src/main.c | 12 ++++++------
2261
1 files changed, 6 insertions(+), 6 deletions(-)
2263
commit 1a3d55e03561d4c53dd654026c7e64ce97c68219
2264
Author: Guillem Jover <guillem@debian.org>
2265
Date: Sat Feb 5 05:44:59 2011 +0100
2267
dpkg: Fix typo in debug help output
2270
1 files changed, 1 insertions(+), 1 deletions(-)
2272
commit fcfbce668169aecc332ffd0be9127dc8b9e0bd4e
2273
Author: Guillem Jover <guillem@debian.org>
2274
Date: Sat Feb 5 05:24:43 2011 +0100
2276
dpkg: Capitalize debug help output table titles
2280
2 files changed, 3 insertions(+), 3 deletions(-)
2282
commit 166015ca54a3a5cfdbb49eaaee558be6fec329e8
2283
Author: Guillem Jover <guillem@debian.org>
2284
Date: Sat Feb 5 05:18:33 2011 +0100
2286
dpkg: Automate debug help output printing
2288
Add a new array of struct debuginfo to hold debug flag information, so
2289
that it can be handled automatically.
2291
This has multiple purposes; it will guarantee the output value always
2292
matches the one defined in the code, there's one less place to modify
2293
when adding a new debug flag, the ouput is easier to modify w/o fuzzying
2294
the translated strings, it's easier for the translators to deal with new
2295
debug flag additions, it will not allow for the source reference name to
2296
be translated thus avoiding errors.
2298
src/main.c | 48 ++++++++++++++++++++++++++++++++----------------
2299
1 files changed, 32 insertions(+), 16 deletions(-)
2301
commit 0d6e7bc21e645a49a85bd20ca73cdb08f12a9e4f
2302
Author: Guillem Jover <guillem@debian.org>
2303
Date: Fri Feb 4 20:15:17 2011 +0100
2305
dpkg: Refactor conflictor addition to a new push_conflictor() function
2307
Move the conflictor and cflict_index variables to processarc.c and
2308
make them static. And create a new push_conflictor() function to hide
2309
the implementation details. This fixes a warning on variable shadowing.
2311
src/archives.c | 11 +----------
2312
src/archives.h | 3 +--
2313
src/processarc.c | 14 ++++++++++++++
2314
3 files changed, 16 insertions(+), 12 deletions(-)
2316
commit efa6e49193f7948de103bada19de40720a7774fb
2317
Author: Guillem Jover <guillem@debian.org>
2318
Date: Fri Feb 4 19:45:01 2011 +0100
2320
dpkg: Use m_realloc() instead of free()+m_malloc() on process_archive()
2322
src/processarc.c | 4 +---
2323
1 files changed, 1 insertions(+), 3 deletions(-)
2325
commit f1891335a4686a8859e4f77be1cd5d8061e0b56e
2326
Author: Guillem Jover <guillem@debian.org>
2327
Date: Fri Feb 4 19:40:33 2011 +0100
2329
dpkg: Remove useless cidirbuf variable in process_archive()
2331
Remove cidirbuf and make cidir a static function scope variable.
2333
src/processarc.c | 17 ++++++++---------
2334
1 files changed, 8 insertions(+), 9 deletions(-)
2336
commit 194dce1ca37ab0047c0e0606c7e9ba80196d3d2c
2337
Author: Guillem Jover <guillem@debian.org>
2338
Date: Fri Feb 4 19:22:05 2011 +0100
2340
dpkg: Remove temporary variable admindirlen in process_archive()
2342
Inline the strlen() call instead of using the intermediate variable.
2344
src/processarc.c | 6 +++---
2345
1 files changed, 3 insertions(+), 3 deletions(-)
2347
commit 1baad8809039eb52113f2e647800cccf77168349
2348
Author: Guillem Jover <guillem@debian.org>
2349
Date: Fri Feb 4 05:50:43 2011 +0100
2351
dselect: Switch to use libdpkg debug support
2353
dselect/basecmds.cc | 2 +-
2354
dselect/baselist.cc | 39 +++++++---------
2355
dselect/dselect.h | 3 +-
2356
dselect/main.cc | 13 ++++--
2357
dselect/methlist.cc | 30 ++++++-------
2358
dselect/methparse.cc | 50 ++++++++++----------
2359
dselect/pkgcmds.cc | 4 +-
2360
dselect/pkgdepcon.cc | 117 +++++++++++++++++++++++--------------------------
2361
dselect/pkgdisplay.cc | 2 +-
2362
dselect/pkginfo.cc | 17 +++----
2363
dselect/pkglist.cc | 109 ++++++++++++++++++++++------------------------
2364
dselect/pkgsublist.cc | 44 +++++++++---------
2365
12 files changed, 208 insertions(+), 222 deletions(-)
2367
commit 5e7235bf69f016a1ade715c4a6be3a40d2cde4b5
2368
Author: Guillem Jover <guillem@debian.org>
2369
Date: Fri Feb 4 04:26:37 2011 +0100
2371
Move and generalize debug API from dpkg to libdpkg
2373
lib/dpkg/Makefile.am | 2 +
2374
lib/dpkg/debug.c | 84 +++++++++++++++++++++++++++++++++++++++++++++
2375
lib/dpkg/debug.h | 54 +++++++++++++++++++++++++++++
2376
lib/dpkg/libdpkg.Versions | 5 +++
2378
src/help.c | 13 +------
2380
src/main.h | 19 +----------
2381
8 files changed, 152 insertions(+), 33 deletions(-)
2383
commit 469c5fa91e12fdded4e4c6f7131a965e889d5b18
2384
Author: Guillem Jover <guillem@debian.org>
2385
Date: Fri Feb 4 00:41:26 2011 +0100
2387
dpkg: Always call pkg_has_postrm_script() in removal_bulk()
2389
Instead of letting removal_bulk_remove_files() tell the caller it has
2390
found a postrm script in its branch and calling pkg_has_postrm_script()
2391
on the other, just unconditionally call it always.
2393
This removes the need to pass back the value via out_foundpostrm, which
2394
makes further refactoring slightly more convoluted.
2396
src/remove.c | 17 ++++++-----------
2397
1 files changed, 6 insertions(+), 11 deletions(-)
2399
commit 355d2c2aa6a2fb906e915bcfee77108c2ab0c163
2400
Author: Guillem Jover <guillem@debian.org>
2401
Date: Fri Feb 4 00:40:20 2011 +0100
2403
dpkg: Refactor out pkg_has_postrm_script() from removal_bulk()
2405
src/remove.c | 26 ++++++++++++++++----------
2406
1 files changed, 16 insertions(+), 10 deletions(-)
2408
commit 2fe2563ee3f2f63b05b6e76c658ea989bc4925fd
2409
Author: Guillem Jover <guillem@debian.org>
2410
Date: Thu Feb 3 17:37:31 2011 +0100
2412
dpkg: Use varbuf_pkgadminfile() instead of manually building the path
2414
src/filesdb.c | 6 +-----
2415
src/remove.c | 13 ++-----------
2416
2 files changed, 3 insertions(+), 16 deletions(-)
2418
commit bad18329473a306d59a9c35823e85fc964bbf724
2419
Author: Guillem Jover <guillem@debian.org>
2420
Date: Thu Feb 3 17:37:31 2011 +0100
2422
libdpkg: Refactor varbuf_pkgadminfile() out from pkgadminfile()
2424
lib/dpkg/dbmodify.c | 20 ++++++++++++++------
2425
lib/dpkg/dpkg-db.h | 2 ++
2426
lib/dpkg/libdpkg.Versions | 1 +
2427
3 files changed, 17 insertions(+), 6 deletions(-)
2429
commit 9c152b641835b3d5c074215dffd2d47f4e4340cd
2430
Author: Helge Kreutzmann <debian@helgefjell.de>
2431
Date: Tue Feb 8 17:03:53 2011 +0100
2433
Update German translation of manual pages
2435
Update to 2006t0f1u.
2437
man/po/de.po | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
2438
1 files changed, 53 insertions(+), 1 deletions(-)
2440
commit aacb1f1ec9aab9378fab10fb832a4337fb7852c4
2441
Author: Colin Watson <cjwatson@ubuntu.com>
2442
Date: Mon Feb 7 06:33:28 2011 +0100
2444
On install for Ubuntu adjust the i386 GNU cpu name in cputable
2446
Ubuntu builds their i386 architecture for i686 instead of i486 like
2447
Debian does. This change helps them use an unmodified upstream source.
2449
This should be considered a temporary measure until a better, more
2450
generic implementation comes up, or is required for other derivatives,
2451
but for now this will do.
2455
Signed-off-by: Guillem Jover <guillem@debian.org>
2457
debian/changelog | 2 ++
2458
debian/rules | 7 +++++++
2459
2 files changed, 9 insertions(+), 0 deletions(-)
2461
commit d09ad2efd0b93bb69eb6dd74f643717f6fe35242
2462
Author: Robert Millan <rmh@debian.org>
2463
Date: Sun Feb 6 21:31:52 2011 +0100
2465
libcompat: Add missing semicolon to vsnprintf() declaration
2467
This makes the build fail on systems where vsnprintf() is missing or
2468
not compliant enough, and thus the fallback is being used.
2472
Signed-off-by: Guillem Jover <guillem@debian.org>
2474
debian/changelog | 2 ++
2475
lib/compat/compat.h | 2 +-
2476
2 files changed, 3 insertions(+), 1 deletions(-)
2478
commit da5fceca72b4c67be8acdb0734dbf7c241519dff
2479
Author: Guillem Jover <guillem@debian.org>
2480
Date: Fri Feb 4 18:59:00 2011 +0100
2482
dpkg: Do not segfault on “dpkg -i --no-act”
2484
mkdtemp() takes the string allocated by path_make_temp_template() and
2485
modifies it, but there's not enough allocated room for the subsequent
2486
string appends done starting from cidirrest, for the control files.
2488
Regression introduced in commit ffccc65580189420a0a64736bba0fb661de56dcb.
2490
debian/changelog | 1 +
2491
src/processarc.c | 11 +++++++++--
2492
2 files changed, 10 insertions(+), 2 deletions(-)
2494
commit b83cc7d551c9aeed7bada926e2e3b3d9fc5c9140
2495
Author: Guillem Jover <guillem@debian.org>
2496
Date: Thu Feb 3 00:05:23 2011 +0100
2498
libcompat: Define gettext context functions when NLS is disabled
2500
When the package is configured with NLS disabled (--disable-nls),
2501
the build will fail due to undefined references to LC_MESSAGES, the
2502
gettext.h header file does not correctly handle the gettext context
2503
related function declarations on disabled NLS support, which is known
2504
to be used by downstreams. This adds all missing macros corresponding
2505
to their NLS enabled counterparts.
2507
debian/changelog | 1 +
2508
lib/compat/gettext.h | 32 ++++++++++++++++++++++++++++++++
2509
2 files changed, 33 insertions(+), 0 deletions(-)
2511
commit 61a3cb189063139c8562b2fddc65de0c9996fd8f
2512
Author: Helge Kreutzmann <debian@helgefjell.de>
2513
Date: Wed Feb 2 23:02:20 2011 +0100
2515
Update German translation of manual pages
2517
Update to 1996t0f11u.
2519
man/po/de.add | 2 +-
2520
man/po/de.po | 1155 ++++++++++++++++++++++++++++++++++++++++++++-------------
2521
2 files changed, 899 insertions(+), 258 deletions(-)
2523
commit 18ac5167655f3db8a0c2c8a9a8fd338d6b5daa81
2524
Author: Guillem Jover <guillem@debian.org>
2525
Date: Tue Feb 1 05:03:59 2011 +0100
2527
dpkg: Document packages w/o Architecture field need --force-architecture
2529
The commit 58e7276b69be105735eccb3c18c2b28d3a2ec2e5 didn't explicitly
2530
document this behavioural change, do so now.
2532
debian/changelog | 2 ++
2535
3 files changed, 4 insertions(+), 2 deletions(-)
2537
commit 3ce597a4c62157f6955101d16db198db4afd4259
2538
Author: Guillem Jover <guillem@debian.org>
2539
Date: Tue Feb 1 04:45:24 2011 +0100
2541
Revert "Fix installation of packages without architecture field"
2543
This reverts commit 13637ddfaf473fa5fd67264da9f38841eeed7401.
2545
The changes in commit 58e7276b69be105735eccb3c18c2b28d3a2ec2e5 were
2546
intentional, supported here meant (although the commit did not
2547
document this properly) that the non-compliant package can still be
2548
installed, although --force-architecture is now required.
2550
src/processarc.c | 3 +--
2551
1 files changed, 1 insertions(+), 2 deletions(-)
2553
commit f3496dc24f98cea0e1da3c812e8c728c45875f48
2554
Author: Guillem Jover <guillem@debian.org>
2555
Date: Mon Jan 31 19:17:35 2011 +0100
2557
libdpkg: Do not print bogus warnings when parsing status files
2559
This is the equivalent fix in spirit as the one in commit
2560
672b0664cbb8fd7fd5eea7ab10af1bbf6871833f, but applied to the
2561
Architecture field instead.
2563
Reported-by: Raphaël Hertzog <hertzog@debian.org>
2565
debian/changelog | 3 ++-
2566
lib/dpkg/parse.c | 9 +++++----
2567
2 files changed, 7 insertions(+), 5 deletions(-)
2569
commit 13637ddfaf473fa5fd67264da9f38841eeed7401
2570
Author: Raphaël Hertzog <hertzog@debian.org>
2571
Date: Mon Jan 31 15:06:14 2011 +0100
2573
Fix installation of packages without architecture field
2575
Refactoring done in commit 58e7276b69be105735eccb3c18c2b28d3a2ec2e5
2576
introduced a regression: a package without an architecture field
2577
can no longer be installed without --force-architecture.
2579
src/processarc.c | 3 ++-
2580
1 files changed, 2 insertions(+), 1 deletions(-)
2582
commit 58e7276b69be105735eccb3c18c2b28d3a2ec2e5
2583
Author: Guillem Jover <guillem@debian.org>
2584
Date: Mon Jan 31 10:11:56 2011 +0100
2586
libdpkg: Ensure parsed packages have a usable arch member
2588
In case the package didn't have an Architecture field, warn and
2589
initialize it to an empty string, so that it can be safely used for
2590
string comparisons, printing, etc.
2592
This fixes a potential segfault when setting the environment variable
2593
DPKG_MAINTSCRIPT_ARCH from a package w/o an Architecture field, which
2594
are a thing from the distant past, but still should be supported.
2596
debian/changelog | 2 ++
2597
dpkg-deb/build.c | 6 +++---
2598
lib/dpkg/parse.c | 6 ++++--
2599
src/processarc.c | 3 +--
2600
4 files changed, 10 insertions(+), 7 deletions(-)
2602
commit c48475458415335c8969a11cea22ba87045c2cf3
2603
Author: Guillem Jover <guillem@debian.org>
2604
Date: Mon Jan 31 07:24:50 2011 +0100
2606
dpkg: Rename arch variable to native_arch
2608
This disambiguates the usage and avoids unneeded shadowing.
2610
src/enquiry.c | 2 +-
2613
src/processarc.c | 4 ++--
2614
4 files changed, 5 insertions(+), 5 deletions(-)
2616
commit 1466cd10e8c551fcb670f8785ef39abafc66d996
2617
Author: Guillem Jover <guillem@debian.org>
2618
Date: Mon Jan 31 07:36:56 2011 +0100
2620
libdpkg: Add type documentation to struct pkginfo
2622
lib/dpkg/dpkg-db.h | 8 +++++++-
2623
1 files changed, 7 insertions(+), 1 deletions(-)
2625
commit 694b4b5aded077b43abd4e0cf5a81c7040899a24
2626
Merge: eedb20c 5f52c08
2627
Author: Guillem Jover <guillem@debian.org>
2628
Date: Mon Jan 31 06:33:01 2011 +0100
2630
Merge branch 'squeeze' (through tag '1.15.8.10')
2635
commit eedb20c17071efd92112edf60f74f9f637b4aaed
2636
Author: Guillem Jover <guillem@debian.org>
2637
Date: Sat Jan 29 06:19:28 2011 +0100
2639
libdpkg: Change new_pkg to be a pointer in parsedb()
2641
This way all variables are handled the same.
2643
lib/dpkg/parse.c | 34 ++++++++++++++++++----------------
2644
1 files changed, 18 insertions(+), 16 deletions(-)
2646
commit da34b9f70ed071f12efdf48a0579aea3e14cc0b2
2647
Author: Guillem Jover <guillem@debian.org>
2648
Date: Sat Jan 29 06:16:28 2011 +0100
2650
libdpkg: Rename newpig/newpifp to new_pkg/new_pkgbin in parsedb()
2652
The names better match reality, and describe this is the new package
2653
information being parsed. The previous usage was slightly confusing.
2655
lib/dpkg/parse.c | 38 +++++++++++++++++++++-----------------
2656
1 files changed, 21 insertions(+), 17 deletions(-)
2658
commit 6b7ea85f6c109b241febc5ff3c2bdcad55f9fb4e
2659
Author: Guillem Jover <guillem@debian.org>
2660
Date: Sat Jan 29 06:10:22 2011 +0100
2662
libdpkg: Rename pigp/pifp to db_pkg/db_pkgbin in parsedb()
2664
The names better match reality, and describe this is package information
2665
coming from the database. The previous usage was slightly confusing.
2667
lib/dpkg/parse.c | 18 +++++++++++-------
2668
1 files changed, 11 insertions(+), 7 deletions(-)
2670
commit df219a607282614168b6d19423d57bb902021f34
2671
Author: Guillem Jover <guillem@debian.org>
2672
Date: Sat Jan 29 05:59:09 2011 +0100
2674
Rename architecture variables to arch
2676
The “arch” name is unambiguous in this context, and as we are going to
2677
be using it more often, let's avoid unnecessary typing.
2679
dpkg-deb/build.c | 2 +-
2680
lib/dpkg/database.c | 2 +-
2681
lib/dpkg/dpkg-db.h | 2 +-
2682
lib/dpkg/parse.c | 4 ++--
2683
src/enquiry.c | 2 +-
2687
src/processarc.c | 10 +++++-----
2688
9 files changed, 14 insertions(+), 14 deletions(-)
2690
commit 44e022a801e0b5720a6e8d6887788ebf15b9995f
2691
Author: Guillem Jover <guillem@debian.org>
2692
Date: Thu Jan 20 18:41:09 2011 +0100
2694
Use pid instead of c1 for variable name
2696
dpkg-deb/extract.c | 8 ++++----
2697
dpkg-deb/info.c | 8 ++++----
2698
dselect/method.cc | 8 ++++----
2699
src/archives.c | 9 +++++----
2700
src/help.c | 17 +++++++++--------
2701
src/processarc.c | 15 ++++++++-------
2702
6 files changed, 34 insertions(+), 31 deletions(-)
2704
commit ad95ee210312c38c12c6054e13dd45c1a8ff1c6c
2705
Author: Guillem Jover <guillem@debian.org>
2706
Date: Thu Jan 20 18:26:26 2011 +0100
2708
dselect: Use subproc_check in falliblesubprocess instead of ad-hoc code
2710
dselect/method.cc | 20 +++-----------------
2711
1 files changed, 3 insertions(+), 17 deletions(-)
2713
commit ef339f3715418ddaabb7923a7d5157f522687954
2714
Author: Guillem Jover <guillem@debian.org>
2715
Date: Sat Jan 29 05:52:30 2011 +0100
2717
libdpkg: Improve subprocess signal handling in subproc_check()
2719
Explicitly handle user interruption, which should be slightly more
2720
helpful for the user and will allow to use subproc_check() in dselect's
2721
falliblesubprocess(). Improve too the output strings.
2723
lib/dpkg/subproc.c | 8 ++++++--
2724
1 files changed, 6 insertions(+), 2 deletions(-)
2726
commit 88e1cf242fbaf9c347099656d34ae50750e5e2a1
2727
Author: Guillem Jover <guillem@debian.org>
2728
Date: Thu Jan 20 18:23:02 2011 +0100
2730
libdpkg: Warn too on unknown status in subproc_check() if PROCWARN
2732
We were erroring out even if the caller specified PROCWARN, so handle
2733
this error case too.
2735
lib/dpkg/subproc.c | 4 ++--
2736
1 files changed, 2 insertions(+), 2 deletions(-)
2738
commit e61824e3e7d37d0b4fcf1e2128b709292a0867cb
2739
Author: Guillem Jover <guillem@debian.org>
2740
Date: Thu Jan 20 18:21:38 2011 +0100
2742
libdpkg: Refactor error output into a function variable in subproc_check()
2744
This deduplicates two sets of identical strings.
2746
lib/dpkg/subproc.c | 25 +++++++++++--------------
2747
1 files changed, 11 insertions(+), 14 deletions(-)
2749
commit 5f2e95ef39658991aade7b2357978c713bad7cae
2750
Author: Guillem Jover <guillem@debian.org>
2751
Date: Thu Jan 20 18:16:56 2011 +0100
2755
debian/usertags | 81 +++++++++++++++++++++++++++++++++---------------------
2756
1 files changed, 49 insertions(+), 32 deletions(-)
1
2758
commit 5f52c08852c672e48ca67ccddb17c83c8d1f9fe8
2
2759
Author: Guillem Jover <guillem@debian.org>
3
2760
Date: Sun Jan 30 20:29:05 2011 +0100
97
2861
po/ca.po | 44 ++++++++++++++++++++++----------------------
98
2862
2 files changed, 25 insertions(+), 22 deletions(-)
2864
commit ec2ebca2e2b35589b60a04980e464134c3b85f5c
2865
Author: Raphaël Hertzog <hertzog@debian.org>
2866
Date: Fri Jan 21 13:33:33 2011 +0100
2868
Update triggers documentation to match reality
2870
- The list of triggers is in the second parameter and not in the third.
2871
- The --verbose and --query options for dpkg-trigger have never been
2874
doc/triggers.txt | 8 ++------
2875
1 files changed, 2 insertions(+), 6 deletions(-)
2877
commit 7b561513784490d08c0f890ba58a1a2aa63cf62b
2878
Author: Guillem Jover <guillem@debian.org>
2879
Date: Sun Jan 16 07:23:41 2011 +0100
2881
dpkg-query: Use ohshit() for not installed package in --control-path
2883
The use of badusage() here is not appropriate.
2885
src/querycmd.c | 2 +-
2886
1 files changed, 1 insertions(+), 1 deletions(-)
2888
commit 626560b31133376bfb5593770b2ee1fc83931c29
2889
Author: Guillem Jover <guillem@debian.org>
2890
Date: Sun Jan 16 07:21:17 2011 +0100
2892
dpkg: Do not fail when trying to remove the root directory
2894
This will happen when removing the last package from an installation,
2895
which does never happen on normal conditions on Debian-based systems.
2896
But it can happen either on other distributions where dpkg is a foreign
2897
package manager, or on test databases.
2899
debian/changelog | 3 +++
2900
src/remove.c | 10 ++++++++++
2901
2 files changed, 13 insertions(+), 0 deletions(-)
2903
commit e63e1fa4a4afdf98847f13f2506a0aeea68c33c7
2904
Author: Guillem Jover <guillem@debian.org>
2905
Date: Sun Jan 16 06:59:55 2011 +0100
2907
Propagate --admindir to programs run from maintainer scripts
2909
Always set DPKG_ADMINDIR from dpkg so that all subprocesses inherit
2910
the variable and there's no possible security risk from a user process
2911
setting the variable to write onto a user controlled area.
2913
As usual, the order in which the admindir value is overridden is the
2914
following: built-in default, environment variable and command line
2919
Suggested-by: Brendan O'Dea <bod@debian.org>
2922
debian/changelog | 2 ++
2923
lib/dpkg/dbmodify.c | 12 ++++++++++++
2924
lib/dpkg/dpkg-db.h | 1 +
2925
man/dpkg-divert.8 | 4 ++++
2926
man/dpkg-query.1 | 4 ++++
2927
man/dpkg-statoverride.8 | 6 ++++++
2928
man/dpkg-trigger.1 | 6 ++++++
2929
man/update-alternatives.8 | 6 ++++++
2930
src/divertcmd.c | 4 +++-
2931
src/main.c | 13 ++++---------
2932
src/querycmd.c | 4 +++-
2933
src/statcmd.c | 4 +++-
2934
src/trigcmd.c | 4 +++-
2935
utils/update-alternatives.c | 21 ++++++++++++++++++++-
2936
15 files changed, 77 insertions(+), 16 deletions(-)
2938
commit 76ed5f9ff43b1c803098ffd15843b9acc721608e
2939
Author: Guillem Jover <guillem@debian.org>
2940
Date: Sun Jan 16 06:31:08 2011 +0100
2942
Use string literals instead of macros for environment variable names
2944
The environment variable names are part of the exposed API, and as such
2945
would need a transition plan in case of name change. Inline the macro
2946
values to ease code reading.
2948
lib/dpkg/command.c | 2 +-
2949
lib/dpkg/dpkg.h | 7 -------
2950
src/configure.c | 2 +-
2951
src/divertcmd.c | 2 +-
2952
src/help.c | 8 ++++----
2953
src/trigcmd.c | 2 +-
2954
6 files changed, 8 insertions(+), 15 deletions(-)
2956
commit 7dc8ca8a270b5970f6571b4d357a1208d7b98bbf
2957
Author: Guillem Jover <guillem@debian.org>
2958
Date: Sun Jan 16 06:23:36 2011 +0100
2960
build: Do not set MKSPLITSCRIPT CPP macro
2962
Not needed anymore since the rewrite in C of mksplit.
2964
Missed in commit f2115151c19ff37b305296c23225807b0832086b.
2966
dpkg-split/Makefile.am | 2 +-
2967
1 files changed, 1 insertions(+), 1 deletions(-)
2969
commit f528030583d6059fa60ae02da187e39be1fd974c
2970
Author: Guillem Jover <guillem@debian.org>
2971
Date: Sat Jan 15 16:57:37 2011 +0100
2973
dpkg: Change wanttoinstall() return type from int to bool
2975
src/archives.c | 24 ++++++++++++------------
2977
2 files changed, 13 insertions(+), 13 deletions(-)
2979
commit f114b567ddcd92f9fad094b9f3ca1280affc31a9
2980
Author: Guillem Jover <guillem@debian.org>
2981
Date: Sat Jan 15 16:53:32 2011 +0100
2983
dpkg: Fix wanttoinstall() to use the new version from pkg->available
2985
The code was mixing usages of the argument ver, with printing from
2986
pkg->available.version, which is rather confusing. Just use the
2987
available and installed pkg members instead.
2989
This also will guarantee we'll never get a NULL version.
2991
src/archives.c | 12 +++++-------
2993
src/processarc.c | 2 +-
2994
3 files changed, 7 insertions(+), 9 deletions(-)
2996
commit 3133aae67ee9e4f693a121b9578bffc0e0fa8469
2997
Author: Guillem Jover <guillem@debian.org>
2998
Date: Sat Jan 15 16:42:39 2011 +0100
3000
dpkg: Always say why in wanttoinstall()
3002
There's just one caller and it always requests to say why we are
3003
installing. So remove this unneeded logic.
3005
src/archives.c | 46 +++++++++++++++++++---------------------------
3007
src/processarc.c | 2 +-
3008
3 files changed, 21 insertions(+), 30 deletions(-)
3010
commit acb03dc669957b3e4f4412bc53bd201a1bfe528b
3011
Author: Guillem Jover <guillem@debian.org>
3012
Date: Sat Jan 15 07:00:26 2011 +0100
3014
Add spelling fix for jfs@debian.org to .mailmap
3017
1 files changed, 1 insertions(+), 0 deletions(-)
3019
commit f938e6fd12238e43cfb02540794739097c9e1530
3020
Author: Guillem Jover <guillem@debian.org>
3021
Date: Fri Jan 14 18:03:52 2011 +0100
3023
libdpkg: Use a varbuf for the field_state value
3025
This should reduce the amount of m_realloc() calls done when parsing,
3026
as the varbuf keeps track of the memory allocated and does not alternate
3027
reducing and growing the buffer unnecessarily.
3029
It might allow in the future to avoid copying around the field value
3030
string just to be able to append a NUL character.
3032
lib/dpkg/parse.c | 12 ++++++------
3033
1 files changed, 6 insertions(+), 6 deletions(-)
3035
commit 5f2b4a46326738154bdd47df91b3e110c55ebd28
3036
Author: Guillem Jover <guillem@debian.org>
3037
Date: Fri Jan 14 18:00:57 2011 +0100
3039
libdpkg: Move field matching into for (;;) bodies in pkg_parse_field()
3041
The current code is performing the field matching in the for (;;)
3042
conditional, which implies and empty for (;;) body and needs inverted
3043
logic to work. Move the matching into the body as that's the more
3044
natural place for it to be and easier to read.
3046
lib/dpkg/parse.c | 13 +++++++------
3047
1 files changed, 7 insertions(+), 6 deletions(-)
3049
commit 36d762414b7f244a4846443644e4d2e64c71a58a
3050
Author: Guillem Jover <guillem@debian.org>
3051
Date: Fri Jan 14 07:43:04 2011 +0100
3053
libdpkg: Refactor pkg_parse_field() out from parsedb()
3055
lib/dpkg/parse.c | 144 +++++++++++++++++++++++++++++++----------------------
3056
1 files changed, 84 insertions(+), 60 deletions(-)
3058
commit 58df02f9d39c1e7b1c7f49026a649f125b87140d
3059
Author: Guillem Jover <guillem@debian.org>
3060
Date: Fri Jan 14 07:12:51 2011 +0100
3062
libdpkg: Refactor pkg_parse_copy() out from parsedb()
3064
lib/dpkg/parse.c | 100 ++++++++++++++++++++++++++++++-----------------------
3065
1 files changed, 57 insertions(+), 43 deletions(-)
3067
commit 055ca895b3de26c117bd619785cf05580c9dcc55
3068
Author: Guillem Jover <guillem@debian.org>
3069
Date: Fri Jan 14 06:56:12 2011 +0100
3071
libdpkg: Reduce variable scope in parsedb()
3073
lib/dpkg/parse.c | 10 +++++++---
3074
1 files changed, 7 insertions(+), 3 deletions(-)
3076
commit 280f4a55b649035ae72093c80edc91289594e111
3077
Author: Guillem Jover <guillem@debian.org>
3078
Date: Fri Jan 14 06:49:33 2011 +0100
3080
libdpkg: Refactor pkg_parse_verify() out from parsedb()
3082
lib/dpkg/parse.c | 167 ++++++++++++++++++++++++++++--------------------------
3083
1 files changed, 87 insertions(+), 80 deletions(-)
3085
commit ca8a4bace2c59618aa78a488dbd0b3096009850d
3086
Author: Guillem Jover <guillem@debian.org>
3087
Date: Fri Jan 14 06:02:26 2011 +0100
3092
1 files changed, 2 insertions(+), 4 deletions(-)
3094
commit de553e274645c58b1b45197d962da15e72c1e24c
3095
Author: Guillem Jover <guillem@debian.org>
3096
Date: Fri Jan 14 01:10:00 2011 +0100
3098
Rename struct pkginfoperfile to struct pkgbin
3100
dselect/pkgdepcon.cc | 13 +++--
3101
dselect/pkglist.cc | 2 +-
3102
dselect/pkglist.h | 2 +-
3103
dselect/pkgtop.cc | 2 +-
3104
lib/dpkg/database.c | 8 ++--
3105
lib/dpkg/dpkg-db.h | 25 ++++++----
3106
lib/dpkg/dump.c | 114 ++++++++++++++++++++++++++++-----------------
3107
lib/dpkg/fields.c | 94 +++++++++++++++++++++++--------------
3108
lib/dpkg/libdpkg.Versions | 2 +-
3109
lib/dpkg/parse.c | 8 ++--
3110
lib/dpkg/parsedump.h | 6 +-
3111
lib/dpkg/pkg-format.c | 2 +-
3112
lib/dpkg/pkg-format.h | 2 +-
3113
lib/dpkg/vercmp.c | 2 +-
3114
src/archives.c | 4 +-
3115
src/cleanup.c | 2 +-
3117
src/processarc.c | 2 +-
3119
19 files changed, 177 insertions(+), 117 deletions(-)
3121
commit 2276c6a59c80a0d2558b349203310bb833bdd909
3122
Author: Guillem Jover <guillem@debian.org>
3123
Date: Fri Jan 14 01:04:32 2011 +0100
3125
dselect: Remove i2info() declaration w/o matching definition
3127
dselect/pkglist.h | 2 --
3128
1 files changed, 0 insertions(+), 2 deletions(-)
3130
commit 21306c4f9e47c1e77c23ae81ce42eb1cf8d2b962
3131
Author: Guillem Jover <guillem@debian.org>
3132
Date: Fri Nov 13 03:58:15 2009 +0100
3134
dpkg: Refactor package authentication into deb_verify()
3136
src/processarc.c | 59 ++++++++++++++++++++++++++++++++----------------------
3137
1 files changed, 35 insertions(+), 24 deletions(-)
3139
commit a6d7d484b5fc140aa4471535690e734900d1e4a6
3140
Author: Guillem Jover <guillem@debian.org>
3141
Date: Fri Nov 13 03:56:53 2009 +0100
3143
dpkg: Refactor reassembling a split package into deb_reassemble()
3145
src/processarc.c | 81 ++++++++++++++++++++++++++++++++----------------------
3146
1 files changed, 48 insertions(+), 33 deletions(-)
3148
commit f4b0dd0456af74edea2f117423e4b2a9959e8e59
3149
Author: Guillem Jover <guillem@debian.org>
3150
Date: Wed Jan 12 01:24:58 2011 +0100
3152
Use m_asprintf() instead varbuf_printf() for one-off strings
3154
When the string is only created once, used several times and then
3155
freed, there's no much point in using a varbuf instead of the simpler
3156
m_asprintf(). The former needs more state and makes using the string
3157
slightly more cumbersome. Using m_asprintf() should be slightly faster
3158
too, but not significantly enough to justify this change by itself.
3160
dpkg-deb/build.c | 20 ++++++++--------
3161
dpkg-split/split.c | 11 ++++-----
3162
lib/dpkg/dbmodify.c | 12 +++++-----
3163
lib/dpkg/dir.c | 15 ++++++-------
3164
lib/dpkg/path.c | 8 +++---
3165
lib/dpkg/triglib.c | 12 +++++-----
3166
src/divertcmd.c | 58 ++++++++++++++++++++++++--------------------------
3167
7 files changed, 66 insertions(+), 70 deletions(-)
3169
commit 881d62b236b52c35a367c49c3737c2b4dfdb7ede
3170
Author: Guillem Jover <guillem@debian.org>
3171
Date: Wed Jan 12 01:20:08 2011 +0100
3173
Use m_asprintf() instead of building the strings piece by piece
3175
This is way more compact, the strings are for temporary values, and the
3176
minimal possible performance difference does not matter here.
3178
src/statcmd.c | 38 ++++++++++++++------------------------
3179
1 files changed, 14 insertions(+), 24 deletions(-)
3181
commit 76a6ebe12c5fe1d8199ca4072915118197e6b98a
3182
Author: Guillem Jover <guillem@debian.org>
3183
Date: Wed Jan 12 00:28:55 2011 +0100
3185
Use m_asprintf() instead of nfmalloc() and string operations
3187
This avoid the need to know the resulting string length beforehand, and
3188
makes sure it's always going to get the right size. It also makes the
3191
Usage of nfmalloc() here was not appropriate anyway, as the variables
3192
are only of temporary use, so switching to normal allocation gives
3193
a side-effect “bug” fix.
3195
dpkg-split/queue.c | 11 ++++++-----
3196
1 files changed, 6 insertions(+), 5 deletions(-)
3198
commit 6185545a7936478f8b2cce7153d7e880b3b5df5b
3199
Author: Guillem Jover <guillem@debian.org>
3200
Date: Wed Jan 12 00:27:11 2011 +0100
3202
Use m_asprintf() instead of m_malloc() and string operations
3204
This avoid the need to know the resulting string length beforehand, and
3205
makes sure it's always going to get the right size. It also makes the
3208
lib/dpkg/dbmodify.c | 9 ++-------
3209
lib/dpkg/dump.c | 6 ++----
3210
lib/dpkg/myopt.c | 23 +++++++----------------
3211
lib/dpkg/tarfn.c | 6 ++----
3212
src/archives.c | 5 ++---
3213
src/main.c | 10 +++-------
3214
src/processarc.c | 7 ++-----
3215
7 files changed, 20 insertions(+), 46 deletions(-)
3217
commit d9be477d0f0b17b61c8dbc40457d1b500c90035f
3218
Author: Guillem Jover <guillem@debian.org>
3219
Date: Tue Jan 11 22:26:33 2011 +0100
3221
libdpkg: Call va_end() just after vsnprintf() in parse_db_version()
3223
No need to leak in case of recoverable error.
3225
lib/dpkg/parsehelp.c | 3 +--
3226
1 files changed, 1 insertions(+), 2 deletions(-)
3228
commit 38a86e06fd459cb94f75dd0370cac3e04cdff685
3229
Author: Guillem Jover <guillem@debian.org>
3230
Date: Tue Jan 11 22:04:31 2011 +0100
3232
libdpkg: Add new m_asprintf() function
3234
lib/dpkg/dpkg.h | 1 +
3235
lib/dpkg/libdpkg.Versions | 1 +
3236
lib/dpkg/mlib.c | 18 ++++++++++++++++++
3237
3 files changed, 20 insertions(+), 0 deletions(-)
3239
commit 795d07d2f773bd05d23d5f25bf1334bd0f3d4fb5
3240
Author: Guillem Jover <guillem@debian.org>
3241
Date: Mon Jan 10 20:51:13 2011 +0100
3243
libdpkg: Rename varbufvprintf() to varbuf_vprintf()
3245
Make the varbuf API a bit more consistent.
3247
lib/dpkg/buffer.c | 2 +-
3248
lib/dpkg/compress.c | 4 ++--
3249
lib/dpkg/libdpkg.Versions | 2 +-
3250
lib/dpkg/log.c | 4 ++--
3251
lib/dpkg/varbuf.c | 4 ++--
3252
lib/dpkg/varbuf.h | 2 +-
3253
6 files changed, 9 insertions(+), 9 deletions(-)
3255
commit af47d0660e1c1771999e64e4b54e97031c345053
3256
Author: Guillem Jover <guillem@debian.org>
3257
Date: Mon Jan 10 20:46:18 2011 +0100
3259
libdpkg: Rename varbufprintf() to varbuf_printf()
3261
Make the varbuf API a bit more consistent.
3263
dpkg-deb/build.c | 16 +++++-----
3264
dpkg-split/split.c | 20 ++++++------
3265
lib/dpkg/dbmodify.c | 2 +-
3266
lib/dpkg/dir.c | 2 +-
3267
lib/dpkg/libdpkg.Versions | 2 +-
3268
lib/dpkg/parsehelp.c | 2 +-
3269
lib/dpkg/path.c | 2 +-
3270
lib/dpkg/pkg-format.c | 6 ++--
3271
lib/dpkg/test/t-varbuf.c | 6 ++--
3272
lib/dpkg/triglib.c | 6 ++--
3273
lib/dpkg/varbuf.c | 4 ++-
3274
lib/dpkg/varbuf.h | 2 +-
3276
src/divertcmd.c | 32 ++++++++++----------
3277
src/packages.c | 71 +++++++++++++++++++++-----------------------
3278
15 files changed, 87 insertions(+), 88 deletions(-)
3280
commit 66b316d08a64b8f5e64f53d71e267024fb2f6884
3281
Author: Guillem Jover <guillem@debian.org>
3282
Date: Mon Jan 10 17:06:25 2011 +0100
3284
libdpkg: Rename varbufaddbuf() to varbuf_add_buf()
3286
Make the varbuf API a bit more consistent.
3288
lib/dpkg/buffer.c | 2 +-
3289
lib/dpkg/fields.c | 6 +++---
3290
lib/dpkg/libdpkg.Versions | 2 +-
3291
lib/dpkg/pkg-format.c | 2 +-
3292
lib/dpkg/test/t-varbuf.c | 12 ++++++------
3293
lib/dpkg/varbuf.c | 2 +-
3294
lib/dpkg/varbuf.h | 4 ++--
3295
src/archives.c | 2 +-
3296
src/configure.c | 2 +-
3298
10 files changed, 18 insertions(+), 18 deletions(-)
3300
commit 91c3515c2444483633e0bb52ae575775c3765230
3301
Author: Guillem Jover <guillem@debian.org>
3302
Date: Mon Jan 10 15:40:34 2011 +0100
3304
libdpkg: Rename varbufaddstr() to varbuf_add_str()
3306
Make the varbuf API a bit more consistent.
3308
dpkg-deb/info.c | 4 +-
3309
lib/dpkg/dbmodify.c | 6 ++--
3310
lib/dpkg/dump.c | 93 ++++++++++++++++++++++++++---------------------
3311
lib/dpkg/parsehelp.c | 5 ++-
3312
lib/dpkg/trigdeferred.l | 4 +-
3313
lib/dpkg/triglib.c | 4 +-
3314
lib/dpkg/varbuf.h | 4 +-
3315
src/archives.c | 26 +++++++-------
3316
src/configure.c | 10 +++---
3317
src/depcon.c | 18 +++++-----
3318
src/divertdb.c | 4 +-
3319
src/filesdb.c | 10 +++---
3321
src/packages.c | 12 +++---
3322
src/processarc.c | 18 +++++-----
3323
src/querycmd.c | 8 ++--
3324
src/remove.c | 28 +++++++-------
3325
src/statcmd.c | 12 +++---
3327
src/trigproc.c | 2 +-
3329
21 files changed, 146 insertions(+), 134 deletions(-)
3331
commit 064d5f21ab0a97538b9a3d85056dd0c77e46ffba
3332
Author: Guillem Jover <guillem@debian.org>
3333
Date: Mon Jan 10 15:28:46 2011 +0100
3335
libdpkg: Rename varbufaddc() to varbuf_add_char()
3337
Make the varbuf API a bit more consistent.
3339
dpkg-deb/info.c | 4 +-
3340
dpkg-split/split.c | 2 +-
3341
lib/dpkg/dbmodify.c | 4 +-
3342
lib/dpkg/dump.c | 60 +++++++++++++++++++++++++-------------------
3343
lib/dpkg/fields.c | 6 ++--
3344
lib/dpkg/libdpkg.Versions | 2 +-
3345
lib/dpkg/log.c | 4 +-
3346
lib/dpkg/parsehelp.c | 4 +-
3347
lib/dpkg/pkg-format.c | 4 +-
3348
lib/dpkg/test/t-varbuf.c | 12 ++++----
3349
lib/dpkg/trigdeferred.l | 2 +-
3350
lib/dpkg/triglib.c | 4 +-
3351
lib/dpkg/varbuf.c | 2 +-
3352
lib/dpkg/varbuf.h | 6 ++--
3353
src/archives.c | 38 +++++++++++++++------------
3354
src/configure.c | 16 ++++++------
3355
src/depcon.c | 8 +++---
3356
src/divertdb.c | 2 +-
3357
src/enquiry.c | 2 +-
3358
src/filesdb.c | 4 +-
3359
src/help.c | 8 +++---
3361
src/packages.c | 4 +-
3362
src/processarc.c | 22 ++++++++--------
3363
src/querycmd.c | 12 ++++----
3364
src/remove.c | 27 ++++++++++---------
3365
src/select.c | 8 +++---
3366
src/statcmd.c | 6 ++--
3368
src/trigproc.c | 4 +-
3370
31 files changed, 149 insertions(+), 136 deletions(-)
3372
commit 559d66ec3f4a649e65cc87dc6bea708c9289c1ff
3373
Author: Guillem Jover <guillem@debian.org>
3374
Date: Mon Jan 10 15:12:42 2011 +0100
3376
libdpkg: Rename varbufdupc() to varbuf_dup_char()
3378
Make the varbuf API a bit more consistent.
3380
lib/dpkg/libdpkg.Versions | 2 +-
3381
lib/dpkg/test/t-varbuf.c | 8 ++++----
3382
lib/dpkg/varbuf.c | 2 +-
3383
lib/dpkg/varbuf.h | 2 +-
3384
4 files changed, 7 insertions(+), 7 deletions(-)
3386
commit d5c59894cca3f776c68e499aaea1d697d2d1afd2
3387
Author: Guillem Jover <guillem@debian.org>
3388
Date: Mon Jan 10 15:07:46 2011 +0100
3390
libdpkg: Rename varbufsubstc() to varbuf_map_char()
3392
Make the varbuf API a bit more consistent.
3394
lib/dpkg/libdpkg.Versions | 2 +-
3395
lib/dpkg/log.c | 2 +-
3396
lib/dpkg/test/t-varbuf.c | 6 +++---
3397
lib/dpkg/varbuf.c | 2 +-
3398
lib/dpkg/varbuf.h | 2 +-
3399
5 files changed, 7 insertions(+), 7 deletions(-)
3401
commit 4ea08bff42040d7e1c623c393d00946ddd943557
3402
Author: Guillem Jover <guillem@debian.org>
3403
Date: Mon Jan 10 14:56:56 2011 +0100
3405
libdpkg: Rename varbufreset() to varbuf_reset()
3407
Make the varbuf API a bit more consistent.
3409
dpkg-deb/build.c | 6 +++---
3410
dpkg-deb/info.c | 2 +-
3411
dpkg-split/split.c | 8 ++++----
3412
lib/dpkg/dbmodify.c | 4 ++--
3413
lib/dpkg/dump.c | 2 +-
3414
lib/dpkg/fields.c | 6 +++---
3415
lib/dpkg/libdpkg.Versions | 2 +-
3416
lib/dpkg/log.c | 4 ++--
3417
lib/dpkg/parsehelp.c | 2 +-
3418
lib/dpkg/pkg-format.c | 4 ++--
3419
lib/dpkg/test/t-varbuf.c | 4 ++--
3420
lib/dpkg/trigdeferred.l | 2 +-
3421
lib/dpkg/triglib.c | 4 ++--
3422
lib/dpkg/varbuf.c | 4 +++-
3423
lib/dpkg/varbuf.h | 2 +-
3424
src/archives.c | 14 +++++++-------
3425
src/configure.c | 8 ++++----
3427
src/divertcmd.c | 4 ++--
3428
src/divertdb.c | 2 +-
3429
src/enquiry.c | 2 +-
3430
src/filesdb.c | 4 ++--
3433
src/packages.c | 2 +-
3434
src/processarc.c | 6 +++---
3435
src/querycmd.c | 4 ++--
3436
src/remove.c | 12 ++++++------
3437
src/select.c | 4 ++--
3439
src/trigproc.c | 2 +-
3440
31 files changed, 65 insertions(+), 63 deletions(-)
3442
commit 496dc81c1fadbb57092cfd5e2b42ddb9201020ce
3443
Author: Guillem Jover <guillem@debian.org>
3444
Date: Mon Jan 10 14:50:54 2011 +0100
3446
libdpkg: Rename varbufinit() to varbuf_init()
3448
Make the varbuf API a bit more consistent.
3450
lib/dpkg/dbmodify.c | 2 +-
3451
lib/dpkg/libdpkg.Versions | 2 +-
3452
lib/dpkg/test/t-varbuf.c | 22 +++++++++++-----------
3453
lib/dpkg/varbuf.c | 2 +-
3454
lib/dpkg/varbuf.h | 14 +++++++-------
3455
src/querycmd.c | 2 +-
3456
6 files changed, 22 insertions(+), 22 deletions(-)
3458
commit fdce08c3b923d3abb83768af2554743682486392
3459
Author: Jonathan Nieder <jrnieder@gmail.com>
3460
Date: Sat Jan 8 22:41:48 2011 +0100
3462
Remove --enable-sync-sync codepath
3464
Using sync() on unpack causes _all_ filesystems to be sync'd, which is
3465
not so great when one of those is a thumb drive, mounted over a network,
3466
or otherwise slow. Remove the sync-instead-of-fsync codepath due to
3467
those side-effects and to simplify maintenance.
3469
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
3470
Signed-off-by: Guillem Jover <guillem@debian.org>
3473
debian/changelog | 4 ++++
3474
m4/dpkg-funcs.m4 | 28 ----------------------------
3475
src/archives.c | 8 --------
3476
4 files changed, 4 insertions(+), 37 deletions(-)
3478
commit dff89f3f2339b9ee4ac015004ae0dd7e573079f7
3479
Author: Guillem Jover <guillem@debian.org>
3480
Date: Sat Jan 8 22:16:17 2011 +0100
3482
libdpkg: Add missing command_shell to version script
3484
lib/dpkg/libdpkg.Versions | 1 +
3485
1 files changed, 1 insertions(+), 0 deletions(-)
3487
commit 2561f28501fe5a497e05784c0237e797cd74666e
3488
Author: Guillem Jover <guillem@debian.org>
3489
Date: Thu Aug 12 04:31:31 2010 +0200
3491
dpkg: Fix -GEO options on multiple versions of the same package
3493
The options were not taking effect as they were only being applied to
3494
installed packages, while the first stage usually implies unpacking
3495
and then configuring in a later stage. Which implies having those
3496
packages going from installed to unpacked, and then skipping any of
3497
the checks requested by the user on subsequently processed packages.
3501
debian/changelog | 2 ++
3502
src/archives.c | 6 +++---
3503
2 files changed, 5 insertions(+), 3 deletions(-)
3505
commit 0c770cb2f1b823d6a0f29bfd52326ed7fcb07bd2
3506
Author: Guillem Jover <guillem@debian.org>
3507
Date: Sat Jan 8 15:34:43 2011 +0100
3509
u-a: Removed unused ret variable from altdb_parse_error()
3511
utils/update-alternatives.c | 3 +--
3512
1 files changed, 1 insertions(+), 2 deletions(-)
3514
commit 818f6647be26a8f339ab2682c8364fb447e5bc60
3515
Author: Guillem Jover <guillem@debian.org>
3516
Date: Fri Jan 7 21:32:49 2011 +0100
3518
build: Fail configure if curses is needed but no headers are present
3520
Reported-by: Raphael Geissert <geissert@debian.org>
3521
Tested-by: Raphael Geissert <geissert@debian.org>
3522
Signed-off-by: Guillem Jover <guillem@debian.org>
3524
m4/dpkg-libs.m4 | 9 +++++++--
3525
1 files changed, 7 insertions(+), 2 deletions(-)
3527
commit f568ae3f5ce9f2fc41abd372a828bb4026c6d0e3
3528
Author: Guillem Jover <guillem@debian.org>
3529
Date: Tue Jan 4 04:18:45 2011 +0100
3531
dpkg-split: Reduce scope of variables
3533
dpkg-split/join.c | 12 +++++++-----
3534
dpkg-split/queue.c | 28 +++++++++++++++++-----------
3535
2 files changed, 24 insertions(+), 16 deletions(-)
3537
commit 460284e19e1556ab312528fdf34be97ce575cf0d
3538
Author: Guillem Jover <guillem@debian.org>
3539
Date: Tue Jan 4 04:13:22 2011 +0100
3541
dpkg-deb: Fix corrupt archive header magic error string
3543
The string was referring to the first header when the string refers to
3546
dpkg-deb/extract.c | 2 +-
3547
1 files changed, 1 insertions(+), 1 deletions(-)
3549
commit 942be7d09ffcdf2bbc5b5b8e391880704da86f7f
3550
Author: Guillem Jover <guillem@debian.org>
3551
Date: Mon Jan 3 20:43:47 2011 +0100
3553
Remove unneeded <errno.h> include
3555
dpkg-deb/main.c | 1 -
3556
dpkg-split/split.c | 1 -
3557
lib/dpkg/buffer.c | 1 -
3558
lib/dpkg/mlib.c | 1 -
3559
4 files changed, 0 insertions(+), 4 deletions(-)
3561
commit 7ee10fceb19acbea67a587800c9e972dbe87aab3
3562
Author: Guillem Jover <guillem@debian.org>
3563
Date: Mon Jan 3 15:44:11 2011 +0100
3565
dpkg-deb: Refactor out pkg_get_pathname() from do_build()
3567
dpkg-deb/build.c | 31 +++++++++++++++++++++----------
3568
1 files changed, 21 insertions(+), 10 deletions(-)
3570
commit 0d5ba1a79ee26dc74cd964f255ef62920f7f6e35
3571
Author: Guillem Jover <guillem@debian.org>
3572
Date: Mon Jan 3 03:07:52 2011 +0100
3574
dpkg-deb: Refactor check_new_pkg() out from do_build()
3576
dpkg-deb/build.c | 79 +++++++++++++++++++++++++++++++----------------------
3577
1 files changed, 46 insertions(+), 33 deletions(-)
3579
commit f849410277803fb37e153d3fdaa1dd44da9c632b
3580
Author: Guillem Jover <guillem@debian.org>
3581
Date: Mon Jan 3 03:06:03 2011 +0100
3583
dpkg-deb: Handle missing arch in varbufprintf() call inside do_build()
3585
dpkg-deb/build.c | 4 +---
3586
1 files changed, 1 insertions(+), 3 deletions(-)
3588
commit 8451065cf85cb8a17dcd17e0cd2ca1fdef7cb749
3589
Author: Guillem Jover <guillem@debian.org>
3590
Date: Mon Jan 3 01:49:13 2011 +0100
3592
Centralize warn counting in warningv()
3594
Add an accessor function to be able to replace the old warn counters
3595
in the rest of the code.
3597
dpkg-deb/build.c | 19 +++++--------------
3598
dpkg-deb/info.c | 2 +-
3599
lib/dpkg/dbmodify.c | 6 +++---
3600
lib/dpkg/dpkg-db.h | 3 +--
3601
lib/dpkg/ehandle.c | 9 +++++++++
3602
lib/dpkg/ehandle.h | 1 +
3603
lib/dpkg/libdpkg.Versions | 1 +
3604
lib/dpkg/parse.c | 6 +-----
3605
lib/dpkg/parsedump.h | 1 -
3606
lib/dpkg/parsehelp.c | 1 -
3607
src/processarc.c | 2 +-
3608
src/update.c | 4 ++--
3609
12 files changed, 25 insertions(+), 30 deletions(-)
3611
commit a63d8a8d16b4b3c1cb34f635dd15346ed2728444
3612
Author: Guillem Jover <guillem@debian.org>
3613
Date: Sun Jan 2 18:53:09 2011 +0100
3615
dpkg-deb: Use varbuf in file_info_get() instead of ad-hoc code
3617
dpkg-deb/build.c | 37 +++++++++++++++----------------------
3618
1 files changed, 15 insertions(+), 22 deletions(-)
3620
commit 00fa8d0e6ffb777dea52f7e20a24bd9a7702e5f8
3621
Author: Guillem Jover <guillem@debian.org>
3622
Date: Sun Jan 2 14:30:23 2011 +0100
3624
Use fdio functions instead of raw read()/write() calls
3626
This makes the call sites safe against interrupted I/O.
3628
dpkg-deb/build.c | 4 ++--
3629
dpkg-deb/extract.c | 7 ++++---
3630
lib/dpkg/ar.c | 11 ++++++-----
3631
lib/dpkg/compress.c | 9 +++++----
3632
4 files changed, 17 insertions(+), 14 deletions(-)
3634
commit 5d74139fda1e4850c436765131b949232b54cc80
3635
Author: Guillem Jover <guillem@debian.org>
3636
Date: Sun Jan 2 14:27:06 2011 +0100
3638
Use fdio instead of ad-hoc code to handle interrupted I/O
3640
dpkg-deb/build.c | 10 ++++------
3641
lib/dpkg/buffer.c | 36 ++++++++++++++----------------------
3642
lib/dpkg/log.c | 13 ++++---------
3643
src/archives.c | 29 ++++++-----------------------
3644
4 files changed, 28 insertions(+), 60 deletions(-)
3646
commit 44b4d950ba4beb443d4f718467e7baec14885bc0
3647
Author: Guillem Jover <guillem@debian.org>
3648
Date: Sun Jan 2 13:47:29 2011 +0100
3650
libdpkg: Remove unused fd_buf_copy()
3652
This function is not really needed once we have fd_read(), it also
3653
performs some slight unneeded work.
3655
lib/dpkg/buffer.c | 4 ----
3656
lib/dpkg/buffer.h | 4 ----
3657
2 files changed, 0 insertions(+), 8 deletions(-)
3659
commit 12f71d6df332c212fa86b7b2c11dbd43b19e37f1
3660
Author: Guillem Jover <guillem@debian.org>
3661
Date: Sun Jan 2 13:38:37 2011 +0100
3663
Use fd_read() instead of fd_buf_copy()
3665
The latter is doing unneeded work. Switch to use a simpler but equally
3668
lib/dpkg/parse.c | 5 +++--
3669
src/filesdb.c | 5 +++--
3670
src/statdb.c | 6 +++---
3671
3 files changed, 9 insertions(+), 7 deletions(-)
3673
commit 0053d6ef57593f98d92d0e37bb2b81c042669b67
3674
Author: Guillem Jover <guillem@debian.org>
3675
Date: Thu Dec 2 04:56:51 2010 +0100
3677
libdpkg: Add new fdio API
3679
lib/dpkg/Makefile.am | 2 +
3680
lib/dpkg/fdio.c | 77 +++++++++++++++++++++++++++++++++++++++++++++
3681
lib/dpkg/fdio.h | 35 ++++++++++++++++++++
3682
lib/dpkg/libdpkg.Versions | 2 +
3683
4 files changed, 116 insertions(+), 0 deletions(-)
3685
commit 5cb9ffc5f9b53691d23ca8e8347eccfa8f130071
3686
Author: Guillem Jover <guillem@debian.org>
3687
Date: Sun Jan 2 01:39:16 2011 +0100
3689
libdpkg: Merge errmsgbuf and errmsg
3691
There's no need anymore for the two distinct variables since ohshitvb
3692
got removed in commit 7d1245eff85d74d872b6ee89f55c8466321e560c.
3694
lib/dpkg/ehandle.c | 14 ++++----------
3695
1 files changed, 4 insertions(+), 10 deletions(-)
3697
commit 3c25a7b0a50fc25dbeea7a512459a01bb0672f32
3698
Author: Guillem Jover <guillem@debian.org>
3699
Date: Sat Jan 1 03:58:58 2011 +0100
3701
libdpkg: Initialize buffer_data variables on declaration in buffer_copy_TYPE
3703
lib/dpkg/buffer.c | 8 ++------
3704
1 files changed, 2 insertions(+), 6 deletions(-)
3706
commit ee595ed38daa7b3ffba452296b7b070e82d8c939
3707
Author: Guillem Jover <guillem@debian.org>
3708
Date: Sat Jan 1 03:51:40 2011 +0100
3710
libdpkg: Call buffer_init() and buffer_done() from buffer_copy()
3712
lib/dpkg/buffer.c | 6 ++++--
3713
1 files changed, 4 insertions(+), 2 deletions(-)
3715
commit 4e51e727e7d06eeda8ba7a8fc0fc4252d9bc875d
3716
Author: Guillem Jover <guillem@debian.org>
3717
Date: Sat Jan 1 03:47:05 2011 +0100
3719
libdpkg: Remove buffer_copy_PtrPtr and buffer_copy_PtrInt functions
3721
Those were instantiated from the buffer_copy_TYPE macro, but not used
3724
lib/dpkg/buffer.c | 2 --
3725
lib/dpkg/buffer.h | 6 ------
3726
2 files changed, 0 insertions(+), 8 deletions(-)
3728
commit 7b4de87652e11609c0797a334a0c43aac08d940e
3729
Author: Guillem Jover <guillem@debian.org>
3730
Date: Sat Jan 1 03:43:25 2011 +0100
3732
libdpkg: Make all internal buffer functions static
3734
lib/dpkg/buffer.c | 12 ++++++------
3735
lib/dpkg/buffer.h | 12 +-----------
3736
lib/dpkg/libdpkg.Versions | 5 -----
3737
3 files changed, 7 insertions(+), 22 deletions(-)
3739
commit 4e65a84d1e529541c686230086f56de4e2b2122c
3740
Author: Guillem Jover <guillem@debian.org>
3741
Date: Sat Jan 1 03:54:01 2011 +0100
3743
libdpkg: Move buffer_copy_TYPE() and instantiations after buffer_copy()
3745
lib/dpkg/buffer.c | 68 ++++++++++++++++++++++++++--------------------------
3746
1 files changed, 34 insertions(+), 34 deletions(-)
3748
commit 25fb807882427fa70afd2494ec844a96ba63337c
3749
Author: Guillem Jover <guillem@debian.org>
3750
Date: Thu Dec 16 05:09:35 2010 +0100
3752
libdpkg: Add new DPKG_GCC_VERSION macro and use it
3754
Instead of doing several checks on the different GCC macros with the
3755
version parts, merge them into this new macro and use simple integer
3756
arithmetic to compare the versions.
3758
lib/dpkg/macros.h | 13 +++++++++----
3759
1 files changed, 9 insertions(+), 4 deletions(-)
3761
commit 0ba66256fb3abbf208179952ec9f1282f76bbcae
3762
Author: Guillem Jover <guillem@debian.org>
3763
Date: Mon Dec 13 08:15:56 2010 +0100
3765
build: Refactor common linker objects into LDADD
3767
lib/dpkg/test/Makefile.am | 16 +---------------
3768
src/Makefile.am | 28 +++++-----------------------
3769
2 files changed, 6 insertions(+), 38 deletions(-)
3771
commit 581ce084ea6b26816de53b9580600beae05ce16c
3772
Author: Guillem Jover <guillem@debian.org>
3773
Date: Thu Dec 2 21:09:13 2010 +0100
3775
dpkg: Do not check for presence of update-rc.d
3777
It's not really needed for dpkg correct operation.
3779
debian/changelog | 2 ++
3781
2 files changed, 2 insertions(+), 1 deletions(-)
3783
commit 506dd27b56a570e019e90974ea285fe4fd2f8bf8
3784
Author: Guillem Jover <guillem@debian.org>
3785
Date: Fri Dec 31 21:26:43 2010 +0100
3787
dpkg-split: Do not slurp the entire part into memory when splitting
3789
The current code is slurping the entire part into memory, which works
3790
fine when the partsize is small but might be unbearable when the
3791
partsize is too big. Use fd_fd_copy() via dpkg_ar_member_put_file()
3792
instead, which will guarantee small constant memory usage.
3794
dpkg-split/split.c | 21 +++++++++------------
3795
1 files changed, 9 insertions(+), 12 deletions(-)
3797
commit d2b1ba546eda19271ada6daf1d0bcfee6b0dd9c9
3798
Author: Guillem Jover <guillem@debian.org>
3799
Date: Fri Dec 31 20:43:44 2010 +0100
3801
libdpkg: Use bool values for copy_dependency_links() call
3803
lib/dpkg/parse.c | 2 +-
3804
1 files changed, 1 insertions(+), 1 deletions(-)
3806
commit 1d779cecab2016047a433a5175764c0e2951ba9d
3807
Author: Guillem Jover <guillem@debian.org>
3808
Date: Fri Dec 31 17:24:44 2010 +0100
3810
dpkg-split: Do not pass partsize to mksplit() and compute it internally
3812
dpkg-split/split.c | 10 +++++-----
3813
1 files changed, 5 insertions(+), 5 deletions(-)
3815
commit 6bb0ab0608fdd2509a8d2b84cd75ae01fa5e64c5
3816
Author: Guillem Jover <guillem@debian.org>
3817
Date: Fri Dec 31 20:43:09 2010 +0100
3819
dpkg-split: Mark strings for translation
3821
Use plural support for one of them.
3823
dpkg-split/split.c | 10 ++++++----
3824
1 files changed, 6 insertions(+), 4 deletions(-)
3826
commit 97f0c0baee8fbb393781bc7024d80b8c08a87d25
3827
Author: Guillem Jover <guillem@debian.org>
3828
Date: Fri Dec 31 13:57:47 2010 +0100
3830
libdpkg: Change dpkg_ar_member_put_file() to accept a size limit
3832
dpkg-deb/build.c | 4 ++--
3833
lib/dpkg/ar.c | 17 ++++++++++-------
3834
lib/dpkg/ar.h | 2 +-
3835
3 files changed, 13 insertions(+), 10 deletions(-)
3837
commit 150be4c45af785a6374e2c7ecc90b0fdab054787
3838
Author: Guillem Jover <guillem@debian.org>
3839
Date: Fri Dec 31 12:43:21 2010 +0100
3841
dpkg-split: Use number of parts to track split process
3843
Use the currently available variables instead of the additional useless
3846
dpkg-split/split.c | 6 +-----
3847
1 files changed, 1 insertions(+), 5 deletions(-)
3849
commit 6a790ffc469be94173db8dc0f0ebee7e9c95e707
3850
Author: Guillem Jover <guillem@debian.org>
3851
Date: Fri Dec 31 12:42:31 2010 +0100
3853
dpkg-split: Reduce variable scope in do_split()
3855
dpkg-split/split.c | 5 +++--
3856
1 files changed, 3 insertions(+), 2 deletions(-)
3858
commit 027c6e35be5cfb31cab3c3a286e2b4bc0763d161
3859
Author: Guillem Jover <guillem@debian.org>
3860
Date: Wed Dec 1 03:20:07 2010 +0100
3862
Use dpkg_ar_member_get_size() instead of duplicated code
3864
dpkg-deb/extract.c | 25 +------------------------
3865
dpkg-split/info.c | 20 ++------------------
3866
2 files changed, 3 insertions(+), 42 deletions(-)
3868
commit e36ca74003e44e44faacbb9c32d596d80a9387f9
3869
Author: Guillem Jover <guillem@debian.org>
3870
Date: Wed Dec 1 03:19:31 2010 +0100
3872
libdpkg: Add new dpkg_ar_member_get_size()
3874
lib/dpkg/ar.c | 25 +++++++++++++++++++++++++
3875
lib/dpkg/ar.h | 3 +++
3876
lib/dpkg/libdpkg.Versions | 1 +
3877
3 files changed, 29 insertions(+), 0 deletions(-)
3879
commit 3be2cf607868adb9a2c0e5af06f20168a072eeb6
3880
Author: Guillem Jover <guillem@debian.org>
3881
Date: Mon Nov 29 13:29:17 2010 +0100
3883
libdpkg: Refactor common code into parse_error_msg()
3885
This moves all the buffer size knowledge to the same function, and
3886
easily allows to fix possible buffer overflows in case fmt is longer
3887
than the destination buffer. It also nicely reduces slightly the
3890
lib/dpkg/parsehelp.c | 33 +++++++++++++++------------------
3891
1 files changed, 15 insertions(+), 18 deletions(-)
3893
commit ec97f0a8ff3bf88418dc452e5df8425b86957f9a
3894
Author: Guillem Jover <guillem@debian.org>
3895
Date: Mon Nov 29 11:41:06 2010 +0100
3897
libdpkg: Use warningv() in parse_warn() instead of open coding it
3899
Generalize and unify parse_error_msg() error message and stop passing
3900
the type of error to it. Now that ohshit() will print "error" we don't
3901
need to print it again here.
3903
lib/dpkg/parsehelp.c | 18 ++++++++----------
3904
1 files changed, 8 insertions(+), 10 deletions(-)
3906
commit f428f6f616de9ff659730dc646aada51b7bd1f8c
3907
Author: Guillem Jover <guillem@debian.org>
3908
Date: Mon Nov 29 09:39:13 2010 +0100
3910
libdpkg: Always prefix "error" to fatal error message output
3912
debian/changelog | 1 +
3913
lib/dpkg/ehandle.c | 2 +-
3914
2 files changed, 2 insertions(+), 1 deletions(-)
3916
commit 6857c9064b75e7ef2aabdb45b4e55a8b2f2de91a
3917
Author: Guillem Jover <guillem@debian.org>
3918
Date: Sat Nov 27 12:35:46 2010 +0100
3924
debian/changelog | 67 ++++++++++++++++++++++++++---------------------------
3925
1 files changed, 33 insertions(+), 34 deletions(-)
3927
commit cf316979dec20696ee57d5a6f8a469a12758f54d
3928
Author: Guillem Jover <guillem@debian.org>
3929
Date: Sat Nov 27 12:32:36 2010 +0100
3931
man: Quote dashes for correct output
3933
man/deb-control.5 | 26 ++++++++--------
3934
man/deb-src-control.5 | 78 ++++++++++++++++++++++++------------------------
3935
2 files changed, 52 insertions(+), 52 deletions(-)
3937
commit 95bb77ebc2c420a6788a147983010560c6606303
3938
Author: Guillem Jover <guillem@debian.org>
3939
Date: Sat Nov 27 11:57:23 2010 +0100
3941
Clarify and simplify strings to help translators
3945
Suggested-by: Andrei Popescu <andreimpopescu@gmail.com>
3946
Signed-off-by: Guillem Jover <guillem@debian.org>
3948
debian/changelog | 1 +
3949
lib/dpkg/ehandle.c | 2 +-
3950
lib/dpkg/parsehelp.c | 3 ++-
3951
src/help.c | 11 +++++------
3952
4 files changed, 9 insertions(+), 8 deletions(-)
3954
commit 3fa386596dcdf3711e79fc2aedd124691bc69e45
3955
Author: Guillem Jover <guillem@debian.org>
3956
Date: Sat Nov 27 11:56:17 2010 +0100
3958
libdpkg: Unmark debug message for translation
3960
Reported-by: Andrei Popescu <andreimpopescu@gmail.com>
3962
lib/dpkg/database.c | 5 ++++-
3963
1 files changed, 4 insertions(+), 1 deletions(-)
3965
commit 7ab4b0ce3912e34620760f02242ebf80bc0dafff
3966
Author: Guillem Jover <guillem@debian.org>
3967
Date: Sat Nov 27 09:56:19 2010 +0100
3969
Make short strings unique by using gettext context support
3971
Reported-by: Andrei Popescu <andreimpopescu@gmail.com>
3973
lib/dpkg/parsehelp.c | 3 ++-
3974
src/enquiry.c | 3 ++-
3975
2 files changed, 4 insertions(+), 2 deletions(-)
3977
commit 63e047b9c2f652290f6e697ac31266a8488491e7
3978
Author: Guillem Jover <guillem@debian.org>
3979
Date: Sat Nov 27 08:42:56 2010 +0100
3981
Add gettext context infrastructure support
3983
lib/dpkg/i18n.h | 1 +
3985
2 files changed, 3 insertions(+), 1 deletions(-)
3987
commit f5d6106db5c8110f6e0b0a736099e705b3c43eee
3988
Author: Guillem Jover <guillem@debian.org>
3989
Date: Fri Nov 26 07:51:43 2010 +0100
3991
dpkg-deb: Move setcompresstype() before cmdinfos
3993
This unifies the style with the rest of the code base, and avoids the
3994
need for a declaration of a static function.
3996
dpkg-deb/main.c | 16 ++++++++--------
3997
1 files changed, 8 insertions(+), 8 deletions(-)
3999
commit 0cabc7648dca136fd4ee19c1157d89e7670dfbc3
4000
Author: Guillem Jover <guillem@debian.org>
4001
Date: Fri Nov 26 07:47:00 2010 +0100
4003
dpkg-deb: Move known_arbitrary_field() closer to do_build()
4005
dpkg-deb/build.c | 56 +++++++++++++++++++++++++++---------------------------
4006
1 files changed, 28 insertions(+), 28 deletions(-)
4008
commit bebb0f3a0ac4fd4990585363c4af2bceafcf1ebd
4009
Author: Guillem Jover <guillem@debian.org>
4010
Date: Sun Jan 2 20:44:36 2011 +0100
4012
dpkg-deb: Use varbuf to generate package file name in do_build()
4014
dpkg-deb/build.c | 10 ++++------
4015
1 files changed, 4 insertions(+), 6 deletions(-)
4017
commit 5ed471f8bc8aaf8faee6b04e4177451fa2d3cd52
4018
Author: Guillem Jover <guillem@debian.org>
4019
Date: Sun Jan 2 20:11:34 2011 +0100
4021
dpkg-deb: Count one missing warning() for the total amount reported
4023
debian/changelog | 1 +
4024
dpkg-deb/build.c | 5 +++--
4025
2 files changed, 4 insertions(+), 2 deletions(-)
4027
commit 167fc193f41e65f4cac84432e7114ea2b66a5ccb
4028
Author: Guillem Jover <guillem@debian.org>
4029
Date: Fri Nov 26 07:30:32 2010 +0100
4031
dpkg-deb: Rename getfi() into file_info_get()
4033
dpkg-deb/build.c | 4 ++--
4034
1 files changed, 2 insertions(+), 2 deletions(-)
4036
commit 26a90f1d068bc30af5ddcd1ab265d7090c6c9509
4037
Author: Guillem Jover <guillem@debian.org>
4038
Date: Fri Nov 26 07:29:01 2010 +0100
4040
dpkg-deb: Rename free_filist() to file_info_list_free()
4042
dpkg-deb/build.c | 6 +++---
4043
1 files changed, 3 insertions(+), 3 deletions(-)
4045
commit a0c16300d391f3ee91d6bc37b3031f562338f998
4046
Author: Guillem Jover <guillem@debian.org>
4047
Date: Fri Nov 26 07:29:01 2010 +0100
4049
dpkg-deb: Rename add_to_filist() to file_info_list_append()
4051
dpkg-deb/build.c | 8 ++++----
4052
1 files changed, 4 insertions(+), 4 deletions(-)
4054
commit 2998b32eaf8d560cafdc45a66a183f3697bfeaf6
4055
Author: Guillem Jover <guillem@debian.org>
4056
Date: Fri Nov 26 07:27:50 2010 +0100
4058
dpkg-deb: Rename add_to_filist() arguments to head/tail
4060
This normalized them with the rest of the codebase.
4062
dpkg-deb/build.c | 8 ++++----
4063
1 files changed, 4 insertions(+), 4 deletions(-)
4065
commit 291c19900153dbae4417b67d4077d7f7b1b25435
4066
Author: Guillem Jover <guillem@debian.org>
4067
Date: Fri Nov 26 07:16:43 2010 +0100
4069
dpkg-deb: Remove redundant debar check and reduce code scope
4071
dpkg-deb/build.c | 17 ++++++++---------
4072
1 files changed, 8 insertions(+), 9 deletions(-)
4074
commit f17d95da9d3b23362bf0d97b9ff40f5d5ec3971e
4075
Author: Guillem Jover <guillem@debian.org>
4076
Date: Fri Nov 26 06:50:37 2010 +0100
4078
dpkg-deb: Refactor check_conffiles() out from do_build()
4080
dpkg-deb/build.c | 136 +++++++++++++++++++++++++++++++----------------------
4081
1 files changed, 79 insertions(+), 57 deletions(-)
4083
commit 855bdfb4fe44e851ad036627f2d8702e3e0dcb0c
4084
Author: Guillem Jover <guillem@debian.org>
4085
Date: Fri Nov 26 06:35:19 2010 +0100
4087
dpkg-deb: Refactor check_file_perms() out from do_build()
4089
dpkg-deb/build.c | 82 +++++++++++++++++++++++++++++++++---------------------
4090
1 files changed, 50 insertions(+), 32 deletions(-)
4092
commit af34a9cc062756207f275dbbb5ec16896ba311b7
4093
Author: Guillem Jover <guillem@debian.org>
4094
Date: Fri Nov 26 07:45:06 2010 +0100
4096
dpkg-deb: Rename checkedinfo to pkg in do_build()
4098
dpkg-deb/build.c | 27 ++++++++++++++-------------
4099
1 files changed, 14 insertions(+), 13 deletions(-)
4101
commit 0dd72f1b7a6a0835bc0212d019c2a01761e041fb
4102
Author: Guillem Jover <guillem@debian.org>
4103
Date: Sun Jan 2 19:19:10 2011 +0100
4105
dpkg-deb: Use a varbuf instead of a fixed size buffer in do_build()
4107
The allocated buffer has a fixes size, which could pose problems if for
4108
whatever reason some of the components increase size.
4110
dpkg-deb/build.c | 43 ++++++++++++++++++-------------------------
4111
1 files changed, 18 insertions(+), 25 deletions(-)
4113
commit 06f0675ffa2f84a2661a312194feefdeb3841ec0
4114
Author: Guillem Jover <guillem@debian.org>
4115
Date: Wed Jan 5 09:44:37 2011 +0100
4117
Rename directory variables to just dir
4119
The shorter form is unambiguous and takes less screen size.
4121
dpkg-deb/build.c | 33 ++++++++++++++-----------
4122
dpkg-deb/dpkg-deb.h | 2 +-
4123
dpkg-deb/extract.c | 26 ++++++++++++-------
4124
dpkg-deb/info.c | 66 +++++++++++++++++++++++++++-----------------------
4125
src/archives.c | 14 +++++-----
4126
5 files changed, 78 insertions(+), 63 deletions(-)
4128
commit 0b67f8d1d540e3cd52d7849b767ed1a9bae02368
4129
Author: Guillem Jover <guillem@debian.org>
4130
Date: Fri Nov 26 06:24:49 2010 +0100
4132
dpkg-deb: Reduce scope of variables in do_build()
4134
dpkg-deb/build.c | 43 ++++++++++++++++++++++++++++++-------------
4135
1 files changed, 30 insertions(+), 13 deletions(-)
4137
commit 797115468511551b08b8fd79a9d787dc17fba9fe
4138
Author: Guillem Jover <guillem@debian.org>
4139
Date: Thu Nov 25 23:18:58 2010 +0100
4141
libdpkg: Install header file ehandle.h
4143
Missed in commit 6e5d5c1f05edbe0ce2213a6658b438668fe48cba.
4145
lib/dpkg/Makefile.am | 1 +
4146
1 files changed, 1 insertions(+), 0 deletions(-)
4148
commit f9ed41c4f61d2b037a0faca08a40581c1bc385b1
4149
Author: Guillem Jover <guillem@debian.org>
4150
Date: Thu Nov 25 01:23:07 2010 +0100
4152
dpkg-query: Refactor --list header printing into list_format_print_header()
4154
src/querycmd.c | 75 +++++++++++++++++++++++++++++++------------------------
4155
1 files changed, 42 insertions(+), 33 deletions(-)
4157
commit dba35578a11b7fd887fda28d22083e61047ac1d2
4158
Author: Guillem Jover <guillem@debian.org>
4159
Date: Thu Nov 25 00:36:27 2010 +0100
4161
dpkg-query: Refactor --list format creation into new list_format_init()
4163
src/querycmd.c | 120 +++++++++++++++++++++++++++++++++----------------------
4164
1 files changed, 72 insertions(+), 48 deletions(-)
4166
commit 49f8bd789eca3a3b7c8d57974070d4e4d055b42d
4167
Author: Guillem Jover <guillem@debian.org>
4168
Date: Wed Nov 24 03:06:53 2010 +0100
4170
s-s-d: Rename do_help() to usage()
4172
utils/start-stop-daemon.c | 4 ++--
4173
1 files changed, 2 insertions(+), 2 deletions(-)
4175
commit df7dabd95adfee2e07e70b6bc60c216ccba0d272
4176
Author: Guillem Jover <guillem@debian.org>
4177
Date: Tue Nov 23 23:15:47 2010 +0100
4179
s-s-d: Rename clear() to pid_list_free()
4181
utils/start-stop-daemon.c | 6 +++---
4182
1 files changed, 3 insertions(+), 3 deletions(-)
4184
commit db56c2bba99f22c879bbbffb4b020f418f508f8f
4185
Author: Guillem Jover <guillem@debian.org>
4186
Date: Tue Nov 23 23:15:33 2010 +0100
4188
s-s-d: Rename push() to pid_list_push()
4190
utils/start-stop-daemon.c | 6 +++---
4191
1 files changed, 3 insertions(+), 3 deletions(-)
4193
commit 8a2f4f6866790b5ae9e8931dccb19c10b274397e
4194
Author: Guillem Jover <guillem@debian.org>
4195
Date: Tue Nov 23 23:05:04 2010 +0100
4197
s-s-d: Rename check() to pid_check()
4199
utils/start-stop-daemon.c | 12 ++++++------
4200
1 files changed, 6 insertions(+), 6 deletions(-)
4202
commit 886d2911bdb2253a5a331d109f15fd8bd9d4027a
4203
Author: Guillem Jover <guillem@debian.org>
4204
Date: Tue Nov 23 22:38:16 2010 +0100
4206
s-s-d: Remove static function declarations
4208
utils/start-stop-daemon.c | 14 --------------
4209
1 files changed, 0 insertions(+), 14 deletions(-)
4211
commit f53151c5c738b0902815ad3cdeae35005797f099
4212
Author: Guillem Jover <guillem@debian.org>
4213
Date: Tue Nov 23 22:31:01 2010 +0100
4215
s-s-d: Make only sched_goto use goto instead of the other enum values
4217
This makes sched_goto usage more obvious, makes the for more natural,
4218
and removes one instance of goto usage.
4220
utils/start-stop-daemon.c | 12 +++++-------
4221
1 files changed, 5 insertions(+), 7 deletions(-)
4223
commit e611924c3e2ca6e13e6c50fab6e01da24045c129
4224
Author: Guillem Jover <guillem@debian.org>
4225
Date: Tue Nov 23 04:21:03 2010 +0100
4227
s-s-d: Refactor finish code into new finish_stop_schedule()
4229
This removes an unneeded and ugly goto, and replaces with a proper
4232
utils/start-stop-daemon.c | 27 +++++++++++++++------------
4233
1 files changed, 15 insertions(+), 12 deletions(-)
4235
commit 6b04265c74633e42addd63bcf30763545b643ecf
4236
Author: Helge Kreutzmann <debian@helgefjell.de>
4237
Date: Fri Jan 7 21:55:59 2011 +0100
4239
Update German scripts translation
4243
scripts/po/de.po | 283 ++++++++++++++++++++++++++++--------------------------
4244
1 files changed, 146 insertions(+), 137 deletions(-)
4246
commit 2df6e3351f79c96c80f5869499a5cb4d59f2943f
4247
Merge: 930bb77 1d872bf
4248
Author: Raphaël Hertzog <hertzog@debian.org>
4249
Date: Thu Jan 6 21:59:44 2011 +0100
4251
Merge commit '1.15.8.8'
100
4253
commit 1d872bf8ed2a7976c901aff20bf2bd6c20660f65
101
4254
Author: Raphaël Hertzog <hertzog@debian.org>
102
4255
Date: Thu Jan 6 21:04:53 2011 +0100
857
5191
scripts/po/de.po | 110 +++++++++++++++++++++++++++---------------------------
858
5192
1 files changed, 55 insertions(+), 55 deletions(-)
5194
commit f0266cd69c61fdab75691818ef40c64e66adbe26
5195
Author: Guillem Jover <guillem@debian.org>
5196
Date: Mon Nov 8 08:02:30 2010 +0100
5198
u-a: Add missing options to --help output
5200
Document --get-selections, --set-selections, --log and --force.
5201
Split the huge string into smaller pieces to ease translators work.
5203
debian/changelog | 1 +
5204
utils/update-alternatives.c | 18 ++++++++++++++----
5205
2 files changed, 15 insertions(+), 4 deletions(-)
5207
commit 1f75b16ea5c48bfb26ead6aa3248b717ab8aa5fc
5208
Author: Guillem Jover <guillem@debian.org>
5209
Date: Mon Nov 8 08:00:16 2010 +0100
5211
u-a: Unify similar strings
5213
utils/update-alternatives.c | 8 ++++----
5214
1 files changed, 4 insertions(+), 4 deletions(-)
5216
commit 438df89ef1888c77d9bfc74720392ed9ef580332
5217
Author: Guillem Jover <guillem@debian.org>
5218
Date: Sun Nov 7 23:20:25 2010 +0100
5220
u-a: Use PROGNAME as format argument instead of concatenated to literals
5222
This reduced the amount of duplicated string literals in the output
5223
object reducing slightly the binary image.
5225
utils/update-alternatives.c | 29 +++++++++++++----------------
5226
1 files changed, 13 insertions(+), 16 deletions(-)
5228
commit 898ad6a9d5900b6a46dc2b7c742edb00fc116c3c
5229
Author: Guillem Jover <guillem@debian.org>
5230
Date: Sun Nov 7 23:11:03 2010 +0100
5232
u-a: Add missing space in --set-selections output
5234
This was lost during the rewrite in C.
5236
debian/changelog | 1 +
5237
utils/update-alternatives.c | 2 +-
5238
2 files changed, 2 insertions(+), 1 deletions(-)
5240
commit f9c5414ea39c07cbd6a1b580a6a5df1381de39b4
5241
Author: Guillem Jover <guillem@debian.org>
5242
Date: Sun Nov 7 23:03:54 2010 +0100
5244
u-a: Reduce scope of current pointer in main()
5246
utils/update-alternatives.c | 3 ++-
5247
1 files changed, 2 insertions(+), 1 deletions(-)
5249
commit 47a45689c3f395b4a1b86067fd795bbbcab29c6f
5250
Author: Guillem Jover <guillem@debian.org>
5251
Date: Sun Nov 7 09:16:44 2010 +0100
5253
u-a: Avoid unneeded string allocations
5255
Instead of using temporaries with xasprintf(), just modify the original
5256
string by merging the needed literal strings and pass the additional
5259
utils/update-alternatives.c | 31 ++++++++++---------------------
5260
1 files changed, 10 insertions(+), 21 deletions(-)
5262
commit befa6d21586273f86e911b97aa1c80bde8380f3c
5263
Author: Guillem Jover <guillem@debian.org>
5264
Date: Sun Nov 7 09:11:52 2010 +0100
5266
u-a: Simplify an unify string in alternative_display_query()
5268
Unify the common string, and always call free() as it handles NULL just
5271
utils/update-alternatives.c | 8 ++------
5272
1 files changed, 2 insertions(+), 6 deletions(-)
5274
commit 97c8020b42b8be6b62e35b785e0411d963eaeae7
5275
Author: Guillem Jover <guillem@debian.org>
5276
Date: Sun Nov 7 09:07:42 2010 +0100
5278
u-a: Refactor duplicate code into new checked_rm_args()
5280
utils/update-alternatives.c | 45 ++++++++++++++++++++++---------------------
5281
1 files changed, 23 insertions(+), 22 deletions(-)
5283
commit abcde2189e74065b2807b3984031ef33fe64742b
5284
Author: Guillem Jover <guillem@debian.org>
5285
Date: Sun Nov 7 09:05:36 2010 +0100
5287
u-a: Create new xvasprintf() and use it instead of ad-hoc code
5289
utils/update-alternatives.c | 20 ++++++++++++++------
5290
1 files changed, 14 insertions(+), 6 deletions(-)
5292
commit f7547316a11da5968a62094f789583428ce78ac3
5293
Author: Guillem Jover <guillem@debian.org>
5294
Date: Sun Nov 7 08:58:11 2010 +0100
5296
u-a: Change alternative_save() to take care of atomic file write
5298
Instead of leaving the job of doing a proper atomic write, move the code
5299
inside alternative_save() so that other possible callers will benefit.
5301
utils/update-alternatives.c | 29 +++++++++++++++--------------
5302
1 files changed, 15 insertions(+), 14 deletions(-)
5304
commit 2819f4cc4639d59f7b6017f118e92dc5d9994299
5305
Author: Guillem Jover <guillem@debian.org>
5306
Date: Fri Nov 5 06:56:06 2010 +0100
5308
u-a: Refactor common code into new alternative_commit_operations_free
5310
utils/update-alternatives.c | 25 ++++++++++++++-----------
5311
1 files changed, 14 insertions(+), 11 deletions(-)
5313
commit 73dab65273c589b7eed823adab30870e77171bb8
5314
Author: Guillem Jover <guillem@debian.org>
5315
Date: Thu Nov 4 20:46:23 2010 +0100
5317
dpkg: Add new --status-logger option
5319
This option works in a similar way to --status-fd, the main difference
5320
is that we invoke the provided command and pass the status information
5321
to its standard input instead.
5323
Suggested-by: Raphaël Hertzog <hertzog@debian.org>
5325
debian/changelog | 3 +++
5326
man/dpkg.1 | 8 +++++++-
5327
src/main.c | 36 +++++++++++++++++++++++++++++++++++-
5328
3 files changed, 45 insertions(+), 2 deletions(-)
5330
commit a7df7bc856fd3add35ba44f7bd23901913a539d4
5331
Author: Guillem Jover <guillem@debian.org>
5332
Date: Thu Nov 4 19:13:59 2010 +0100
5334
dpkg: Use command_shell() instead of ad-hoc code to execute shells
5336
dpkg-deb/extract.c | 5 ++---
5337
src/configure.c | 21 +++------------------
5338
2 files changed, 5 insertions(+), 21 deletions(-)
5340
commit 7f9153a39ef306cb2181cd96c6e7a8f8513414b7
5341
Author: Guillem Jover <guillem@debian.org>
5342
Date: Thu Nov 4 19:10:23 2010 +0100
5344
libdpkg: Add new command_shell() to execute a shell instance
5346
The function can invoke an interactive shell or a command through the
5349
lib/dpkg/command.c | 26 ++++++++++++++++++++++++++
5350
lib/dpkg/command.h | 2 ++
5351
2 files changed, 28 insertions(+), 0 deletions(-)
5353
commit 94e25a0380033654d2140ebf8149268b9bf446f8
5354
Author: Guillem Jover <guillem@debian.org>
5355
Date: Thu Nov 4 06:39:28 2010 +0100
5357
Refactor setpipe() into statusfd_add() to stop exposing status_pipes
5359
lib/dpkg/dpkg.h | 8 +-------
5360
lib/dpkg/libdpkg.Versions | 2 +-
5361
lib/dpkg/log.c | 20 +++++++++++++++++++-
5362
src/main.c | 11 ++---------
5363
4 files changed, 23 insertions(+), 18 deletions(-)
5365
commit 4e6da8c691773fbad5d6df4f0544361ea971dc14
5366
Author: Guillem Jover <guillem@debian.org>
5367
Date: Thu Nov 4 06:25:00 2010 +0100
5369
man: Remove comment about newlines in status-fd error entries
5371
This got fixed in commit db9645cff36a3fff3c597764fb8d49fbc819bad7.
5373
debian/changelog | 2 ++
5374
man/dpkg.1 | 8 +++-----
5375
2 files changed, 5 insertions(+), 5 deletions(-)
5377
commit d2abfdb8bc6137c4a2f87c5c6db22e030d3334c7
5378
Author: Guillem Jover <guillem@debian.org>
5379
Date: Thu Nov 4 03:38:06 2010 +0100
5381
dpkg-deb: Use m_realloc instead of m_malloc when the pointer is NULL
5383
This removes a duplicate case which m_realloc will handle just fine.
5385
dpkg-deb/build.c | 5 +----
5386
1 files changed, 1 insertions(+), 4 deletions(-)
5388
commit 65969bfbccaf387c69df284215b6aefea7496f41
5389
Author: Guillem Jover <guillem@debian.org>
5390
Date: Wed Nov 3 10:46:28 2010 +0100
5392
Use new enum for dependency found status
5394
Instead of cryptic literal integers use named enums.
5396
src/packages.c | 70 ++++++++++++++++++++++++++++++++------------------------
5397
1 files changed, 40 insertions(+), 30 deletions(-)
5399
commit e983b8522fc2be93c3b31e38ddd5ce94448739c1
5400
Author: Guillem Jover <guillem@debian.org>
5401
Date: Wed Nov 3 10:45:08 2010 +0100
5403
Use new enum for dependency check result values
5405
Instead of cryptic literal integers use named enums.
5407
src/main.h | 13 ++++++++++---
5408
src/packages.c | 47 +++++++++++++++++++++++++++--------------------
5409
2 files changed, 37 insertions(+), 23 deletions(-)
5411
commit 0f1668f799780250503fca5df0a12531587c1eb8
5412
Author: Guillem Jover <guillem@debian.org>
5413
Date: Wed Nov 3 10:08:18 2010 +0100
5415
Use new enum for trigdef_update_start() return values
5417
Instead of cryptic literal integers use named enums.
5419
lib/dpkg/trigdeferred.h | 11 ++++++++++-
5420
lib/dpkg/trigdeferred.l | 12 ++++++------
5421
lib/dpkg/triglib.c | 14 +++++++-------
5422
src/trigcmd.c | 10 +++++-----
5423
4 files changed, 28 insertions(+), 19 deletions(-)
5425
commit b070e0ec0d33b585809dd420e0433a4f67ca12c0
5426
Author: Guillem Jover <guillem@debian.org>
5427
Date: Wed Nov 3 09:41:29 2010 +0100
5429
libdpkg: Rewrite get_prefix_name() to be more efficient
5431
Avoid temporary allocations from the heap and use sprintf to write the
5432
string with delimited parts.
5434
lib/dpkg/tarfn.c | 19 +++++--------------
5435
1 files changed, 5 insertions(+), 14 deletions(-)
5437
commit 04eaf265a0b219ed8689607196405fdff9a4a432
5438
Author: Guillem Jover <guillem@debian.org>
5439
Date: Wed Nov 3 08:24:54 2010 +0100
5441
libdpkg: Disallow versions starting with non-digits
5443
Fail on strict parsing, and warn otherwise.
5445
debian/changelog | 2 ++
5446
lib/dpkg/parsehelp.c | 5 ++++-
5447
lib/dpkg/test/t-version.c | 4 ++--
5448
scripts/t/100_Dpkg_Version.t | 40 ++++++++++++++++++++--------------------
5449
4 files changed, 28 insertions(+), 23 deletions(-)
5451
commit ac65897081f5f20fda853beed79c28559fe33aea
5452
Author: Guillem Jover <guillem@debian.org>
5453
Date: Wed Nov 3 07:36:16 2010 +0100
5455
libdpkg: Fix version_strict_check() to not allow '-' in revision
5457
The revision cannot possibly have a '-' in it, so do not allow it. This
5458
is innocuous in the current code as the parser makes sure the versions
5459
are split on last '-', which implies the revision will never have one,
5460
but it could happen that a manually constructed versionrevision could
5463
lib/dpkg/parsehelp.c | 2 +-
5464
1 files changed, 1 insertions(+), 1 deletions(-)
5466
commit be7a2c7829014eaec48185add2e445f2d8570055
5467
Author: Guillem Jover <guillem@debian.org>
5468
Date: Wed Nov 3 07:33:08 2010 +0100
5470
libdpkg: Improve version strict check unit test
5472
The current test was using a single version with lots of invalid
5473
characters, but only the first invalid character would get checked
5474
against. Create a version per each invalid character to be tested
5477
lib/dpkg/test/t-version.c | 22 +++++++++++++++++++---
5478
1 files changed, 19 insertions(+), 3 deletions(-)
5480
commit d3de9d66d6c4e735e7f9d2821549b9fc8e235d7d
5481
Author: Guillem Jover <guillem@debian.org>
5482
Date: Tue Nov 2 08:06:52 2010 +0100
5484
libdpkg: Slightly optimize order() checks
5486
Reorganize code to first do checks on most commonly expected character.
5487
First digits, then alphabetical, then the tilde, followed by any non NUL
5488
character and finally the NUL character.
5490
lib/dpkg/vercmp.c | 12 ++++++------
5491
1 files changed, 6 insertions(+), 6 deletions(-)
5493
commit 60c89bac73d5a9aea0da4c38cc5e963b0d760000
5494
Author: Guillem Jover <guillem@debian.org>
5495
Date: Tue Nov 2 08:02:05 2010 +0100
5497
libdpkg: Switch order macro into a function
5499
lib/dpkg/vercmp.c | 25 ++++++++++++++++++-------
5500
1 files changed, 18 insertions(+), 7 deletions(-)
5502
commit 326d7b43ffd8b6c8e1bf4dcd5c5495ee5129631f
5503
Author: Guillem Jover <guillem@debian.org>
5504
Date: Mon Nov 1 21:41:46 2010 +0100
5506
libdpkg: Refactor tar_gnu_long() out from tar_extractor()
5508
lib/dpkg/tarfn.c | 102 +++++++++++++++++++++++++++---------------------------
5509
1 files changed, 51 insertions(+), 51 deletions(-)
5511
commit ebe392c61526b520bb7033fa49af8bd2faa39001
5512
Author: Guillem Jover <guillem@debian.org>
5513
Date: Mon Nov 1 21:01:05 2010 +0100
5515
libdpkg: Switch tar_header_decode() to take a struct tar_header
5517
Instead of passing it a 'char *' argument to be casted later on to a
5518
tar_header, just pass the latter directly.
5520
lib/dpkg/tarfn.c | 5 ++---
5521
1 files changed, 2 insertions(+), 3 deletions(-)
5523
commit 835741f632e884ccd973d87e128c9846dd3e1d4c
5524
Author: Guillem Jover <guillem@debian.org>
5525
Date: Mon Nov 1 20:50:58 2010 +0100
5527
libdpkg: Move checksum_offset into tar_header_checksum()
5529
lib/dpkg/tarfn.c | 3 +--
5530
1 files changed, 1 insertions(+), 2 deletions(-)
5532
commit d30a087c4f7686ad237b15b413848a6a8fe87ed6
5533
Author: Guillem Jover <guillem@debian.org>
5534
Date: Mon Nov 1 20:44:41 2010 +0100
5536
libdpkg: Refactor tar_header_checksum() out from tar_header_decode()
5538
lib/dpkg/tarfn.c | 42 ++++++++++++++++++++++++++----------------
5539
1 files changed, 26 insertions(+), 16 deletions(-)
5541
commit 2d0ebab0474fc83f07ed4f648fdb85443b1bfd2b
5542
Author: Guillem Jover <guillem@debian.org>
5543
Date: Mon Nov 1 20:31:25 2010 +0100
5545
libdpkg: Rename DecodeTarHeader to tar_header_decode
5547
lib/dpkg/tarfn.c | 4 ++--
5548
1 files changed, 2 insertions(+), 2 deletions(-)
5550
commit 58a9ff2596fa722f230eee97bfa65c5d6218f479
5551
Author: Guillem Jover <guillem@debian.org>
5552
Date: Mon Nov 1 20:30:53 2010 +0100
5554
libdpkg: Rename TarChecksumOffset to checksum_offset
5556
lib/dpkg/tarfn.c | 7 +++----
5557
1 files changed, 3 insertions(+), 4 deletions(-)
5559
commit cd9b20b161549ea810750cccc28c92ea655d42fa
5560
Author: Guillem Jover <guillem@debian.org>
5561
Date: Mon Nov 1 20:30:25 2010 +0100
5563
libdpkg: Rename TarInfo to tar_header
5565
lib/dpkg/tarfn.c | 10 +++++-----
5566
1 files changed, 5 insertions(+), 5 deletions(-)
5568
commit 3b717d8231e3251fe7b2ac09db44481a40092c58
5569
Author: Guillem Jover <guillem@debian.org>
5570
Date: Mon Nov 1 20:28:34 2010 +0100
5572
libdpkg: Rename and lower-case TarHeader members
5574
lib/dpkg/tarfn.c | 84 ++++++++++++++++++++++++++---------------------------
5575
1 files changed, 41 insertions(+), 43 deletions(-)
5577
commit a30303a4ea49c548673544d09f667802be7c9b26
5578
Author: Guillem Jover <guillem@debian.org>
5579
Date: Mon Nov 1 20:19:37 2010 +0100
5581
libdpkg: Rename nameLength to name_len in tar_extractor()
5583
lib/dpkg/tarfn.c | 10 +++++-----
5584
1 files changed, 5 insertions(+), 5 deletions(-)
5586
commit 7a0a0619fd3c926aecec59987597a40f7b2dcd3c
5587
Author: Guillem Jover <guillem@debian.org>
5588
Date: Mon Nov 1 08:31:48 2010 +0100
5590
libdpkg: Rename path_rtrim_slash_slashdot to path_trim_slash_slashdot
5592
dpkg-deb/build.c | 2 +-
5593
lib/dpkg/libdpkg.Versions | 2 +-
5594
lib/dpkg/path.c | 2 +-
5595
lib/dpkg/path.h | 2 +-
5596
lib/dpkg/test/t-path.c | 6 +++---
5597
src/querycmd.c | 2 +-
5598
src/statcmd.c | 2 +-
5599
7 files changed, 9 insertions(+), 9 deletions(-)
5601
commit c6ea15b9850f26ea3b5a13667396c89e00aa9890
5602
Author: Guillem Jover <guillem@debian.org>
5603
Date: Mon Nov 1 08:18:28 2010 +0100
5605
Cleanup white spaces
5607
Remove trailing spaces. Remove blank lines not separating different code
5608
blocks. Remove blank lines at the end of the file.
5611
README.translators | 1 -
5613
debian/usertags | 1 -
5614
doc/README.feature-removal-schedule | 1 -
5615
doc/triggers.txt | 2 -
5616
dpkg-deb/Makefile.am | 1 -
5617
dpkg-deb/build.c | 15 +++++------
5618
dpkg-deb/extract.c | 19 +++++--------
5619
dpkg-deb/info.c | 6 ++--
5620
dpkg-split/info.c | 14 +++++-----
5621
dpkg-split/join.c | 9 +++---
5622
dpkg-split/main.c | 2 +-
5623
dpkg-split/queue.c | 2 +-
5624
dselect/basecmds.cc | 14 +++++-----
5625
dselect/baselist.cc | 26 +++++++++---------
5626
dselect/bindings.cc | 8 +++---
5627
dselect/bindings.h | 12 ++++----
5628
dselect/dselect-curses.h | 1 -
5629
dselect/dselect.h | 4 +-
5630
dselect/main.cc | 5 +--
5631
dselect/methkeys.cc | 12 ++++----
5632
dselect/methlist.cc | 10 +++---
5633
dselect/method.cc | 6 ++--
5634
dselect/method.h | 6 ++--
5635
dselect/methods/disk/setup | 2 -
5636
dselect/methods/disk/update | 1 -
5637
dselect/methods/ftp/names | 1 -
5638
dselect/methparse.cc | 12 ++++----
5639
dselect/pkgcmds.cc | 4 +-
5640
dselect/pkgdepcon.cc | 34 ++++++++++++------------
5641
dselect/pkgdisplay.cc | 14 +++++-----
5642
dselect/pkginfo.cc | 4 +-
5643
dselect/pkgkeys.cc | 16 ++++++------
5644
dselect/pkglist.cc | 44 +++++++++++++++----------------
5645
dselect/pkglist.h | 12 ++++----
5646
dselect/pkgsublist.cc | 13 ++++-----
5647
dselect/pkgtop.cc | 22 +++++-----------
5648
dselect/po/ChangeLog.old | 1 -
5649
dselect/po/POTFILES.in | 1 -
5651
lib/compat/Makefile.am | 1 -
5652
lib/compat/alphasort.c | 1 -
5653
lib/compat/compat.h | 1 -
5654
lib/compat/scandir.c | 1 -
5655
lib/compat/snprintf.c | 1 -
5656
lib/compat/strerror.c | 1 -
5657
lib/compat/strsignal.c | 1 -
5658
lib/compat/unsetenv.c | 1 -
5659
lib/compat/vsnprintf.c | 1 -
5660
lib/dpkg/buffer.c | 1 -
5661
lib/dpkg/cleanup.c | 1 -
5662
lib/dpkg/command.c | 1 -
5663
lib/dpkg/command.h | 1 -
5664
lib/dpkg/database.c | 2 +-
5665
lib/dpkg/dbmodify.c | 13 +++------
5666
lib/dpkg/dpkg-db.h | 3 +-
5667
lib/dpkg/dump.c | 10 +++---
5668
lib/dpkg/ehandle.c | 12 +++-----
5669
lib/dpkg/fields.c | 11 +++----
5670
lib/dpkg/file.c | 1 -
5671
lib/dpkg/file.h | 1 -
5672
lib/dpkg/log.c | 1 -
5673
lib/dpkg/macros.h | 1 -
5674
lib/dpkg/mlib.c | 7 ++---
5675
lib/dpkg/nfmalloc.c | 2 +-
5676
lib/dpkg/parse.c | 7 +++-
5677
lib/dpkg/parsehelp.c | 7 ++---
5678
lib/dpkg/path.c | 1 -
5679
lib/dpkg/path.h | 1 -
5680
lib/dpkg/pkg-array.c | 1 -
5681
lib/dpkg/pkg-format.c | 1 -
5682
lib/dpkg/pkg-list.c | 1 -
5683
lib/dpkg/pkg-queue.c | 1 -
5684
lib/dpkg/pkg-show.c | 1 -
5685
lib/dpkg/pkg.c | 1 -
5686
lib/dpkg/progress.c | 1 -
5687
lib/dpkg/progress.h | 1 -
5688
lib/dpkg/string.c | 1 -
5689
lib/dpkg/string.h | 1 -
5690
lib/dpkg/subproc.c | 1 -
5691
lib/dpkg/subproc.h | 1 -
5692
lib/dpkg/tarfn.c | 1 -
5693
lib/dpkg/test.h | 1 -
5694
lib/dpkg/test/Makefile.am | 1 -
5695
lib/dpkg/test/t-buffer.c | 1 -
5696
lib/dpkg/test/t-command.c | 1 -
5697
lib/dpkg/test/t-macros.c | 1 -
5698
lib/dpkg/test/t-path.c | 1 -
5699
lib/dpkg/test/t-pkg-list.c | 1 -
5700
lib/dpkg/test/t-pkg-queue.c | 1 -
5701
lib/dpkg/test/t-pkginfo.c | 1 -
5702
lib/dpkg/test/t-string.c | 1 -
5703
lib/dpkg/test/t-test.c | 1 -
5704
lib/dpkg/test/t-varbuf.c | 1 -
5705
lib/dpkg/test/t-version.c | 1 -
5706
lib/dpkg/trigdeferred.l | 1 -
5707
lib/dpkg/triglib.c | 1 +
5708
lib/dpkg/utils.c | 1 -
5709
m4/dpkg-compiler.m4 | 1 -
5710
m4/dpkg-progs.m4 | 1 -
5711
man/po/ChangeLog.old | 1 -
5712
po/ChangeLog.old | 1 -
5713
scripts/dpkg-distaddfile.pl | 1 -
5714
scripts/dpkg-genchanges.pl | 1 -
5715
scripts/dpkg-gencontrol.pl | 1 -
5716
scripts/dpkg-mergechangelogs.pl | 1 -
5717
scripts/dpkg-name.pl | 1 -
5718
scripts/dpkg-parsechangelog.pl | 1 -
5719
scripts/dpkg-scanpackages.pl | 1 -
5720
scripts/dpkg-shlibdeps.pl | 1 -
5721
scripts/dpkg-source.pl | 1 -
5722
scripts/po/ChangeLog.old | 1 -
5723
scripts/t/400_Dpkg_Deps.t | 1 -
5724
scripts/t/500_Dpkg_Path.t | 1 -
5725
scripts/t/700_Dpkg_Control.t | 1 -
5726
scripts/t/850_Dpkg_Compression.t | 2 -
5727
scripts/t/910_merge_changelogs.t | 1 -
5728
src/archives.c | 42 ++++++++++++++----------------
5729
src/cleanup.c | 8 +++---
5730
src/depcon.c | 35 ++++++++++++-------------
5731
src/divertdb.c | 1 -
5732
src/enquiry.c | 8 +++---
5734
src/filesdb.c | 14 +++++-----
5735
src/filesdb.h | 2 +-
5736
src/help.c | 18 ++++++------
5739
src/packages.c | 10 +++---
5740
src/processarc.c | 48 ++++++++++++++++++----------------
5741
src/querycmd.c | 15 +++-------
5742
src/remove.c | 38 +++++++++++++--------------
5747
src/trigproc.c | 1 -
5749
utils/start-stop-daemon.c | 1 -
5750
utils/t/100_update_alternatives.t | 1 -
5751
141 files changed, 321 insertions(+), 444 deletions(-)
5753
commit 7ee4f4f2ef5ca3d9fa1426ac93f78ead2280bc36
5754
Author: Guillem Jover <guillem@debian.org>
5755
Date: Mon Nov 1 07:02:21 2010 +0100
5757
Add doxygen comments to several functions
5759
lib/dpkg/dir.c | 21 +++++++++++++++++++++
5760
lib/dpkg/file.c | 3 +++
5761
lib/dpkg/parse.c | 3 +++
5762
lib/dpkg/path.c | 16 ++++++++++++++++
5763
lib/dpkg/pkg-list.c | 19 +++++++++++++++++++
5764
lib/dpkg/pkg-queue.c | 37 +++++++++++++++++++++++++++++++++++++
5765
lib/dpkg/pkg-queue.h | 3 +++
5766
lib/dpkg/string.c | 9 +++++++++
5767
8 files changed, 111 insertions(+), 0 deletions(-)
5769
commit ec5d6813398a42b6cf6b3da7604e59bbb3343aa9
5770
Author: Guillem Jover <guillem@debian.org>
5771
Date: Mon Nov 1 06:13:38 2010 +0100
5773
Cleanup and improve source code comments
5775
Global review, which includes the following changes to try to increase
5776
consistency, update and improve the source code comments:
5779
- Use American English forms.
5780
- Uppercase NULL, NUL and ASCII.
5781
- Use “Note: ” instead of the slightly cryptic “NB: ” form.
5782
- Write comments as proper sentences, including capitalizations and
5784
- Move comments before the code, function or variable they refer to.
5785
- Move general function comments outside the body.
5786
- Convert function and variable description comments to doxygen.
5787
- Use one space before dot, exclamation and question marks.
5788
- Use ‘’ or “” instead of `' style quoting.
5789
- Remove author names from comments, already visible from “git blame”.
5790
- Mark strings for translators with “TRANSLATORS: ”.
5791
- Remove useless or outdated comments.
5792
- Fix comment indentation.
5793
- Standardize comment format:
5795
/* Short text comment. */
5804
dpkg-deb/build.c | 74 +++++++--------
5805
dpkg-deb/extract.c | 8 +-
5806
dpkg-split/dpkg-split.h | 11 +-
5807
dpkg-split/info.c | 10 ++-
5808
dpkg-split/queue.c | 27 +++---
5809
dselect/pkgdisplay.cc | 9 +-
5810
lib/dpkg/database.c | 28 +++---
5811
lib/dpkg/dbmodify.c | 20 ++--
5812
lib/dpkg/dpkg-db.h | 56 +++++++----
5813
lib/dpkg/dpkg.h | 3 +-
5814
lib/dpkg/dump.c | 4 +-
5815
lib/dpkg/ehandle.c | 32 ++++---
5816
lib/dpkg/ehandle.h | 3 +-
5817
lib/dpkg/fields.c | 33 +++++--
5818
lib/dpkg/file.c | 17 +++-
5819
lib/dpkg/file.h | 3 -
5820
lib/dpkg/mlib.c | 2 +-
5821
lib/dpkg/myopt.h | 9 ++-
5822
lib/dpkg/nfmalloc.c | 2 +-
5823
lib/dpkg/parse.c | 111 +++++++++++-----------
5824
lib/dpkg/parsedump.h | 3 +-
5825
lib/dpkg/parsehelp.c | 16 ++--
5826
lib/dpkg/path.c | 30 +++----
5827
lib/dpkg/string.c | 8 ++-
5828
lib/dpkg/tarfn.c | 12 ++-
5829
lib/dpkg/trigdeferred.h | 8 --
5830
lib/dpkg/trigdeferred.l | 11 ++
5831
lib/dpkg/triglib.c | 87 ++++++++++-------
5832
lib/dpkg/utils.c | 5 +-
5833
lib/dpkg/varbuf.h | 2 +-
5834
lib/dpkg/vercmp.c | 4 +-
5835
m4/dpkg-compiler.m4 | 12 +-
5836
scripts/Dpkg/Shlibs/Symbol.pm | 2 +-
5837
src/archives.c | 196 +++++++++++++++++++++-----------------
5838
src/cleanup.c | 51 ++++++-----
5839
src/configure.c | 8 +-
5840
src/depcon.c | 129 +++++++++++++-------------
5841
src/enquiry.c | 79 +++++++++-------
5842
src/filesdb.c | 69 +++++++-------
5843
src/filesdb.h | 110 ++++++++++++----------
5844
src/help.c | 33 ++++---
5845
src/main.c | 39 ++++----
5846
src/main.h | 24 ++---
5847
src/packages.c | 52 ++++++-----
5848
src/processarc.c | 206 ++++++++++++++++++++---------------------
5849
src/querycmd.c | 49 +++++++---
5850
src/remove.c | 48 +++++-----
5851
src/trigproc.c | 58 +++++++-----
5853
utils/start-stop-daemon.c | 21 +++--
5854
utils/update-alternatives.c | 6 +-
5855
51 files changed, 1015 insertions(+), 827 deletions(-)
5857
commit 9209010455812b6e51cd907aab3d50779ea8e35b
5858
Author: Guillem Jover <guillem@debian.org>
5859
Date: Sun Oct 31 21:30:49 2010 +0100
5861
s-s-d: Refactor sched_timeout code out into new do_stop_timeout()
5863
utils/start-stop-daemon.c | 132 ++++++++++++++++++++++++---------------------
5864
1 files changed, 71 insertions(+), 61 deletions(-)
5866
commit 141b8a46fae0a80313ca1968f55f45124ce70428
5867
Author: Guillem Jover <guillem@debian.org>
5868
Date: Sun Oct 31 07:55:47 2010 +0100
5870
libdpkg: Make str_escape_fmt buffer overflow safe
5872
Make sure we do not write more to the destination buffer than it can
5875
lib/dpkg/parsehelp.c | 4 ++--
5876
lib/dpkg/string.c | 12 ++++++++++--
5877
lib/dpkg/string.h | 2 +-
5878
lib/dpkg/test/t-string.c | 19 +++++++++++++++----
5879
4 files changed, 28 insertions(+), 9 deletions(-)
5881
commit 295a6102cacb6be15bf2441549d2dcb505990138
5882
Author: Guillem Jover <guillem@debian.org>
5883
Date: Sun Oct 31 06:28:58 2010 +0100
5885
libdpkg: Refactor string termination in path_quote_filename
5887
Move all destination string termination to the end of the function.
5888
Always check the size limit before writting to the desintation and bail
5889
out if there's no enough space.
5891
lib/dpkg/path.c | 47 +++++++++++++++++++++--------------------------
5892
1 files changed, 21 insertions(+), 26 deletions(-)
5894
commit 537a50764317c9a2ed37afe7a4acc3f1114f8c55
5895
Author: Guillem Jover <guillem@debian.org>
5896
Date: Sun Oct 31 06:01:02 2010 +0100
5898
libdpkg: Change switch into if/else in path_quote_filename
5900
This reduces the code depth, and will allow further code simplification.
5902
lib/dpkg/path.c | 34 +++++++++++++++-------------------
5903
1 files changed, 15 insertions(+), 19 deletions(-)
5905
commit 180e2e0e477145df4ccf8a71220773c0b093091e
5906
Author: Guillem Jover <guillem@debian.org>
5907
Date: Sun Oct 31 04:09:59 2010 +0100
5909
libdpkg: Add new warningv() function and make warning() use it
5911
lib/dpkg/ehandle.c | 14 ++++++++++----
5912
lib/dpkg/ehandle.h | 1 +
5913
lib/dpkg/libdpkg.Versions | 1 +
5914
3 files changed, 12 insertions(+), 4 deletions(-)
5916
commit 7d4d1007c4f7ca8d40a5374f1305426b8c1e2e54
5917
Author: Guillem Jover <guillem@debian.org>
5918
Date: Sun Oct 31 04:05:19 2010 +0100
5920
libdpkg: Add PURE, MALLOC, NONNULL and REQRET compiler attributes
5922
lib/dpkg/macros.h | 13 +++++++++++++
5923
1 files changed, 13 insertions(+), 0 deletions(-)
5925
commit 631338a5e54d5ecd861f26440deef37a891d1f30
5926
Author: Guillem Jover <guillem@debian.org>
5927
Date: Sun Oct 31 03:40:04 2010 +0100
5929
dselect: Remove shadowing variable definitions from pkgtop
5931
The variables i and p are always initialized before each different loop
5932
use, and they are actually used for the same purpose, just in different
5935
dselect/pkgtop.cc | 2 --
5936
1 files changed, 0 insertions(+), 2 deletions(-)
5938
commit 2d8721c8417aaa8dd8fe1f393eee69e92e5b2294
5939
Author: Guillem Jover <guillem@debian.org>
5940
Date: Wed Nov 3 01:57:42 2010 +0100
5942
build: Use AC_REQUIRE for AC_CANONICAL_HOST in DPKG_FUNC_ASYNC_SYNC
5944
m4/dpkg-funcs.m4 | 2 +-
5945
1 files changed, 1 insertions(+), 1 deletions(-)
5947
commit 79b0a98dff5e8aaf3ee94d301613278cf1bd5593
5948
Author: Guillem Jover <guillem@debian.org>
5949
Date: Tue Nov 2 05:55:51 2010 +0100
5951
build: Change the strictness from gnu to foreign
5953
This is not a GNU project and thus we don't abide by the GNU
5957
1 files changed, 1 insertions(+), 1 deletions(-)
5959
commit bbf1c10064958da1ebb5a8d2da0bc170dd1c994a
5960
Author: Guillem Jover <guillem@debian.org>
5961
Date: Tue Nov 2 05:53:30 2010 +0100
5963
build: Refactor --with/out options into DPKG_WITH_PROG and DPKG_WITH_DIR
5965
configure.ac | 74 ++++++++----------------------------------------------
5966
m4/dpkg-build.m4 | 33 ++++++++++++++++++++++++
5967
2 files changed, 44 insertions(+), 63 deletions(-)
5969
commit fcd428d0b05f84ee1dbc4910a011d75bf6d02171
5970
Author: Guillem Jover <guillem@debian.org>
5971
Date: Sun Oct 31 03:27:29 2010 +0100
5973
build: Unify and fix AC_ARG_ENABLE usage
5975
The current code was executing code in the action arguments, instead
5976
of just setting boolean flags and processing them afterwards. This
5977
poses several problems, it implies jugling code around in case the the
5978
default changes, it might also duplicate code, and it might leave the
5979
ACTION-IF-NOT-GIVEN argument empty which could turn into an empty
5980
“then fi” shell block which is a syntax error on POSIX shell. Leaving
5981
the ACTION-IF-GIVEN argument empty is fine as it's always used by
5982
autoconf to set $enableval to the specific enable variable, and setting
5983
that variable from $enableval is redundant and might be wrong depending
5984
on the order they are set, which could empty it.
5986
Reported-by: Michael Schmidt <michael.schmidt.dangel@gmail.com>
5988
m4/dpkg-compiler.m4 | 11 +++++++----
5989
m4/dpkg-funcs.m4 | 13 +++++++------
5990
m4/dpkg-linker.m4 | 13 ++++++++-----
5991
3 files changed, 22 insertions(+), 15 deletions(-)
5993
commit d20d82f99479fd50eda013bcb790ca06acb9a25b
5994
Author: Guillem Jover <guillem@debian.org>
5995
Date: Sun Oct 31 03:24:03 2010 +0100
5997
build: Add missing m4 quotes around AM_CONDITIONAL argument
5999
m4/dpkg-coverage.m4 | 2 +-
6000
1 files changed, 1 insertions(+), 1 deletions(-)
6002
commit 495dfd0389fc48fe8723d424952340530577b8f3
6003
Author: Guillem Jover <guillem@debian.org>
6004
Date: Sat Oct 30 09:00:24 2010 +0200
6006
build: Add missing m4 quotes to sed regex
6008
This was making the regex non-functional, as the square brackets
6009
were being removed when generating the output file, thus making the
6010
--disable-compiler-optimisations and --disable-linker-optimisations
6013
m4/dpkg-compiler.m4 | 2 +-
6014
m4/dpkg-linker.m4 | 2 +-
6015
2 files changed, 2 insertions(+), 2 deletions(-)
6017
commit e338748e9ff28ab7921a110fd71ec71882bbc3dd
6018
Author: Cyril Brulebois <kibi@debian.org>
6019
Date: Sat Oct 23 10:00:46 2010 +0200
6021
build: Break if ncurses is requested but unavailable
6023
If building dselect is requested (the default), ncurses is requested
6024
through DPKG_LIB_CURSES, but if it isn't found, only AC_MSG_WARN is
6025
used, leading to a successful configure and a failure to build
6026
dselect/*. Use AC_MSG_ERROR instead to make configure bail out.
6028
Reported-by: Michael Schmidt <michael.schmidt.dangel@gmail.com>
6029
Signed-off-by: Guillem Jover <guillem@debian.org>
6031
m4/dpkg-libs.m4 | 2 +-
6032
1 files changed, 1 insertions(+), 1 deletions(-)
6034
commit 4f81ba2457638473b2fcabaa5b314ba077df195a
6035
Author: Guillem Jover <guillem@debian.org>
6036
Date: Tue Oct 26 19:05:49 2010 +0200
6038
man: Use FHS mount point for /media/cdrom
6041
1 files changed, 2 insertions(+), 2 deletions(-)
6043
commit ba908783e306ba38457a84fd6d975ca69e351e56
6044
Author: Guillem Jover <guillem@debian.org>
6045
Date: Sun Oct 24 04:35:07 2010 +0200
6047
libdpkg: Always print parse warnings on stderr
6049
Remove now unused warnto from parsedb_stat struct.
6051
dpkg-deb/build.c | 2 +-
6052
dpkg-deb/info.c | 2 +-
6053
lib/dpkg/dbmodify.c | 7 +++----
6054
lib/dpkg/dpkg-db.h | 2 +-
6055
lib/dpkg/parse.c | 9 +++------
6056
lib/dpkg/parsedump.h | 1 -
6057
lib/dpkg/parsehelp.c | 8 +++-----
6058
src/processarc.c | 2 +-
6059
src/update.c | 4 ++--
6060
9 files changed, 15 insertions(+), 22 deletions(-)
6062
commit 4afc4d0239d7f4e60bc68a79a07aef576c8a3ebe
6063
Author: Guillem Jover <guillem@debian.org>
6064
Date: Sun Oct 24 03:55:58 2010 +0200
6066
libdpkg: Reorded convert_string arguments
6068
lib/dpkg/fields.c | 30 ++++++++++++++++--------------
6069
1 files changed, 16 insertions(+), 14 deletions(-)
6071
commit 28007d02c3f60d762cdb943e8886267333f1c2a1
6072
Author: Guillem Jover <guillem@debian.org>
6073
Date: Sun Oct 24 03:49:47 2010 +0200
6075
Use new namevalue_find_by_name function instead of ad-hoc code
6077
lib/dpkg/fields.c | 12 ++++--------
6078
src/select.c | 6 ++++--
6079
2 files changed, 8 insertions(+), 10 deletions(-)
6081
commit e66836854ef51b5b5ce0b95a61adbf13f8dcd660
6082
Author: Guillem Jover <guillem@debian.org>
6083
Date: Sun Oct 24 03:49:22 2010 +0200
6085
libdpkg: Add new namevalue_find_by_name function
6087
lib/dpkg/Makefile.am | 1 +
6088
lib/dpkg/libdpkg.Versions | 3 +++
6089
lib/dpkg/{namevalue.h => namevalue.c} | 32 +++++++++++++++-----------------
6090
lib/dpkg/namevalue.h | 5 ++++-
6091
4 files changed, 23 insertions(+), 18 deletions(-)
6093
commit 8c234c5698645a759f6153fd1be4d7b90059bb88
6094
Author: Guillem Jover <guillem@debian.org>
6095
Date: Sun Oct 24 03:28:55 2010 +0200
6097
libdpkg: Move namevalue declarations to its own header file
6099
lib/dpkg/Makefile.am | 1 +
6100
lib/dpkg/dpkg-db.h | 5 +----
6101
lib/dpkg/namevalue.h | 40 ++++++++++++++++++++++++++++++++++++++++
6102
lib/dpkg/parsehelp.c | 3 ---
6103
4 files changed, 42 insertions(+), 7 deletions(-)
6105
commit b89373e169cf0d90c3143eeac0bded1a5d9e9c5c
6106
Author: Guillem Jover <guillem@debian.org>
6107
Date: Sun Oct 24 03:17:38 2010 +0200
6109
libdpkg: Rename package blank functions to pkg_blank and pkg_perfile_blank
6111
lib/dpkg/database.c | 14 +++++++++-----
6112
lib/dpkg/dpkg-db.h | 4 ++--
6113
lib/dpkg/libdpkg.Versions | 4 ++--
6114
lib/dpkg/parse.c | 2 +-
6115
lib/dpkg/test/t-pkg-queue.c | 2 +-
6116
lib/dpkg/test/t-pkginfo.c | 4 ++--
6117
src/cleanup.c | 2 +-
6118
src/processarc.c | 2 +-
6120
9 files changed, 20 insertions(+), 16 deletions(-)
6122
commit a3dd7c610183c6f5515d69178b8a848ea1d82b87
6123
Author: Guillem Jover <guillem@debian.org>
6124
Date: Sun Oct 24 03:16:00 2010 +0200
6126
libdpkg: Rename informative to pkg_is_informative
6128
dselect/pkgdepcon.cc | 12 +++++++-----
6129
lib/dpkg/database.c | 2 +-
6130
lib/dpkg/dpkg-db.h | 2 +-
6131
lib/dpkg/dump.c | 3 ++-
6132
lib/dpkg/libdpkg.Versions | 2 +-
6133
lib/dpkg/test/t-pkginfo.c | 6 +++---
6134
src/querycmd.c | 4 ++--
6135
7 files changed, 17 insertions(+), 14 deletions(-)
6137
commit f74dfc666ea193a85de5e5f26b079506b289843f
6138
Author: Guillem Jover <guillem@debian.org>
6139
Date: Sun Oct 24 03:13:58 2010 +0200
6141
libdpkg: Rename illegal_packagename to pkg_name_is_illegal
6143
lib/dpkg/dpkg-db.h | 2 +-
6144
lib/dpkg/fields.c | 8 +++++---
6145
lib/dpkg/libdpkg.Versions | 2 +-
6146
lib/dpkg/parsehelp.c | 4 +++-
6147
lib/dpkg/triglib.c | 9 ++++++---
6150
src/trigcmd.c | 2 +-
6151
8 files changed, 19 insertions(+), 12 deletions(-)
6153
commit a6066a13aa23b28036b692b570f280a70efcf971
6154
Author: Guillem Jover <guillem@debian.org>
6155
Date: Sun Oct 24 02:55:55 2010 +0200
6157
libdpkg: Rename illegal_triggername to trig_name_is_illegal
6159
lib/dpkg/fields.c | 2 +-
6160
lib/dpkg/libdpkg.Versions | 2 +-
6161
lib/dpkg/triglib.c | 4 ++--
6162
lib/dpkg/triglib.h | 2 +-
6163
src/trigcmd.c | 3 ++-
6164
5 files changed, 7 insertions(+), 6 deletions(-)
6166
commit cc49169cdc596e33f036e9d9300e915a74e8baf0
6167
Author: Guillem Jover <guillem@debian.org>
6168
Date: Sun Oct 24 02:53:27 2010 +0200
6170
dpkg-trigger: Remove duplicate command name from error messages
6172
src/trigcmd.c | 6 +++---
6173
1 files changed, 3 insertions(+), 3 deletions(-)
6175
commit 9db4a822bb62b739e71c0a59c5ba46a27d121e32
6176
Author: Guillem Jover <guillem@debian.org>
6177
Date: Sat Oct 23 05:37:33 2010 +0200
6179
libdpkg: Namespace package database functions with pkg_db_ prefix
6182
dselect/main.cc | 2 +-
6183
dselect/pkglist.cc | 9 +++++----
6184
lib/dpkg/database.c | 24 ++++++++++++++++++------
6185
lib/dpkg/dpkg-db.h | 13 +++++++------
6186
lib/dpkg/dump.c | 6 +++---
6187
lib/dpkg/fields.c | 10 ++++------
6188
lib/dpkg/libdpkg.Versions | 12 ++++++------
6189
lib/dpkg/parse.c | 4 ++--
6190
lib/dpkg/pkg-array.c | 8 ++++----
6191
lib/dpkg/triglib.c | 8 ++++----
6192
src/depcon.c | 6 +++---
6193
src/divertcmd.c | 4 ++--
6194
src/divertdb.c | 2 +-
6195
src/enquiry.c | 32 ++++++++++++++++----------------
6196
src/filesdb.c | 2 +-
6197
src/help.c | 6 +++---
6199
src/packages.c | 8 ++++----
6200
src/processarc.c | 6 +++---
6201
src/querycmd.c | 4 ++--
6202
src/select.c | 8 ++++----
6203
src/trigproc.c | 14 +++++++-------
6204
23 files changed, 101 insertions(+), 90 deletions(-)
6206
commit 6ad315a1eeb8f3a597dee9a5d602013dd2d2b9d2
6207
Author: Guillem Jover <guillem@debian.org>
6208
Date: Sat Oct 23 05:19:43 2010 +0200
6210
libdpkg: Use push_error_context_jump() instead of push_error_handler()
6212
Remove obsolete and now unused push_error_handler compatibility macro.
6214
lib/dpkg/ehandle.h | 2 --
6215
src/archives.c | 3 ++-
6216
src/packages.c | 3 ++-
6217
src/trigproc.c | 3 ++-
6218
4 files changed, 6 insertions(+), 5 deletions(-)
6220
commit 2a92bb81186b6098ec2a6b77242690d11402faad
6221
Author: Guillem Jover <guillem@debian.org>
6222
Date: Sat Oct 23 05:16:46 2010 +0200
6224
libdpkg: Rename error_unwind() to pop_error_context()
6226
lib/dpkg/dpkg.h | 2 +-
6227
lib/dpkg/ehandle.c | 13 +++++++++----
6228
lib/dpkg/ehandle.h | 2 +-
6229
lib/dpkg/libdpkg.Versions | 2 +-
6230
lib/dpkg/test.h | 3 +--
6231
src/archives.c | 4 ++--
6233
src/packages.c | 5 +++--
6234
src/trigproc.c | 4 ++--
6235
9 files changed, 21 insertions(+), 16 deletions(-)
6237
commit 051423d23c9d5580aaecf0a7c41c854566d40d76
6238
Author: Guillem Jover <guillem@debian.org>
6239
Date: Sun Oct 17 05:57:45 2010 +0200
6241
dselect: Use a function instead of a jump error handler
6243
dselect/main.cc | 17 ++++++++++-------
6244
1 files changed, 10 insertions(+), 7 deletions(-)
6246
commit b94d25d09f8bf55a68e17379581fb2ba71ae26aa
6247
Author: Guillem Jover <guillem@debian.org>
6248
Date: Sun Oct 17 05:50:02 2010 +0200
6250
Use push_error_context() instead of ad-hoc code
6253
dpkg-deb/main.c | 3 +--
6254
dpkg-split/main.c | 3 +--
6255
lib/dpkg/dpkg.h | 7 ++-----
6256
lib/dpkg/test.h | 8 +-------
6257
src/divertcmd.c | 3 +--
6258
src/main.c | 11 +++--------
6259
src/querycmd.c | 3 +--
6260
src/statcmd.c | 3 +--
6261
src/trigcmd.c | 3 +--
6262
10 files changed, 12 insertions(+), 33 deletions(-)
6264
commit 841f42173e5d0a97bbc9f184d781d2b2e6f9f974
6265
Author: Guillem Jover <guillem@debian.org>
6266
Date: Sun Oct 17 05:47:34 2010 +0200
6268
libdpkg: Add new push_error_context() function
6270
This new function pushes a default error context.
6272
lib/dpkg/ehandle.c | 6 ++++++
6273
lib/dpkg/ehandle.h | 1 +
6274
lib/dpkg/libdpkg.Versions | 1 +
6275
3 files changed, 8 insertions(+), 0 deletions(-)
6277
commit de42418d9c0a255cec4440b5f99e764654440159
6278
Author: Guillem Jover <guillem@debian.org>
6279
Date: Sat Oct 16 20:59:07 2010 +0200
6281
libdpkg: Remove set_error_display()
6283
If the code needs to set a different error printer then it should push
6284
a new error context instead.
6286
lib/dpkg/ehandle.c | 10 ----------
6287
lib/dpkg/ehandle.h | 1 -
6288
lib/dpkg/libdpkg.Versions | 1 -
6289
3 files changed, 0 insertions(+), 12 deletions(-)
6291
commit 29f4ab41c95abf9639b81918d9b7aa1ca8edbe81
6292
Author: Guillem Jover <guillem@debian.org>
6293
Date: Sat Oct 16 19:16:50 2010 +0200
6295
libdpkg: Create a new error context in subproc_fork
6297
Instead of changing the current error display handler and pushing a
6298
cleanup handler that exits immediately to avoid calling previously
6299
set cleanup handlers, just push a new error context which will work
6300
as a cleanup barrier. This also is a more natural way of using the
6303
lib/dpkg/subproc.c | 13 +++----------
6304
1 files changed, 3 insertions(+), 10 deletions(-)
6306
commit 2272d4116924caad96816871040a8c1ae16f87e9
6307
Author: Guillem Jover <guillem@debian.org>
6308
Date: Sat Oct 16 19:10:42 2010 +0200
6310
Move error context display handler reset to error_unwind()
6312
Never print an error message when doing normal cleanup, as this is
6313
something we always want to do.
6315
lib/dpkg/dpkg.h | 1 -
6316
lib/dpkg/ehandle.c | 4 ++++
6317
lib/dpkg/test.h | 1 -
6318
src/archives.c | 2 +-
6320
src/packages.c | 2 +-
6321
src/trigproc.c | 1 -
6322
7 files changed, 7 insertions(+), 6 deletions(-)
6324
commit bf1455085899a5203373eff34741cd7ea3d64774
6325
Author: Guillem Jover <guillem@debian.org>
6326
Date: Sat Oct 16 19:04:13 2010 +0200
6328
libdpkg: Add error context function handler support
6330
This allows the code to use a function instead of a jump buffer to
6331
handle the errors, which happen to be possible for the general case,
6332
when it does not need to continue processing in an upper stack frame.
6333
Thus reducing the preceived complexity of simple code, and avoids
6334
exposing setjmp machinery to the casual user.
6336
lib/dpkg/ehandle.c | 53 +++++++++++++++++++++++++++++++++++++++-----
6337
lib/dpkg/ehandle.h | 9 ++++++-
6338
lib/dpkg/libdpkg.Versions | 3 +-
6339
3 files changed, 56 insertions(+), 9 deletions(-)
6341
commit e07774f1b528754ec5161af245d801158f0d4dd2
6342
Author: Guillem Jover <guillem@debian.org>
6343
Date: Tue Nov 16 22:14:18 2010 +0100
6345
dpkg-query: Fix --search not found string to be more meaningful
6347
src/querycmd.c | 3 ++-
6348
1 files changed, 2 insertions(+), 1 deletions(-)
6350
commit fd84ba8969bf305d97c225b44858965e53a0cb66
6351
Author: Guillem Jover <guillem@debian.org>
6352
Date: Sat Oct 16 07:35:27 2010 +0200
6354
Use thisname variable instead of hard-coded 'dpkg' string
6356
This corrects the current program name printed by other tools.
6358
lib/dpkg/ehandle.c | 3 ++-
6359
src/errors.c | 8 +++++---
6360
src/querycmd.c | 2 +-
6361
src/trigproc.c | 2 +-
6362
4 files changed, 9 insertions(+), 6 deletions(-)
6364
commit dc98261980767f258046f8a4c2e020fcdc92c8b6
6365
Author: Guillem Jover <guillem@debian.org>
6366
Date: Tue Oct 12 21:16:33 2010 +0200
6368
dpkg-divert: Use DPKG_MAINTSCRIPT_PACKAGE environment variable
6370
Use it as package name on when no --package or --local options have
6373
debian/changelog | 2 ++
6374
man/dpkg-divert.8 | 8 +++++++-
6375
src/divertcmd.c | 5 +++++
6376
3 files changed, 14 insertions(+), 1 deletions(-)
6378
commit efefc09d914ecedfdad02fd07d4eb5f1c2268542
6379
Author: Guillem Jover <guillem@debian.org>
6380
Date: Mon Oct 11 20:32:50 2010 +0200
6382
Use setaction() instead of directly assigning to cipaction
6384
src/divertcmd.c | 2 +-
6386
2 files changed, 2 insertions(+), 2 deletions(-)
6388
commit 521f32450d91fabaa81725b1ad89f9fafb8c82e3
6389
Author: Guillem Jover <guillem@debian.org>
6390
Date: Sat Oct 16 06:03:12 2010 +0200
6392
libdpkg: Use ohshite in error_context_new instead of ad-hoc code
6394
lib/dpkg/ehandle.c | 11 ++---------
6395
1 files changed, 2 insertions(+), 9 deletions(-)
6397
commit 43789e59f08dae79b07feb004c0fa1b5d357b47d
6398
Author: Guillem Jover <guillem@debian.org>
6399
Date: Sat Oct 16 05:55:33 2010 +0200
6401
libdpkg: Make run_error_handler cope with NULL econtext gracefully
6403
This could happen if the context has not been initialized, or if it has
6404
been unwinded more than necessary.
6406
lib/dpkg/ehandle.c | 6 ++++++
6407
1 files changed, 6 insertions(+), 0 deletions(-)
6409
commit b571373cd2e62782c3bb2b8e0bef585c4215b967
6410
Author: Guillem Jover <guillem@debian.org>
6411
Date: Sat Oct 16 20:47:20 2010 +0200
6413
libdpkg: Refactor error display setter into a static function
6415
Create a new function that takes an error context argument and sets
6416
the error printer function. This allows using the new setter for
6417
other error_context than econtext.
6419
lib/dpkg/ehandle.c | 21 +++++++++++++++------
6420
1 files changed, 15 insertions(+), 6 deletions(-)
6422
commit 5dd05803b51dc2a0aae9b8ad52cd58fff5e52c88
6423
Author: Guillem Jover <guillem@debian.org>
6424
Date: Mon Oct 11 20:27:53 2010 +0200
6426
libdpkg: Refactor error_context creation into a new function
6428
lib/dpkg/ehandle.c | 24 +++++++++++++++++-------
6429
1 files changed, 17 insertions(+), 7 deletions(-)
6431
commit adf5d4a1a23fc631525c7a31bec11773d57c95ef
6432
Author: Guillem Jover <guillem@debian.org>
6433
Date: Sat Oct 16 06:54:52 2010 +0200
6435
libdpkg: Rename struct errorcontext to error_context
6437
lib/dpkg/ehandle.c | 19 +++++++++++--------
6438
1 files changed, 11 insertions(+), 8 deletions(-)
6440
commit 160be818013039931cc06443c523fc57a7779937
6441
Author: Guillem Jover <guillem@debian.org>
6442
Date: Sat Oct 16 06:52:02 2010 +0200
6444
libdpkg: Rename struct cleanupentry to cleanup_entry
6446
lib/dpkg/ehandle.c | 25 ++++++++++++++-----------
6447
1 files changed, 14 insertions(+), 11 deletions(-)
6449
commit 7ae5af538e0d7b72f1b181922a1401bc16dc44be
6450
Author: Guillem Jover <guillem@debian.org>
6451
Date: Mon Oct 11 19:28:34 2010 +0200
6453
libdpkg: Rename jmp_buf variables to jump
6455
lib/dpkg/ehandle.c | 19 ++++++++++---------
6456
1 files changed, 10 insertions(+), 9 deletions(-)
6458
commit 8164af77ee71e29fdd5d90157e2d0c3e52841595
6459
Author: Guillem Jover <guillem@debian.org>
6460
Date: Tue Nov 2 21:12:08 2010 +0100
6462
libdpkg: Rename print_error_forked() to print_subproc_error()
6464
lib/dpkg/subproc.c | 4 ++--
6465
1 files changed, 2 insertions(+), 2 deletions(-)
6467
commit e1b2a73e7723126e0cf2109c9e44a793e39ac243
6468
Author: Guillem Jover <guillem@debian.org>
6469
Date: Tue Nov 2 20:40:13 2010 +0100
6471
libdpkg: Rename print_error_cleanup() to print_cleanup_error()
6473
lib/dpkg/ehandle.c | 6 ++++--
6474
1 files changed, 4 insertions(+), 2 deletions(-)
6476
commit ec53fd98f3d10274e2da5722c63fd7f6588b3eaf
6477
Author: Guillem Jover <guillem@debian.org>
6478
Date: Tue Nov 2 20:39:08 2010 +0100
6480
libdpkg: Rename print_error_fatal() to print_fatal_error()
6482
dselect/main.cc | 2 +-
6483
lib/dpkg/dpkg.h | 2 +-
6484
lib/dpkg/ehandle.c | 4 +++-
6485
lib/dpkg/ehandle.h | 2 +-
6486
lib/dpkg/libdpkg.Versions | 2 +-
6487
lib/dpkg/test.h | 2 +-
6489
7 files changed, 9 insertions(+), 7 deletions(-)
6491
commit c1f899c832f5c676a8f3b36366605da1599760f6
6492
Author: Guillem Jover <guillem@debian.org>
6493
Date: Sun Oct 10 12:04:20 2010 +0200
6495
libdpkg: Refactor default error handler into new catch_fatal_error()
6497
dselect/main.cc | 2 +-
6498
lib/dpkg/dpkg.h | 2 +-
6499
lib/dpkg/ehandle.c | 13 +++++++++++++
6500
lib/dpkg/ehandle.h | 1 +
6501
lib/dpkg/libdpkg.Versions | 1 +
6502
lib/dpkg/test.h | 3 +--
6504
7 files changed, 19 insertions(+), 5 deletions(-)
6506
commit 90ef059f7155bfc7fb45505c21030e2cc9791ce3
6507
Author: Guillem Jover <guillem@debian.org>
6508
Date: Fri Oct 8 11:48:36 2010 +0200
6510
Add a comment for translators to 'dpkg-query -l' header string
6512
Reported-by: Ask Hjorth Larsen <asklarsen@gmail.com>
6514
src/querycmd.c | 6 ++++++
6515
1 files changed, 6 insertions(+), 0 deletions(-)
6517
commit 9d6a9e43756d2256473935429d9c2f00ad20fb0e
6518
Author: Guillem Jover <guillem@debian.org>
6519
Date: Thu Oct 7 10:16:16 2010 +0200
6521
Do not make function typedefs pointers
6523
lib/dpkg/myopt.h | 6 +++---
6524
lib/dpkg/tarfn.h | 16 ++++++++--------
6526
3 files changed, 12 insertions(+), 12 deletions(-)
6528
commit 7129d9473993da5e27a6d4eb73a6e900960d337f
6529
Author: Guillem Jover <guillem@debian.org>
6530
Date: Thu Oct 7 10:13:13 2010 +0200
6532
libdpkg: Rename voidfnp to void_func
6534
lib/dpkg/myopt.h | 6 +++---
6536
2 files changed, 4 insertions(+), 4 deletions(-)
6538
commit ca92c5d2bf45984c11cf2b5f355b5cad48bf7259
6539
Author: Guillem Jover <guillem@debian.org>
6540
Date: Thu Oct 7 09:58:18 2010 +0200
6542
libdpkg: Rename function argument to func in ACTION macro
6544
lib/dpkg/myopt.h | 4 ++--
6545
1 files changed, 2 insertions(+), 2 deletions(-)
6547
commit c9b7af92e5de0cc9ea40fad53c0e5aa5c93690cd
6548
Author: Guillem Jover <guillem@debian.org>
6549
Date: Thu Oct 7 09:49:26 2010 +0200
6551
Move action and obsolete related functionality to the myopt module
6553
Reduce repeated code, and localize it where it belongs.
6556
dpkg-deb/dpkg-deb.h | 1 -
6557
dpkg-deb/main.c | 12 ------------
6558
dpkg-split/dpkg-split.h | 1 -
6559
dpkg-split/main.c | 13 -------------
6560
lib/dpkg/libdpkg.Versions | 3 +++
6561
lib/dpkg/myopt.c | 25 +++++++++++++++++++++++++
6562
lib/dpkg/myopt.h | 13 +++++++++++++
6563
src/divertcmd.c | 20 --------------------
6564
src/main.c | 16 ----------------
6566
src/querycmd.c | 14 --------------
6567
src/statcmd.c | 14 --------------
6568
13 files changed, 41 insertions(+), 93 deletions(-)
6570
commit a67107c05153db3fde51301450439761e1916a80
6571
Author: Guillem Jover <guillem@debian.org>
6572
Date: Wed Oct 6 20:10:47 2010 +0200
6574
Use ACTION macros instead of ad-hoc action function handling
6576
This makes the code uniform with the rest of the code base, removes
6577
the possibility of mismatched entries from cmdinfos and dofunctions
6578
arrays, and reduces the scope of the action pointer to main().
6580
dpkg-deb/dpkg-deb.h | 1 -
6581
dpkg-deb/main.c | 40 ++++++++++++++--------------------------
6582
dpkg-split/dpkg-split.h | 1 -
6583
dpkg-split/main.c | 31 +++++++++++--------------------
6584
4 files changed, 25 insertions(+), 48 deletions(-)
6586
commit e8079c0ee34d4b3309ffbbd500b16525e9ec1b22
6587
Author: Guillem Jover <guillem@debian.org>
6588
Date: Tue Nov 2 08:16:56 2010 +0100
6590
libdpkg: Switch test.h from including dpkg/dpkg.h to dpkg/ehandle.h
6592
This reduces the exposed declarations for each test program.
6594
lib/dpkg/test.h | 2 +-
6595
1 files changed, 1 insertions(+), 1 deletions(-)
6597
commit 6e5d5c1f05edbe0ce2213a6658b438668fe48cba
6598
Author: Guillem Jover <guillem@debian.org>
6599
Date: Wed Oct 6 11:53:36 2010 +0200
6601
libdpkg: Move ehandle declarations to its own header file
6603
lib/dpkg/dpkg.h | 33 +----------------------
6604
lib/dpkg/ehandle.c | 2 +-
6605
lib/dpkg/ehandle.h | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++
6606
3 files changed, 75 insertions(+), 33 deletions(-)
6608
commit 7c03c1012aaf9cce798b650ac01ac1e561c0c2f9
6609
Author: Guillem Jover <guillem@debian.org>
6610
Date: Tue Nov 2 08:15:00 2010 +0100
6612
libdpkg: Include dpkg/dpkg.h in t-buffer for MD5HASHLEN
6614
lib/dpkg/test/t-buffer.c | 3 ++-
6615
1 files changed, 2 insertions(+), 1 deletions(-)
6617
commit 4afef203d5ae2eb54d6c8f4bd5ff016a98bf7ffc
6618
Author: Guillem Jover <guillem@debian.org>
6619
Date: Wed Oct 6 11:36:04 2010 +0200
6621
libdpkg: Do not use m_malloc in push_checkpoint
6623
This avoids a cyclic dependency between ehandle.c and m_lib.c.
6625
lib/dpkg/ehandle.c | 7 ++++++-
6626
1 files changed, 6 insertions(+), 1 deletions(-)
6628
commit 3ce8687ba6a738ac9b7195060948512fa7560ada
6629
Author: Guillem Jover <guillem@debian.org>
6630
Date: Wed Oct 6 11:30:14 2010 +0200
6632
libdpkg: Properly restore errno in push_cleanup
6634
The code was saving errno for latter use, but stomping on the saved
6635
value by assigning again errno to it. Invert the assignment so that
6636
we restore errno instead of losing it.
6638
lib/dpkg/ehandle.c | 7 +++++--
6639
1 files changed, 5 insertions(+), 2 deletions(-)
6641
commit 4546c3b92d4d7d57ee9f7580d87270b791441f97
6642
Author: Guillem Jover <guillem@debian.org>
6643
Date: Thu Nov 4 00:53:35 2010 +0100
6645
libdpkg: Remove stream I/O support from the buffer API
6647
lib/dpkg/buffer.c | 15 ---------------
6648
lib/dpkg/buffer.h | 13 -------------
6649
2 files changed, 0 insertions(+), 28 deletions(-)
6651
commit 2a71e444e863a4bf28b7dd39e621c44ab771db99
6652
Author: Guillem Jover <guillem@debian.org>
6653
Date: Sat Sep 11 06:21:36 2010 +0200
6655
dpkg-deb: Remove unused safe_fflush function
6657
This function was used to fix a problem with undefined behaviour on
6658
input streams, which does not apply anymore as it's not used.
6660
dpkg-deb/extract.c | 18 ------------------
6661
1 files changed, 0 insertions(+), 18 deletions(-)
6663
commit 2d420ee1d05033d237462a0075facfe406b08043
6664
Author: Guillem Jover <guillem@debian.org>
6665
Date: Thu Nov 4 00:51:13 2010 +0100
6667
dpkg-deb: Use fd instead of stream based buffered I/O
6669
Behaviour of fflush() on input streams is undefined per POSIX, avoid
6670
mixing stream and file descriptor based I/O, and only use the latter
6673
dpkg-deb/extract.c | 87 +++++++++++++++++++++++++++++++++++++---------------
6674
1 files changed, 62 insertions(+), 25 deletions(-)
6676
commit ceb07b08dad4d5eead630064f45c7e7ded00a341
6677
Author: Guillem Jover <guillem@debian.org>
6678
Date: Thu Sep 16 19:52:41 2010 +0200
6680
Refactor file_stat code
6682
Create a new file_stat struct, and use it instead of the
6683
filestatoverride one.
6685
lib/dpkg/file.h | 11 ++++++++-
6686
lib/dpkg/tarfn.c | 14 ++++++------
6687
lib/dpkg/tarfn.h | 9 ++++---
6688
src/archives.c | 63 ++++++++++++++++++++++++-----------------------------
6689
src/filesdb.h | 24 +++++++++-----------
6690
src/statcmd.c | 14 ++++++------
6691
src/statdb.c | 5 ++-
6692
7 files changed, 72 insertions(+), 68 deletions(-)
6694
commit 0cb6f131d85f48f0dc8a90ca1329af84c6f6ebc1
6695
Author: Guillem Jover <guillem@debian.org>
6696
Date: Sun Sep 12 07:22:21 2010 +0200
6698
libdpkg: Refactor file locking error message handling
6700
Pass only the description of the resource being locked, and move generic
6701
error strings inside the file lock funtions. Instead of changing locking
6702
behaviour depending on the error strings passed, pass an explicit enum to
6705
lib/dpkg/dbmodify.c | 4 +---
6706
lib/dpkg/file.c | 24 ++++++++++++++++--------
6707
lib/dpkg/file.h | 9 +++++++--
6708
lib/dpkg/trigdeferred.l | 3 +--
6709
4 files changed, 25 insertions(+), 15 deletions(-)
6711
commit 4ff39dabad2cd8e384f26f3212a55b5adbeb71d9
6712
Author: Guillem Jover <guillem@debian.org>
6713
Date: Sat Sep 11 06:20:37 2010 +0200
6717
TODO | 25 +++++++++++++++++++++----
6718
1 files changed, 21 insertions(+), 4 deletions(-)
860
6720
commit 9d834b3f654f771ab5ae8790cfc83086288fca07
861
6721
Author: Christian PERRIER <bubulle@debian.org>
862
6722
Date: Tue Nov 9 19:59:35 2010 +0100