fixes: handle error when strdup() fails, and return an appropriate value in case of error
fixes: handle error when strdup() fails, and return an appropriate value
in case of error

1. If strdup() returns NULL, the code crashes.  This is not what we want
in a library.  Gracefully handle this case by...

2. not crashing, and returning a negative value (-1)

jwerle/strsplit.c