Package: subversion Version: 1.1.4-2.1 Severity: normal File: /usr/bin/svndumpfilter Tags: patch upstream
On amd64, and AFAICT any 64-bit platform, svndumpfilter dies fairly quickly with the message "svn: Can't write to stream: Invalid argument". I tracked this down to the program's non-portable use of int rather than apr_size_t for a length passed by reference, and observed that the one-line patch below lets it run to completion. Index: subversion/svndumpfilter/main.c =================================================================== --- subversion/svndumpfilter/main.c.orig 2005-05-14 23:18:17.000000000 -0400 +++ subversion/svndumpfilter/main.c 2005-05-14 23:21:10.000000000 -0400 @@ -680,7 +680,7 @@ close_node (void *node_baton) { struct node_baton_t *nb = node_baton; - int len = 2; + apr_size_t len = 2; /* Get out of here if we can. */ if (nb->do_skip) -- System Information: Debian Release: 3.1 Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages subversion depends on: ii db4.2-util 4.2.52-18 Berkeley v4.2 Database Utilities ii libapr0 2.0.54-3 the Apache Portable Runtime ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [ ii libexpat1 1.95.8-3 XML parsing C library - runtime li ii libldap2 2.1.30-6 OpenLDAP libraries ii libneon24 0.24.7.dfsg-2 An HTTP and WebDAV client library ii libssl0.9.7 0.9.7g-1 SSL shared libraries ii libsvn0 1.1.4-2.1 shared libraries used by Subversio ii libxml2 2.6.16-7 GNOME XML library ii patch 2.5.9-2 Apply a diff file to an original ii zlib1g 1:1.2.2-4 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]