Commit add9fba5e1e248ac77e6abe31749a10cd2672d77

Eric Blake 2009-09-30T16:19:00

rename: fix Solaris 9 bug rename("file/","oops") mistakenly succeeded. * lib/rename.c (rpl_rename): Rewrite to recognize trailing slash on non-directory. Avoid calling exit. * modules/rename (Depends-on): Drop xalloc; add lstat, stdbool, strdup. * modules/rename-tests (Depends-on): Drop lstat. * m4/rename.m4 (gl_FUNC_RENAME): Detect Solaris bug. (gl_PREREQ_RENAME): Delete unused macro. Signed-off-by: Eric Blake <ebb9@byu.net>