/[smeserver]/rpms/buffer/sme8/buffer-largefile.patch
ViewVC logotype

Annotation of /rpms/buffer/sme8/buffer-largefile.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 18:10:00 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: buffer-1_19-7_el5_sme, HEAD
Import on branch sme8 of package buffer-1.19-7.el5.sme.src.rpm

1 slords 1.1 diff -ru buffer-1.19.orig/buffer.c buffer-1.19/buffer.c
2     --- buffer-1.19.orig/buffer.c 2003-01-05 13:08:22.000000000 -0700
3     +++ buffer-1.19/buffer.c 2003-01-05 13:28:07.000000000 -0700
4     @@ -109,6 +109,9 @@
5     * Initial revision
6     *
7     */
8     +#define _FILE_OFFSET_BITS 64
9     +#define _LARGEFILE_SOURCE 1
10     +
11     #include <stdlib.h>
12     #include <string.h>
13     #include <unistd.h>
14     @@ -308,7 +311,7 @@
15     fprintf( stderr, "-i given twice\n" );
16     byee( -1 );
17     }
18     - if( (fdin = open( optarg, O_RDONLY )) < 0 ){
19     + if( (fdin = open( optarg, O_RDONLY)) < 0 ){
20     report_proc();
21     perror( "cannot open input file" );
22     fprintf( stderr, "filename: %s\n", optarg );

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed