mirror of
https://github.com/NixOS/nix
synced 2025-07-01 08:28:00 +02:00
Revert "Get rid of unicode quotes (#1140)"
This reverts commit f78126bfd6
. There
really is no need for such a massive change...
This commit is contained in:
parent
f78126bfd6
commit
215b70f51e
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