Package: gftp
Version: 2.0.18-13
Followup-For: Bug #364886
Hi,
See the fix. Values will be handled correctly now.
Matthieu Crapet
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.19-matt
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages gftp depends on:
ii gftp-gtk 2.0.18-13 X/GTK+ FTP client
ii gftp-text 2.0.18-13 colored FTP client using GLib
gftp recommends no packages.
-- no debconf information
--- gftpuicallbacks.c.orig 2006-06-15 10:57:08.000000000 +0200
+++ gftpuicallbacks.c 2006-06-15 11:13:01.000000000 +0200
@@ -53,8 +53,10 @@
int
gftpui_common_run_chmod (gftpui_callback_data * cdata)
{
+ /* If a symbolic mode is entered (example: "a+x"),
+ strtol will return 0 */
return (gftp_chmod (cdata->request, cdata->source_string,
- strtol (cdata->input_string, NULL, 10)));
+ strtol (cdata->input_string, NULL, 8)));
}