Purpose of commit: bugfix
Commit summary:
---------------
2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
* modules/pam_group/pam_group.c (logic_field): Accept
colon in tty name. [#
1428276].
* modules/pam_time/pam_time.c (logic_field): Likewise.
2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
+ * modules/pam_group/pam_group.c (logic_field): Accept
+ colon in tty name. [#1428276].
+ * modules/pam_time/pam_time.c (logic_field): Likewise.
+
* configure.in: Add special exceptions for icc: different
compiler warnings, no PIE support.
if (next == VAL) {
if (c == '!')
not = !not;
- else if (isalpha(c) || c == '*') {
+ else if (isalpha(c) || c == '*' || isdigit(c) || c == '_'
+ || c == '-' || c == '.' || c == '/' || c == ':') {
right = not ^ agrees(pamh, me, x+at, l, rule);
if (oper == AND)
left &= right;
if (next == VAL) {
if (c == '!')
not = !not;
- else if (isalpha(c) || c == '*') {
+ else if (isalpha(c) || c == '*' || isdigit(c) || c == '_'
+ || c == '-' || c == '.' || c == '/' || c == ':') {
right = not ^ agrees(pamh, me, x+at, l, rule);
if (oper == AND)
left &= right;