[Top][All Lists]

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

`cp' don't preserve timestamps by default on windows-xp

From: Zhang Wei
Subject: `cp' don't preserve timestamps by default on windows-xp
Date: Wed, 11 Jul 2007 12:06:40 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50

The `cp' command of my installation don't preserve timestamps by
default, that command comes from the GNU coreutils 5.3.0 package:

--8<---------------cut here---------------start------------->8---
D:\download\emacs-gbk\nt>cp --version
cp (GNU coreutils) 5.3.0
Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
--8<---------------cut here---------------end--------------->8---

that makes the .elc files and the .el files have same timestamps as they
are installed, and causes a lot of "source is newer" messages.

I suggest the following patch:

--8<---------------cut here---------------start------------->8---
--- gmake.defs.~1.29.~  Mon Mar  5 11:47:14 2007
+++ gmake.defs  Wed Jul 11 11:48:06 2007
@@ -206,8 +206,8 @@


-CP             = cp -f
-CP_DIR         = cp -rf
+CP             = cp -fp
+CP_DIR         = cp -rfp
 DEL            = rm
 DEL_TREE       = rm -r
--8<---------------cut here---------------end--------------->8---

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Emacs/etc/DEBUG for instructions.

In GNU Emacs (i386-mingw-nt5.1.2600)
 of 2007-07-11 on BREP
modified by Zhangwei <address@hidden>.
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.2)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: zh_CN
  locale-coding-system: cp936
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  auto-image-file-mode: t
  display-time-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y <return> <return> M-x r e p o r t - e m <tab> 

Recent messages:
Loading edmacro...done
Loading server...done
Loading regexp-opt...done
Loading cl-macs...done
Loading d:/emacs-download/color-theme-6.6.0/themes/color-theme-example.el 
Loading d:/emacs-download/color-theme-6.6.0/themes/color-theme-library.el 
Loading image-file...done
For information about the GNU Project and its goals, type C-h C-p.
Mark set
Loading emacsbug...done

reply via email to

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