Changeset 527 in openpam for trunk/lib


Ignore:
Timestamp:
Feb 26, 2012, 3:23:59 AM (9 years ago)
Author:
Dag-Erling Smørgrav
Message:

Rename sigset to the_sigset to avoid shadowing sigset(3).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_ttyconv.c

    r437 r527  
    7070        char buf[PAM_MAX_RESP_SIZE];
    7171        struct sigaction action, saved_action;
    72         sigset_t saved_sigset, sigset;
     72        sigset_t saved_sigset, the_sigset;
    7373        unsigned int saved_alarm;
    7474        int eof, error, fd;
     
    7777        char ch;
    7878
    79         sigemptyset(&sigset);
    80         sigaddset(&sigset, SIGINT);
    81         sigaddset(&sigset, SIGTSTP);
    82         sigprocmask(SIG_SETMASK, &sigset, &saved_sigset);
     79        sigemptyset(&the_sigset);
     80        sigaddset(&the_sigset, SIGINT);
     81        sigaddset(&the_sigset, SIGTSTP);
     82        sigprocmask(SIG_SETMASK, &the_sigset, &saved_sigset);
    8383        action.sa_handler = &timeout;
    8484        action.sa_flags = 0;
Note: See TracChangeset for help on using the changeset viewer.