diff options
| author | Julian Andres Klode <jak@debian.org> | 2026-04-08 10:26:06 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-04-08 10:26:06 +0000 |
| commit | a6873075dcac5115706e001bc9640c8da0805e35 (patch) | |
| tree | e5d3d569e51d24207eb0228615f5eedd37e08296 /apt-pkg/indexcopy.cc | |
| parent | 04dcfd52355ca06143a8aaca4afd718a22fb0ded (diff) | |
| parent | af5b9453a1908021cf75c348522c1a12eeb0dee4 (diff) | |
Merge branch 'str-to-chars' into 'main'
apt: funcs called with a string literal consisting of a single character
See merge request apt-team/apt!563
Diffstat (limited to 'apt-pkg/indexcopy.cc')
| -rw-r--r-- | apt-pkg/indexcopy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index 139b10316..089bfd2ce 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -161,7 +161,7 @@ bool IndexCopy::CopyPackages(string CDROM,string Name,vector<string> &List, // Attempt to fix busted symlink support for one instance string OrigFile = File; string::size_type Start = File.find("binary-"); - string::size_type End = File.find("/",Start+3); + string::size_type End = File.find('/',Start+3); if (Start != string::npos && End != string::npos) { File.replace(Start,End-Start,"binary-all"); |
