Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 1995 03:42:52 -0700
From:      Bruce Evans <bde>
To:        cvs-bin, CVS-commiters
Subject:   cvs commit: src/bin/mv mv.c
Message-ID:  <199510071042.DAA24755@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         95/10/07 03:42:51

  Modified:    bin/mv    mv.c
  Log:
  Handle trailing slashes in source filenames correctly.  E.g., rewrite
  `mv foo/ ../..' to `mv foo/ ../../foo/', not to `mv foo/ ../../'.  The
  latter caused a panic.  Before the trailing slash changes in the kernel,
  the trailing slashes caused the rename() for this mv to fail earlier, so
  there was no panic in 2.0.
  
  Fixes part of PR 760.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510071042.DAA24755>