tweaks: use mallocstrcpy() instead of strdup(), for a graceful death

To make nano save its modified buffers when it runs out of memory.
2 files changed