mirror of
https://github.com/NixOS/nix
synced 2025-07-01 12:37:59 +02:00
Get rid of unicode quotes (#1140)
This commit is contained in:
parent
7ee43df862
commit
f78126bfd6
96 changed files with 670 additions and 670 deletions
|
@ -37,7 +37,7 @@ static void search(const unsigned char * s, unsigned int len,
|
|||
if (!match) continue;
|
||||
string ref((const char *) s + i, refLength);
|
||||
if (hashes.find(ref) != hashes.end()) {
|
||||
debug(format("found reference to ‘%1%’ at offset ‘%2%’")
|
||||
debug(format("found reference to '%1%' at offset '%2%'")
|
||||
% ref % i);
|
||||
seen.insert(ref);
|
||||
hashes.erase(ref);
|
||||
|
@ -93,7 +93,7 @@ PathSet scanForReferences(const string & path,
|
|||
string baseName = baseNameOf(i);
|
||||
string::size_type pos = baseName.find('-');
|
||||
if (pos == string::npos)
|
||||
throw Error(format("bad reference ‘%1%’") % i);
|
||||
throw Error(format("bad reference '%1%'") % i);
|
||||
string s = string(baseName, 0, pos);
|
||||
assert(s.size() == refLength);
|
||||
assert(backMap.find(s) == backMap.end());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue