Message from @why am I 𝓐𝓛𝓘𝓥𝓔
Discord ID: 473827486757552130
if you set it to 0 then it would indeed write fuck all
oh cool
setting it to 2 gives the output, but loads of nulls
this is great news
because now you've told fwrite that each of your items to write is 2 bytes long
when it is infact 1 byte long
indeed
and you're reading outside the bounds of your mmapped array
output is now 2x larger
which happens to be 0x0
changing your reverse array function should work
almost got it
bizzare
last tizen phonmem was last year
just an extra null at the beginning
yes
get rid of the null byte and it'll work probably
how would I do that whilst writing?
dont do it while writing
do it before that
or i guess you could increment your mmap array pointer by one
and decrease length by one
I think that did it
let me check
google did some Embrace, Extend, and Extinguish on firefox
and rip fox
woohoo
it's perfect now
I think the reason why it looks like that is because of a hidden line break
but if you were to reverse it again, it'd be like it was never there
now test with large gutenburg file
oh you fucking champ @Goz3rr
thank you ever so much
np
tfw went back to work for a sec and success happens
Always when I'm not there
@spaqin maybe you could get employed doing that