summaryrefslogtreecommitdiff
path: root/doc/specs/parse_y.y
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2007-11-06 15:24:26 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2007-11-06 15:24:26 +0000
commitdee497d659371fdb793c8ec8e220d72ccaa02332 (patch)
tree2d25f2d013023e70499c6fe68a4bbe004d4252be /doc/specs/parse_y.y
parentd6e1da52bb5b01a93a60d3aff1223eb6a19082cd (diff)
Relevant BUGIDs: 1822761
Purpose of commit: bugfix Commit summary: --------------- 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de> * xtests/tst-pam_group1.c: Include stdlib.h * xtests/tst-pam_succeed_if1.c: Likewise. * xtests/tst-pam_limits1.c: Likewise. * xtests/tst-pam_access1.c: Likewise. * xtests/tst-pam_access2.c: Likewise. * xtests/tst-pam_access3.c: Likewise. * xtests/tst-pam_access4.c: Likewise. * xtests/tst-pam_unix1.c: Likewise. * xtests/tst-pam_unix2.c: Likewise. * xtests/tst-pam_unix3.c: Likewise. * xtests/tst-pam_cracklib1.c: Likewise. * xtests/tst-pam_cracklib2.c: Likewise. 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de> * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct misplaced parenthesis. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of dngettext() when NLS is disabled. * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning. * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to avoid gcc warning. * modules/pam_wheel/pam_wheel.c: Remove excessive initializer elements.
Diffstat (limited to 'doc/specs/parse_y.y')
-rw-r--r--doc/specs/parse_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/specs/parse_y.y b/doc/specs/parse_y.y
index 9ea51654..87fc54ea 100644
--- a/doc/specs/parse_y.y
+++ b/doc/specs/parse_y.y
@@ -229,7 +229,7 @@ void set_label(const char *label, const char *target)
{
if (target == NULL) {
yyerror("no hanging value for label");
- target = "<??>";
+ target = "<??" ">"; /* avoid trigraph warning */
}
label_root = set_key(label_root, label, target);
}
@@ -242,7 +242,7 @@ char *new_counter(const char *key)
if (key[i++] != '#') {
yyerror("bad index");
- return strdup("<???>");
+ return strdup("<???" ">"); /* avoid trigraph warning */
}
while (key[i] == '$') {