Date: Fri, 18 Apr 2003 11:02:56 -0700 (PDT) From: matt lanier To: Andrew Ford Subject: Re: [ cronolog ] any objection to patching cronolog.c for large files? Andrew- Attached is the patchfile. It was a very simple patch, and i give you no guarantee that it'll work on systems other than linux or solaris. Please let me know if it's useful for you. If you note patches somewhere, please note it as: Matt Lanier, mlanier@danger.com thanks- matt On Fri, 18 Apr 2003, Andrew Ford wrote: > matt lanier wrote: > > >Hello. > > > >I'm patching cronolog.c to run on both linux and solaris to open() with > >O_LARGEFILE. are you interested in such a patch? > > > >Thanks- > > > > > > > > Yes that would be great. Don't know quite when I'll have time to > integrate patches, but I hope I'll have some time in May. > > Andrew > > -- matt lanier mlanier@danger.com 650-289-6623 (o) 650-283-0050 (c) 84a85,86 > #define _GNU_SOURCE 1 > 397c399 < log_fd = open(pfilename, O_WRONLY|O_CREAT|O_APPEND, FILE_MODE); --- > log_fd = open(pfilename, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, FILE_MODE); 403c405 < log_fd = open(pfilename, O_WRONLY|O_CREAT|O_APPEND, FILE_MODE); --- > log_fd = open(pfilename, O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, FILE_MODE);