summaryrefslogtreecommitdiff
path: root/sort-dctrl
diff options
context:
space:
mode:
authorAntti-Juhani Kaijanaho <ajk@debian.org>2010-09-11 22:43:49 +0300
committerAntti-Juhani Kaijanaho <ajk@debian.org>2010-09-11 22:43:49 +0300
commita83883f738f737a931bfe0b710896aef59437790 (patch)
tree2a31b129f3f71a4d4607581054cecebebc93aecb /sort-dctrl
parente5a19977f4ec1187b5c358dbd5dfb6869a00f106 (diff)
downloaddctrl-tools-a83883f738f737a931bfe0b710896aef59437790.tar.gz
tbl-dctrl: Figure out the fields from the input if no '-c' is given.
Closes: #596424 reported by myself Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
Diffstat (limited to 'sort-dctrl')
-rw-r--r--sort-dctrl/sort-dctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sort-dctrl/sort-dctrl.c b/sort-dctrl/sort-dctrl.c
index 852b89b..5e20cc8 100644
--- a/sort-dctrl/sort-dctrl.c
+++ b/sort-dctrl/sort-dctrl.c
@@ -1,5 +1,5 @@
/* dctrl-tools - Debian control file inspection tools
- Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Antti-Juhani Kaijanaho
+ Copyright © 2004, 2005, 2006, 2007, 2008, 2009, 2010 Antti-Juhani Kaijanaho
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -174,7 +174,7 @@ int main(int argc, char * argv[])
bundle_init(&pb);
for (size_t i = 0; i < args.num_fnames; i++) {
- bundle_slurp(&pb, args.fname[i]);
+ bundle_slurp(&pb, args.fname[i], false);
}
sort_bundle(&args.keys, &pb);