Package: unionfs-fuse Version: 0.21-2 Severity: wishlist Tags: patch The utime callback only allows for second resolution and is deprecated. The utimens callback allows for microsecond resolution.
MfG Goswin -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (400, 'unstable-i386') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-kvm-nofb (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash
diff -u unionfs-fuse-0.21/debian/changelog unionfs-fuse-0.21/debian/changelog --- unionfs-fuse-0.21/debian/changelog +++ unionfs-fuse-0.21/debian/changelog @@ -1,3 +1,9 @@ +unionfs-fuse (0.21-2a0.mrvn.1) unstable; urgency=low + + * utime() is deprecated, use utimens() instead. + + -- Goswin von Brederlow <[EMAIL PROTECTED]> Wed, 27 Aug 2008 15:59:52 +0200 + unionfs-fuse (0.21-2) unstable; urgency=high * fix a critical bug: creating new files in directories existing only only in patch2: unchanged: --- unionfs-fuse-0.21.orig/src/unionfs.c +++ unionfs-fuse-0.21/src/unionfs.c @@ -684,7 +684,7 @@ return 0; } -static int unionfs_utime(const char *path, struct utimbuf *buf) { +static int unionfs_utimens(const char *path, struct timeval *tv) { DBG_IN(); if (uopt.stats_enabled && strcmp(path, STATS_FILENAME) == 0) return 0; @@ -700,7 +700,7 @@ char p[PATHLEN_MAX]; snprintf(p, PATHLEN_MAX, "%s%s", uopt.branches[i].path, path); - int res = utime(p, buf); + int res = utimes(p, tv); to_root(); @@ -843,7 +843,7 @@ .symlink = unionfs_symlink, .truncate = unionfs_truncate, .unlink = unionfs_unlink, - .utime = unionfs_utime, + .utimens = unionfs_utimens, .write = unionfs_write, #ifdef HAVE_SETXATTR .getxattr = unionfs_getxattr,