[med-svn] [bwa] 01/02: Check exact number of arguments of bwtupdate
Andreas Tille
tille at debian.org
Sun Jul 12 13:10:49 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository bwa.
commit 6e2a863e7594c422dd367455c11a3be02d22e9cd
Author: Andreas Tille <tille at debian.org>
Date: Sun Jul 12 15:04:39 2015 +0200
Check exact number of arguments of bwtupdate
---
debian/changelog | 7 +++++++
debian/patches/check_number_of_arguments.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1a5e051..3b97018 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+bwa (0.7.12-4) UNRELEASED; urgency=medium
+
+ * Check exact number of arguments of bwtupdate
+ Closes: #715703
+
+ -- Andreas Tille <tille at debian.org> Sun, 12 Jul 2015 14:59:23 +0200
+
bwa (0.7.12-3) unstable; urgency=medium
* Enable building on freebsd
diff --git a/debian/patches/check_number_of_arguments.patch b/debian/patches/check_number_of_arguments.patch
new file mode 100644
index 0000000..46a8c8f
--- /dev/null
+++ b/debian/patches/check_number_of_arguments.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 12 Jul 2015 14:59:23 +0200
+Bug-Debian: http://bugs.debian.org/715703
+Description: Check exact number of arguments of bwtupdate
+
+--- a/bwtindex.c
++++ b/bwtindex.c
+@@ -152,7 +152,7 @@ void bwt_bwtupdate_core(bwt_t *bwt)
+ int bwa_bwtupdate(int argc, char *argv[]) // the "bwtupdate" command
+ {
+ bwt_t *bwt;
+- if (argc < 2) {
++ if (argc != 2) {
+ fprintf(stderr, "Usage: bwa bwtupdate <the.bwt>\n");
+ return 1;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index b2460fc..f51a3dd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_build_on_freebsd.patch
+check_number_of_arguments.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bwa.git
More information about the debian-med-commit
mailing list