diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /tools/fix_elf/patch.cpp | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'tools/fix_elf/patch.cpp')
-rw-r--r-- | tools/fix_elf/patch.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/fix_elf/patch.cpp b/tools/fix_elf/patch.cpp index d49ebab307d..42df174ed8f 100644 --- a/tools/fix_elf/patch.cpp +++ b/tools/fix_elf/patch.cpp @@ -10,8 +10,8 @@ namespace NElf { -bool IsElf(const TString& path) { - TUnbufferedFileInput in(path); +bool IsElf(const TString& path) { + TUnbufferedFileInput in(path); char buffer[EI_NIDENT]; size_t nread = in.Load(buffer, sizeof(buffer)); @@ -82,8 +82,8 @@ int NumericStrCmp(TStringBuf s1, TStringBuf s2) { } } - s1.Skip(1); - s2.Skip(1); + s1.Skip(1); + s2.Skip(1); } return 0; @@ -121,7 +121,7 @@ void Patch(const TString& path, const TString& library, IOutputStream& verboseOu TStringBuf skipFrom("GLIBC_2.14"); TStringBuf patchFrom("GLIBC_2.2.5"); - TVector<Elf64_Vernaux*> patchAux; + TVector<Elf64_Vernaux*> patchAux; Elf64_Vernaux* patchFromAux = nullptr; @@ -235,7 +235,7 @@ int main(int argc, char* argv[]) { opts.SetFreeArgTitle(0, "<file>", "File"); TOptsParseResult res(&opts, argc, argv); - TVector<TString> files = res.GetFreeArgs(); + TVector<TString> files = res.GetFreeArgs(); IOutputStream& verboseOut = verbose ? Cout : Cnull; |