unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Problem in fileio.c on Windows NT
@ 2002-10-16  1:12 William Sobel
  2002-10-16 18:56 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: William Sobel @ 2002-10-16  1:12 UTC (permalink / raw)


GNU Emacs 21.2.1 (i386-msvc-nt4.0.1381) of 2002-10-15 on SOBELNT

I found this problem in 21.1 and never got around to reporting it. It
appears to still exist in 21.2. I have taken the source release from
the ftp site, so I am not sure exactly what the file version is. 

The problem occurred in gnus with setting time of the file. I was
wondering if this is the intended logic, if the keep_time variable is
not nil I would think you would want to copy the times, otherwise do
nothing. The code reads that if keep time is NIL then reset the time.

Hope this helps,
Will Sobel


*** fileio.c.old	Tue Oct 15 17:23:30 2002
--- fileio.c	Tue Oct 15 17:22:15 2002
***************
*** 2339,2345 ****
  		 XSTRING (encoded_newname)->data, 
  		 FALSE))
      report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
!   else if (NILP (keep_time))
      {
        EMACS_TIME now;
        DWORD attributes;
--- 2339,2345 ----
  		 XSTRING (encoded_newname)->data, 
  		 FALSE))
      report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
!   else if (!NILP (keep_time))
      {
        EMACS_TIME now;
        DWORD attributes;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem in fileio.c on Windows NT
  2002-10-16  1:12 Problem in fileio.c on Windows NT William Sobel
@ 2002-10-16 18:56 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-10-16 18:56 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Thanks for the fix.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-16 18:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16  1:12 Problem in fileio.c on Windows NT William Sobel
2002-10-16 18:56 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).