]> git.saurik.com Git - apple/file_cmds.git/blobdiff - mv/mv.c
file_cmds-251.tar.gz
[apple/file_cmds.git] / mv / mv.c
diff --git a/mv/mv.c b/mv/mv.c
index 98c09749fc714dbcb7741b5bef049f542b8bff99..c1116d442955ee39cee9eb08d3abccfdb71bc84f 100644 (file)
--- a/mv/mv.c
+++ b/mv/mv.c
@@ -34,8 +34,9 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/cdefs.h>
 #ifndef lint
-static char const copyright[] =
+__used static char const copyright[] =
 "@(#) Copyright (c) 1989, 1993, 1994\n\
        The Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */
@@ -441,6 +442,8 @@ int
 copy(char *from, char *to)
 {
        int pid, status;
+       
+       /* posix_spawn mv from to && rm from */
 
        if ((pid = fork()) == 0) {
                execl(_PATH_CP, "mv", vflg ? "-PRpv" : "-PRp", "--", from, to,