We can merge this (and the above in io.c), but whenever we copy a new version of sndlib into this directory the changes will be lost. I usually try not to change 3rd Party code. It would be better to submit your changes to the sndlib developers: https://ccrma.stanford.edu/software/snd/snd/sndlib.html