Package: mmv
Version: 1.01b-14
Severity: normal
Tags: patch
mcp complains "Strange, couldn't transfer time from foo to bar." for
every copy. The reason is that the code that calls utimes to update
the time stamp doesn't initialise the tv_usec fields of the timevals.
The following patch fixes it:
----cut here----
$ diff mmv-1.01b/mmv.c mmv.c
--- mmv-1.01b/mmv.c 2007-11-26 15:11:00.000000000 +0000
+++ mmv.c 2007-11-26 15:12:04.000000000 +0000
@@ -2727,7 +2727,9 @@
tim.modtime = fstat.st_mtime,
#else
tim[0].tv_sec = fstat.st_atime,
+ tim[0].tv_usec = 0,
tim[1].tv_sec = fstat.st_mtime,
+ tim[1].tv_usec = 0,
#endif
utimes(fullrep, tim)
)
----cut here----
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing'), (600, 'experimental'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mmv depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
mmv recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]