Forum: CFEngine Help
Subject: Re: readstringlist weird behaviour when reading /proc/mounts on linux
Author: jbdenis
Link to topic: https://cfengine.com/forum/read.php?3,26596,26599#msg-26599
Oups. Duplicate bug, didn't find it in the first time.
___
Hel
Forum: CFEngine Help
Subject: Re: readstringlist weird behaviour when reading /proc/mounts on linux
Author: jbdenis
Link to topic: https://cfengine.com/forum/read.php?3,26596,26598#msg-26598
Ok, that's good to know. On one hand, I'm relieved because that's not a mistake
on my side :) For the mome
Forum: CFEngine Help
Subject: Re: readstringlist weird behaviour when reading /proc/mounts on linux
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,26596,26597#msg-26597
Most files under /proc (including /proc/mounts) report a size of zero bytes.
CFEngine's file-reading func
Forum: CFEngine Help
Subject: Re: readstringlist
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,25015,25020#msg-25020
Greedy strikes again. Good catch Diego.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cf
Forum: CFEngine Help
Subject: Re: readstringlist
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25015,25019#msg-25019
Hi Neil,
The reason is that CFEngine does matching on the whole contents of the file, so
by using ".*" it is swallowing the rest of the file after the firs
Forum: Cfengine Help
Subject: Re: readstringlist in 3.1.0
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,19180,19264#msg-19264
A quick test shows that it is not broken, but there is a bug for lists of
length 1, a patch will be released soon.
___
Forum: Cfengine Help
Subject: Re: readstringlist in 3.1.0
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,19180,19263#msg-19263
Do I understand this correctly? Is list iteration broken in 3.1.0? Is there a
bug I can follow?
_