[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#520895: does not escape comma in filenames when adding ignore pattern



Package: unison
Version: 2.27.57-2
Severity: normal
Tags: upstream

When I tell unison to ignore a file whose name has a comma in it,
then unison adds to the preferences file a line like:

  ignore = Path{this file, has a comma}

which gets interpreted as "this file" OR " has a comma".

unison should be escaping that comma and write it as \, instead.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unison depends on:
ii  libc6                         2.9-6      GNU C Library: Shared libraries

Versions of packages unison recommends:
ii  openssh-client [ssh-client]   1:5.1p1-5  secure shell client, an rlogin/rsh

unison suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Reply to: