View | Details | Raw Unified
Collapse All | Expand All

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