Apply apt-0.5.15cnc6-alt-dash-cmd.patch
Added in commit 62c21c2
:
0.5.15cnc6-alt14
- apt-shell: #5401 fixed (rider@)
- apt-pipe: race during shutting down fixed
This commit is contained in:
parent
1d9742a687
commit
6ad87320c1
@ -1,11 +0,0 @@
|
||||
diff -urN apt-0.5.15cnc6.orig/apt-pkg/contrib/cmndline.cc apt-0.5.15cnc6/apt-pkg/contrib/cmndline.cc
|
||||
--- apt-0.5.15cnc6.orig/apt-pkg/contrib/cmndline.cc 2003-03-06 22:39:48 +0300
|
||||
+++ apt-0.5.15cnc6/apt-pkg/contrib/cmndline.cc 2005-06-22 18:25:34 +0400
|
||||
@@ -333,6 +333,7 @@
|
||||
bool CommandLine::DispatchArg(Dispatch *Map,bool NoMatch)
|
||||
{
|
||||
int I;
|
||||
+ if (FileSize() == 0) return false;
|
||||
for (I = 0; Map[I].Match != 0; I++)
|
||||
{
|
||||
if (strcmp(FileList[0],Map[I].Match) == 0)
|
@ -333,6 +333,7 @@ unsigned int CommandLine::FileSize() const
|
||||
bool CommandLine::DispatchArg(Dispatch *Map,bool NoMatch)
|
||||
{
|
||||
int I;
|
||||
if (FileSize() == 0) return false;
|
||||
for (I = 0; Map[I].Match != 0; I++)
|
||||
{
|
||||
if (strcmp(FileList[0],Map[I].Match) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user