einfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 4 days agoultimate storage hacksh.itjust.worksimagemessage-square87linkfedilinkarrow-up1887arrow-down123
arrow-up1864arrow-down1imageultimate storage hacksh.itjust.workseinfach_orangensaft@sh.itjust.works to Programmer Humor@programming.dev · 4 days agomessage-square87linkfedilink
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up2·2 days 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·13 hours 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.