[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
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--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 @@
COMPILER_TEMP_FILES =
-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 22.1.50.1 (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>
<return>
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
(source)...done
Loading d:/emacs-download/color-theme-6.6.0/themes/color-theme-library.el
(source)...done
Loading image-file...done
For information about the GNU Project and its goals, type C-h C-p.
Mark set
Loading emacsbug...done
- `cp' don't preserve timestamps by default on windows-xp,
Zhang Wei <=
- Re: `cp' don't preserve timestamps by default on windows-xp, Eli Zaretskii, 2007/07/11
- Re: `cp' don't preserve timestamps by default on windows-xp, Zhang Wei, 2007/07/11
- Re: `cp' don't preserve timestamps by default on windows-xp, Eli Zaretskii, 2007/07/11
- Re: `cp' don't preserve timestamps by default on windows-xp, Zhang Wei, 2007/07/11
- Re: `cp' don't preserve timestamps by default on windows-xp, Eli Zaretskii, 2007/07/11
- Re: `cp' don't preserve timestamps by default on windows-xp, Eli Zaretskii, 2007/07/13
- Re: `cp' don't preserve timestamps by default on windows-xp, Zhang Wei, 2007/07/14
- Re: `cp' don't preserve timestamps by default on windows-xp, Eli Zaretskii, 2007/07/14
Portability of `cp -p' (was: `cp' don't preserve timestamps by default on windows-xp), Reiner Steib, 2007/07/13