Projeto-Pindorama / heirloom-ng

A collection of standard Unix utilities that is intended to provide maximum compatibility with traditional Unix while incorporating additional features necessary today.
http://heirloom-ng.pindorama.net.br
Other
28 stars 7 forks source link

Fix getdirentries on OpenBSD >5.4 #21

Closed mamccollum closed 1 year ago

mamccollum commented 1 year ago

getdirentries was broken after OpenBSD 5.4; this PR fixes issue #16 and compiles and works on programs like du. Note that other changes are required outside of the scope of this pull request to ensure the entire project builds under OpenBSD.

New issues were discovered after fixing this one; T\this includes libcrypt not being found on OpenBSD for the su program, whodo not compiling, and pgrep and ps not compiling due to KVM function errors (kernel virtual memory? looks to be something to do with libkvm).

Please let me know if any other changes are required on this request, this should not break or modify the build process on any other systems.

mamccollum commented 1 year ago

Just an include

Yeah, it was a far easier solution than I originally thought. just an include & a return.

takusuman commented 1 year ago

Ok, ready to merge.

arthurbacci commented 1 year ago

Just an include

Yeah, it was a far easier solution than I originally thought. just an include & a return.

i said it to mean it's unlikely to have any errors, not exactly that it was easy to find out.

arthurbacci commented 1 year ago

Ok, ready to merge.

merge into master :yum: