-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quality of life readability improvements #360
Conversation
Added a header file to make things easier to navigate. Renamed findSection3 -> getSectionIndex since thats more sensible to read. Renamed findSection -> findSectionHeader to better distinguish sections from headers.
42989a0
to
4466648
Compare
Hmm.
You can see |
@Mic92 i started alpine directly and entered the nix-shell and it builds.
Not sure the pull-request action to download the distribution. Could it be not including patchelf.h somehow ? |
4466648
to
4604393
Compare
@@ -19,4 +19,4 @@ endif | |||
|
|||
bin_PROGRAMS = patchelf | |||
|
|||
patchelf_SOURCES = patchelf.cc elf.h | |||
patchelf_SOURCES = patchelf.cc elf.h patchelf.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mic92 found the reason!
I am not very familiar with autotools, so this is all new to me :)
Thanks! |
commit c172ce6 Merge: b73dbc1 4604393 Author: Jörg Thalheim <Mic92@users.noreply.github.com> Date: Tue Dec 21 19:47:20 2021 +0000 Merge pull request NixOS#360 from fzakaria/faridzakaria/fix-add-replace Quality of life readability improvements commit 4604393 Author: Farid Zakaria <farid.m.zakaria@gmail.com> Date: Mon Dec 20 15:04:57 2021 -0800 Renamed findSection2 to tryFindSectionHeader commit 1071237 Author: Farid Zakaria <farid.m.zakaria@gmail.com> Date: Mon Dec 20 14:59:15 2021 -0800 Renamed findSection3 to getSectionIndex commit 05e8f67 Author: Farid Zakaria <farid.m.zakaria@gmail.com> Date: Mon Dec 20 14:54:37 2021 -0800 Added patchelf.h Added a header file to make things easier to navigate. Renamed findSection3 -> getSectionIndex since thats more sensible to read. Renamed findSection -> findSectionHeader to better distinguish sections from headers.
Series of changes that merely change some function names and introduce a header file to help make the code more legible.