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

Bug#252585: xfree86-common: Xsession.options parsing fragile



Package: xfree86-common
Version: 4.3.0.dfsg.1-4
Severity: minor

Hi,

I just tried to introduce a new Xsession.options option
"allow-user-xsession-local". I noticed that the grep expressions
"^allow-user-xsession" fail if one options is a prefix of each other.

Please consider allowing whitespace before and after the option, and
to check for the line's end as well. That would mean a grep expression
like "^[[:space:]]*allow-user-xsession[[:space:]]$".

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-janeway
Locale: LANG=C, LC_CTYPE=C

Versions of packages xfree86-common depends on:
ii  debconf                       1.4.25     Debian configuration management sy
ii  debianutils                   2.8.2      Miscellaneous utilities specific t

-- debconf information:
  xfree86-common/experimental_packages: 



Reply to: