fix(hci): set code property to string errno in errors#11
fix(hci): set code property to string errno in errors#11tommie wants to merge 1 commit intostoprocent:mainfrom
Conversation
Fixes stoprocent/noble#46 by adding back the property that was dropped in 59744ec.
|
Sorry but build is failing |
|
it seems that "strerrorname_np" was introdiced in glibc 3.32, but we run a lower version here? Alternative is (according to CLaude code I asked for advice) something like |
|
Oh, sorry, missed the progress here. From Linux man, it seems Doesn't seem to be exposed except through the We could use errno -l | awk 'BEGIN { print "const char *errno_string(void) {"; print " switch (err) {" } { print " case " $1 ": return \"" $1 "\";" } END { print " default: return \"ERROR\";"; print " }"; print "}" }' |
Fixes stoprocent/noble#46 by adding back the property that was dropped in 59744ec.