+Fri Mar 9 19:30:22 CET 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * scripts/controllib.pl: change outputclose to deal with comma-related
+ syntax errors after processing substvars
+
Mon Mar 5 16:34:55 CET 2001 Wichert Akkerman <wakkerma@debian.org>
* doc/fr/Makefile.in: add more files
dpkg (1.9.0) unstable; urgency=low
- * The Copenhagen release
* Things should mostly work OpenBSD 2.8 as well now
* Removed all --smallmem code, as smallmem and largemem now actually
use about the same amount of memory, and largemem is faster. Both
* Mark last argument in dpkg-scanpackages usage info as optional.
Closes: Bug#86658
* Fix formatting error in dpkg-source.1. Closes: Bug#82723
+ * Change dpkg-gencontrol to fix comma-related syntax errors after
+ processing substvars
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
$v =~ m/\n\S/ && &internerr("field $f has newline then non whitespace >$v<");
$v =~ m/\n[ \t]*\n/ && &internerr("field $f has blank lines >$v<");
$v =~ m/\n$/ && &internerr("field $f has trailing newline >$v<");
+ if ($dosubstvars) {
+ $v =~ s/,[\s,]*,/,/g;
+ $v =~ s/^\s*,\s*//;
+ $v =~ s/\s*,\s*$//;
+ }
$v =~ s/\$\{\}/\$/g;
print("$f: $v\n") || &syserr("write error on control data");
}