projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't change owner/perms/times through file:// symlinks
[apt.git]
/
ftparchive
/
override.cc
diff --git
a/ftparchive/override.cc
b/ftparchive/override.cc
index 38d76a6a350f03185618ad72188f5f656abc3510..8a0c5bab1d887bbd193b21e6d04dd2ea5e14a9f7 100644
(file)
--- a/
ftparchive/override.cc
+++ b/
ftparchive/override.cc
@@
-16,6
+16,9
@@
#include <apt-pkg/error.h>
#include <stdio.h>
#include <apt-pkg/error.h>
#include <stdio.h>
+#include <ctype.h>
+#include <string.h>
+#include <utility>
#include "override.h"
#include "override.h"
@@
-34,7
+37,7
@@
bool Override::ReadOverride(string const &File,bool const &Source)
if (F == 0)
return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
if (F == 0)
return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
- char Line[
5
00];
+ char Line[
10
00];
unsigned long long Counter = 0;
while (fgets(Line,sizeof(Line),F) != 0)
{
unsigned long long Counter = 0;
while (fgets(Line,sizeof(Line),F) != 0)
{
@@
-138,7
+141,7
@@
bool Override::ReadExtraOverride(string const &File,bool const &/*Source*/)
if (F == 0)
return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
if (F == 0)
return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
- char Line[
5
00];
+ char Line[
10
00];
unsigned long long Counter = 0;
while (fgets(Line,sizeof(Line),F) != 0)
{
unsigned long long Counter = 0;
while (fgets(Line,sizeof(Line),F) != 0)
{