diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | modules/pam_filter/pam_filter.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-10-31 Thorsten Kukuk <kukuk@suse.de> + + * modules/pam_filter/pam_filter.c: Use XCASE only if defined + [#624214] + 2005-10-27 Thorsten Kukuk <kukuk@suse.de> * doc/man/pam.8: Fix wording for authentication chapter [#1197444] diff --git a/modules/pam_filter/pam_filter.c b/modules/pam_filter/pam_filter.c index ef6695d9..63c47c44 100644 --- a/modules/pam_filter/pam_filter.c +++ b/modules/pam_filter/pam_filter.c @@ -320,7 +320,10 @@ set_filter (pam_handle_t *pamh, int flags UNUSED, int ctrl, t_mode.c_oflag &= ~OPOST; /* no ouput post processing */ /* no signals, canonical input, echoing, upper/lower output */ - t_mode.c_lflag &= ~(ISIG|ICANON|ECHO|XCASE); +#ifdef XCASE + t_mode.c_lflag &= ~(XCASE); +#endif + t_mode.c_lflag &= ~(ISIG|ICANON|ECHO); t_mode.c_cflag &= ~(CSIZE|PARENB); /* no parity */ t_mode.c_cflag |= CS8; /* 8 bit chars */ |