������ ����.

�����, � ������ � run.c ����� logrotate ������ �����������
        my_xlog(OOPS_LOG_SEVERE, "run(): Failed to select: %m\n");
        goto wait_clients;

����� ��� ������ ����? 
���� �� ����� ��� ������ ���� return �� ������ �����, �� �� �� ������
������ �� ������, ��� � �������?

    if ( r == -1 || huped || killed || logrotate ) {
        if ( huped ) {
            my_xlog(OOPS_LOG_NOTICE|OOPS_LOG_DBG|OOPS_LOG_INFORM, "run():
Reconfigure request.\n");
            huped = 0;
            pthread_sigmask(SIG_SETMASK, &oset, NULL);
            pthread_attr_destroy(&p_attr);
            xfree(pollarg);
            return;
        }
        if ( killed ) {
            (void)cleanup();
            exit(1);
        }
        if ( logrotate ) {
            my_xlog(OOPS_LOG_NOTICE|OOPS_LOG_DBG|OOPS_LOG_INFORM, "run():
Rotate.\n");
            rotate_logbuff();
            rotate_accesslogbuff();
            mod_reopen_logs();
            logrotate = 0;
        }
        my_xlog(OOPS_LOG_SEVERE, "run(): Failed to select: %m\n");
        goto wait_clients;
    }

--
������ ��������.
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops" in message body.
Archive is accessible on http://www.paco.net/oops/

Дати відповідь електронним листом