[Logcheck-commits] Frédéric Brière : Quoting most instances of parameter expansion and command substitution
Frédéric Brière
fbriere-guest at alioth.debian.org
Mon Aug 24 20:25:33 UTC 2009
Module: logcheck
Branch: master
Commit: d571c08d74e18c58b0612d94d4ce8d9c0458e69b
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=d571c08d74e18c58b0612d94d4ce8d9c0458e69b
Author: Frédéric Brière <fbriere at fbriere.net>
Date: Mon Aug 24 15:04:57 2009 -0400
Quoting most instances of parameter expansion and command substitution
This adds quoting around most instances of parameter expansion ($VAR)
and command substitution (`cmd`) in logcheck. This is necessary (but
not sufficient) to support filenames containing spaces (bug #319169),
and it's somewhat safer anyway.
This commit does not touch:
- commands meant to be split on whitespace
- $MAILARGS, which is meant to be unquoted
- command name variables (e.g. $CAT) which could be called to provide
arguments
- some variables which are guaranteed to be nice (e.g. $?)
---
debian/changelog | 1 +
src/logcheck | 282 +++++++++++++++++++++++++++---------------------------
2 files changed, 142 insertions(+), 141 deletions(-)
Diff: http://git.debian.org/?p=logcheck/logcheck.git;a=commitdiff;h=d571c08d74e18c58b0612d94d4ce8d9c0458e69b
More information about the Logcheck-commits
mailing list