diff options
author | Jim Meyering <jim@meyering.net> | 2004-07-04 17:47:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-07-04 17:47:29 +0000 |
commit | cc4105f09590f3619a2190a7ce6ccfde5734e681 (patch) | |
tree | d215476cb3f05cce4479fd4e6c6d71f588ed562d /src | |
parent | ae206c4b1c6ca22345e20da3aa52b1aefec988bc (diff) | |
download | coreutils-cc4105f09590f3619a2190a7ce6ccfde5734e681.tar.xz |
(movefile): Assume path_concat returns non-NULL.
Diffstat (limited to 'src')
-rw-r--r-- | src/mv.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -277,8 +277,6 @@ movefile (char *source, char *dest, bool dest_is_dir, /* Treat DEST as a directory; build the full filename. */ char const *src_basename = base_name (source); char *new_dest = path_concat (dest, src_basename, NULL); - if (new_dest == NULL) - xalloc_die (); strip_trailing_slashes (new_dest); fail = do_move (source, new_dest, x); free (new_dest); |