diff options
author | Vlad Yaroslavlev <[email protected]> | 2022-02-10 16:46:25 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:25 +0300 |
commit | 344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /tools/fix_elf/patch.cpp | |
parent | 706b83ed7de5a473436620367af31fc0ceecde07 (diff) |
Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. Commit 2 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 42df174ed8f..d49ebab307d 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; |