emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c,v


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c,v
Date: Thu, 26 Jun 2008 04:25:07 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Dan Nicolaescu <dann>   08/06/26 04:24:54

Index: src/fileio.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/fileio.c,v
retrieving revision 1.622
retrieving revision 1.623
diff -u -b -r1.622 -r1.623
--- src/fileio.c        28 May 2008 12:36:15 -0000      1.622
+++ src/fileio.c        26 Jun 2008 04:24:36 -0000      1.623
@@ -122,11 +122,6 @@
 
 #ifdef HPUX
 #include <netio.h>
-#ifndef HPUX8
-#ifndef HPUX9
-#include <errnet.h>
-#endif
-#endif
 #endif
 
 #include "commands.h"
@@ -2792,12 +2787,7 @@
       || INTEGERP (ok_if_already_exists))
     barf_or_query_if_file_exists (newname, "rename to it",
                                  INTEGERP (ok_if_already_exists), 0, 0);
-#ifndef BSD4_1
   if (0 > rename (SDATA (encoded_file), SDATA (encoded_newname)))
-#else
-  if (0 > link (SDATA (encoded_file), SDATA (encoded_newname))
-      || 0 > unlink (SDATA (encoded_file)))
-#endif
     {
       if (errno == EXDEV)
        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]