Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 16267 | Differences between
and this patch

Collapse All | Expand All

(-)glimpse-4.15.orig/agrep/agrep.c (-1 lines)
Lines 11-17 Link Here
11
#define PRINT(s)
11
#define PRINT(s)
12
12
13
extern char **environ;
13
extern char **environ;
14
extern int errno;
15
int pattern_index;	/* index in argv where the pattern is */
14
int pattern_index;	/* index in argv where the pattern is */
16
15
17
int glimpse_isserver=0;	/* so that there is no user interaction */
16
int glimpse_isserver=0;	/* so that there is no user interaction */
(-)glimpse-4.15.orig/agrep/checksg.c (-1 / +1 lines)
Lines 1-8 Link Here
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
2
#include <errno.h>
2
#include "agrep.h"
3
#include "agrep.h"
3
#include "checkfile.h"
4
#include "checkfile.h"
4
5
5
extern int errno;
6
extern CHAR Progname[MAXNAME]; 
6
extern CHAR Progname[MAXNAME]; 
7
extern int SGREP, PAT_FILE, PAT_BUFFER, EXITONERROR, SIMPLEPATTERN,
7
extern int SGREP, PAT_FILE, PAT_BUFFER, EXITONERROR, SIMPLEPATTERN,
8
	CONSTANT, D, NOUPPER, JUMP, I, LINENUM, INVERSE, WORDBOUND, WHOLELINE,
8
	CONSTANT, D, NOUPPER, JUMP, I, LINENUM, INVERSE, WORDBOUND, WHOLELINE,
(-)glimpse-4.15.orig/agrep/compat.c (-1 / +1 lines)
Lines 1-5 Link Here
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
2
/* test the conflicts between options */
2
/* test the conflicts between options */
3
#include <errno.h>
3
#include <stdio.h>
4
#include <stdio.h>
4
#include "agrep.h"
5
#include "agrep.h"
5
6
Lines 15-21 Link Here
15
extern char Progname[MAXNAME];
16
extern char Progname[MAXNAME];
16
extern int agrep_initialfd;
17
extern int agrep_initialfd;
17
extern int EXITONERROR;
18
extern int EXITONERROR;
18
extern int errno;
19
19
20
int
20
int
21
compat()
21
compat()
(-)glimpse-4.15.orig/agrep/maskgen.c (-1 / +1 lines)
Lines 1-4 Link Here
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
2
#include <errno.h>
2
#include "agrep.h"
3
#include "agrep.h"
3
4
4
extern unsigned D_endpos, endposition, Init1, wildmask;
5
extern unsigned D_endpos, endposition, Init1, wildmask;
Lines 7-13 Link Here
7
extern unsigned char Progname[];
8
extern unsigned char Progname[];
8
extern int agrep_initialfd;
9
extern int agrep_initialfd;
9
extern int EXITONERROR;
10
extern int EXITONERROR;
10
extern int errno;
11
11
12
int
12
int
13
maskgen(Pattern, D)
13
maskgen(Pattern, D)
(-)glimpse-4.15.orig/agrep/preprocess.c (-1 / +1 lines)
Lines 13-18 Link Here
13
/* upon return, Pattern contains the pattern to be processed by maskgen  */
13
/* upon return, Pattern contains the pattern to be processed by maskgen  */
14
/* D_pattern contains transformed D_pattern                              */
14
/* D_pattern contains transformed D_pattern                              */
15
15
16
#include <errno.h>
16
#include "agrep.h"
17
#include "agrep.h"
17
18
18
extern int PAT_FILE, PAT_BUFFER;
19
extern int PAT_FILE, PAT_BUFFER;
Lines 25-31 Link Here
25
extern int table[WORD][WORD];
26
extern int table[WORD][WORD];
26
extern int agrep_initialfd;
27
extern int agrep_initialfd;
27
extern int EXITONERROR;
28
extern int EXITONERROR;
28
extern int errno;
29
29
30
extern int  multifd;
30
extern int  multifd;
31
extern char *multibuf;
31
extern char *multibuf;
(-)glimpse-4.15.orig/get_index.c (-1 / +1 lines)
Lines 1-4 Link Here
1
/* Copyright (c) 1994 Burra Gopal, Udi Manber.  All Rights Reserved. */
1
/* Copyright (c) 1994 Burra Gopal, Udi Manber.  All Rights Reserved. */
2
#include <errno.h>
2
#include "glimpse.h"
3
#include "glimpse.h"
3
#include "defs.h"
4
#include "defs.h"
4
5
Lines 14-20 Link Here
14
extern	unsigned int *dest_index_set;
15
extern	unsigned int *dest_index_set;
15
extern	unsigned char *dest_index_buf;
16
extern	unsigned char *dest_index_buf;
16
extern	int	mask_int[32];
17
extern	int	mask_int[32];
17
extern	int	errno;
18
extern	int	ByteLevelIndex;
18
extern	int	ByteLevelIndex;
19
extern  int	RecordLevelIndex;
19
extern  int	RecordLevelIndex;
20
extern  int	rdelim_len;
20
extern  int	rdelim_len;
(-)glimpse-4.15.orig/index/build_in.c (-1 / +1 lines)
Lines 23-28 Link Here
23
           this 12 19 \n is 9 17 12 18 19 \n an 7 12 \n example 16 \n
23
           this 12 19 \n is 9 17 12 18 19 \n an 7 12 \n example 16 \n
24
-----------------------------------------------------------------------*/
24
-----------------------------------------------------------------------*/
25
25
26
#include <errno.h>
26
#include "glimpse.h"
27
#include "glimpse.h"
27
28
28
#define debugt
29
#define debugt
Lines 604-610 Link Here
604
    int ret;
605
    int ret;
605
    char s[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN], es3[MAX_LINE_LEN];
606
    char s[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN], es3[MAX_LINE_LEN];
606
    char s1[MAX_LINE_LEN];
607
    char s1[MAX_LINE_LEN];
607
    extern int errno;
608
    static int maxsortlinelen = 0;
608
    static int maxsortlinelen = 0;
609
    int	i;
609
    int	i;
610
610
(-)glimpse-4.15.orig/index/partition.c (-1 / +1 lines)
Lines 1-6 Link Here
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
1
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal.  All Rights Reserved. */
2
/* ./glimpse/index/partition.c */
2
/* ./glimpse/index/partition.c */
3
#include "glimpse.h"
3
#include "glimpse.h"
4
#include <errno.h>
4
#include <sys/stat.h>
5
#include <sys/stat.h>
5
#include <sys/time.h>
6
#include <sys/time.h>
6
7
Lines 27-33 Link Here
27
int  files_per_partition;
28
int  files_per_partition;
28
int  files_in_partition;
29
int  files_in_partition;
29
int  ATLEASTONEFILE = 0;
30
int  ATLEASTONEFILE = 0;
30
extern int errno;
31
31
32
char patbuf[MAX_PAT];
32
char patbuf[MAX_PAT];
33
extern unsigned char *src_index_buf;
33
extern unsigned char *src_index_buf;

Return to bug 16267