einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 2 months agoultimate storage hacksh.itjust.worksexternal-linkmessage-square90fedilinkarrow-up1905arrow-down125
arrow-up1880arrow-down1external-linkultimate storage hacksh.itjust.workseinfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 2 months agomessage-square90fedilink
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up2·2 months agoBecause PATH_MAX is? Also because it’s a 4k page. FILENAME_MAX is not safe to use for buffer allocations btw it could be INT_MAX.
minus-squareBrahvim Bhaktvatsal@lemmy.kde.sociallinkfedilinkisiZuluarrow-up1·2 months agoThanks! Got an answer and not 200 downvotes. This is why I love Lemm-Lemm.
Because PATH_MAX is? Also because it’s a 4k page.
FILENAME_MAX is not safe to use for buffer allocations btw it could be INT_MAX.
Thanks! Got an answer and not 200 downvotes. This is why I love Lemm-Lemm.