Mercurial > hg > octave-lojdl > gnulib-hg
diff lib/rename.c @ 12102:3ba227551e1d
maint: cleanup whitespace in recent commits
* lib/rename.c (rpl_rename): Remove tabs.
* tests/test-link.h (test_link): Likewise.
Reported by Jim Meyering.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Fri, 02 Oct 2009 11:34:53 -0600 |
parents | 3d66373d8171 |
children | 832357ca223a |
line wrap: on
line diff
--- a/lib/rename.c +++ b/lib/rename.c @@ -100,10 +100,10 @@ else { if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) - { - errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; - return -1; - } + { + errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; + return -1; + } dst_exists = true; } @@ -342,13 +342,13 @@ else { if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) - { - errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; - return -1; - } + { + errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; + return -1; + } # if RENAME_HARD_LINK_BUG if (SAME_INODE (src_st, dst_st)) - return 0; + return 0; # endif /* RENAME_HARD_LINK_BUG */ dst_exists = true; }