View | Details | Raw Unified | Return to bug 65980 | Differences between
and this patch

Collapse All | Expand All

(-)src/support/rotatelogs.c (-1 / +3 lines)
Lines 11-16 Link Here
11
#include <time.h>
11
#include <time.h>
12
#include <errno.h>
12
#include <errno.h>
13
#include <fcntl.h>
13
#include <fcntl.h>
14
#include <unistd.h>
14
15
15
#define BUFSIZE        65536
16
#define BUFSIZE        65536
16
#define ERRMSGSZ       82
17
#define ERRMSGSZ       82
Lines 95-100 Link Here
95
            }
96
            }
96
            else {
97
            else {
97
                close(nLogFDprev);
98
                close(nLogFDprev);
99
                unlink(szLogRoot);
100
                link(buf2, szLogRoot);
98
            }
101
            }
99
            nMessCount = 0;
102
            nMessCount = 0;
100
        }
103
        }
101
-------------------------------------------------------------

Return to bug 65980