Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#686449: userv: Parser unable to parse `range' condition

4 views
Skip to first unread message

Mark Wooding

unread,
Sep 1, 2012, 2:30:02 PM9/1/12
to
Package: userv
Version: 1.0.5-0.2
Severity: normal

The `range' condition can never be parsed successfully. You get an error

found keyword `1000', expected linear whitespace

instead.

The bug is in `parser.c'. The function `pa_mwsp' insists on parsing some
whitespace; `pa_numberdollar' explains that it `[a]lso parses the whitespace
beforehand' and indeed does so. But `pcf_range' calls `pa_mwsp' before each
call to `pa_numberdollar'. As a result, any whitespace before the numeric or
`$' arguments has been consumed already, and the `pa_mwsp' called from
`pa_numberdollar' will always fail.

-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/3 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages userv depends on:
ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib

userv recommends no packages.

userv suggests no packages.

-- Configuration Files:
/etc/userv/system.default changed [not included]

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
0 new messages