[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-commits
Subject: [haiku-commits] BRANCH weinhold-github.pm-flat - src/bin/package_repo
From: weinhold-github.pm-flat <community () haiku-os ! org>
Date: 2013-03-29 18:45:38
Message-ID: 20130329184539.0A3015C07B6 () vmrepo ! haiku-os ! org
[Download RAW message or body]
added 1 changeset to branch 'refs/remotes/weinhold-github/pm-flat'
old head: 3f986502fd1231831200038bbf5f75f1ef1c82ea
new head: 999234242738bc3a6cb67500736da110ba87f6d8
overview: https://github.com/weinhold/Haiku/compare/3f98650...9992342
----------------------------------------------------------------------------
9992342: package_repo: command_create(): Fix argument count check
[ Ingo Weinhold <ingo_weinhold@gmx.de> ]
----------------------------------------------------------------------------
Commit: 999234242738bc3a6cb67500736da110ba87f6d8
Author: Ingo Weinhold <ingo_weinhold@gmx.de>
Date: Fri Mar 29 19:44:12 2013 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/bin/package_repo/command_create.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/bin/package_repo/command_create.cpp b/src/bin/package_repo/command_create.cpp
index f999171..ab245c7 100644
--- a/src/bin/package_repo/command_create.cpp
+++ b/src/bin/package_repo/command_create.cpp
@@ -155,7 +155,7 @@ command_create(int argc, const char* const* argv)
// The remaining arguments are the repository info file plus one or more
// package files, i.e. at least two more arguments.
- if (optind + 2 >= argc)
+ if (optind + 2 > argc)
print_usage_and_exit(true);
const char* repositoryInfoFileName = argv[optind++];
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic