]> granicus.if.org Git - apache/commit
Axe some warnings in rotatelogs which came when the program was
authorJeff Trawick <trawick@apache.org>
Wed, 20 Nov 2002 00:09:56 +0000 (00:09 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 20 Nov 2002 00:09:56 +0000 (00:09 +0000)
commitd1a86fe11eca9943d8dd04470b7c955220877b04
tree49bdf59a2bd56926b055878d80900c8fdbdf2a12
parent4873370e33c0db3b766ee7766c3325015853ba81
Axe some warnings in rotatelogs which came when the program was
converted to use APR.  The behaviors of apr_file_read() and
apr_file_write() weren't taken completely into account.

But note: In a couple of places the check "nRead < 0" was removed.
          While that is meaningless with APR and hasn't done anything
          useful in a long time, in Apache 1.3 days it was essentially
          a check for read-failed-with-EINTR.  Apparently a rotation
          would occur if the read was interrupted by a signal.  That
          function has been lost with the APR-ization.

PR:              12617

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97570 13f79535-47bb-0310-9956-ffa450edef68
support/rotatelogs.c