-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Labels
Milestone
Description
For some reason Solaris 10 does not accept NULL as a parameter. I remembered that this was an issue while ago with GNU screen also
ERRORS
The realpath() function will fail if:
EINVAL Either the file_name or resolved_name argument is a null pointer.
src/lib-config/write.c
/* expand all symlinks; else we may replace a symlink with a regular file */
dest_name = realpath(base_name, NULL);
It was fixed with this
char realbuf[PATH_MAX];
dest_name = realpath(base_name, realbuf);
After this I'm able to use /SAVE command again