File: lfs.patch

package info (click to toggle)
webdruid 0.5.4-16
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,428 kB
  • sloc: ansic: 10,821; sh: 181; makefile: 112
file content (15 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Large file system fix for log files larger than 2 GB.

Index: webdruid-0.5.4/logs_mgmt.c
===================================================================
--- webdruid-0.5.4.orig/logs_mgmt.c	2011-01-01 14:48:19.000000000 +0000
+++ webdruid-0.5.4/logs_mgmt.c	2011-01-01 14:48:24.000000000 +0000
@@ -139,7 +139,7 @@
    }
    else
    {
-      FILE *file = fopen(filename,"r");
+      FILE *file = fopen64(filename,"r");
       if (file == 0)
       {
          /* Error: Can't open log file ... */