Package: fdm
Version: 1.3c-1
Severity: normal

When I predefine the $path macro on fdms command line like this:
> fdm -a stdin -D '$path'="$HOME/users/$EXT" -f "$fdmrules" fetch
fdm nevertheless complains
> /home/jorrit/.fdm/rules: invalid path at line 6

The contents of /home/jorrit/.fdm/rules:
> # $path is set on the command line
> 
> account "stdin" stdin
> 
> match all action maildir "${path}"

As far as I can tell, this is because parse_macros TAILQ is not yet
initialized when the command line options are parsed.  It is
initialized later when the config file is parsed, which is done by
parse_conf() from parser.y.

Tanks for your work,
Jö.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fdm depends on:
ii  adduser                 3.104            add and remove users and groups
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libpcre3                6.7-1            Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8e-6         SSL shared libraries
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

fdm recommends no packages.

-- no debconf information

-- 
In the beginning the Universe was created.  This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams

Attachment: signature.asc
Description: Digital signature

Reply via email to