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

Collapse All | Expand All

(-)nget.orig/status.cc (+1 lines)
Lines 20-25 Link Here
20
#include "server.h"
20
#include "server.h"
21
#include <stdlib.h>
21
#include <stdlib.h>
22
#include <stdio.h>
22
#include <stdio.h>
23
#include <string.h>
23
24
24
static int errorflags=0, warnflags=0, okflags=0;
25
static int errorflags=0, warnflags=0, okflags=0;
25
26
(-)nget.orig/stlhelp.h (+2 lines)
Lines 19-24 Link Here
19
#ifndef _STLHELP_H_
19
#ifndef _STLHELP_H_
20
#define _STLHELP_H_
20
#define _STLHELP_H_
21
21
22
#include <string.h>
23
22
struct eqstr
24
struct eqstr
23
{
25
{
24
	bool operator()(const char* s1, const char* s2) const
26
	bool operator()(const char* s1, const char* s2) const
(-)nget.orig/dupe_file.cc (+1 lines)
Lines 25-30 Link Here
25
#include <sys/stat.h>
25
#include <sys/stat.h>
26
#include <unistd.h>
26
#include <unistd.h>
27
#include <errno.h>
27
#include <errno.h>
28
#include <string.h>
28
29
29
void dupe_file_checker::add(const char *filename, ulong size){
30
void dupe_file_checker::add(const char *filename, ulong size){
30
	file_match *fm;
31
	file_match *fm;
(-)nget.orig/path.cc (+1 lines)
Lines 21-26 Link Here
21
#include <unistd.h>
21
#include <unistd.h>
22
#include "log.h"
22
#include "log.h"
23
#include "_fileconf.h"
23
#include "_fileconf.h"
24
#include <string.h>
24
25
25
#ifdef WIN32
26
#ifdef WIN32
26
#include <ctype.h>
27
#include <ctype.h>
(-)nget.orig/myregex.cc (+1 lines)
Lines 21-26 Link Here
21
#endif
21
#endif
22
#include <stdlib.h>
22
#include <stdlib.h>
23
#include "myregex.h"
23
#include "myregex.h"
24
#include <string.h>
24
25
25
26
26
static string regex_match_word_beginning_safe_str;
27
static string regex_match_word_beginning_safe_str;
(-)nget.orig/nrange.h (+1 lines)
Lines 25-30 Link Here
25
#include <sys/types.h>
25
#include <sys/types.h>
26
#include <map>
26
#include <map>
27
#include <stdexcept>
27
#include <stdexcept>
28
#include <limits.h>
28
29
29
30
30
typedef map<ulong, ulong> t_rlist;//we are going to use high as the key, and low as the value
31
typedef map<ulong, ulong> t_rlist;//we are going to use high as the key, and low as the value
(-)nget.orig/lite.h (+2 lines)
Lines 24-29 Link Here
24
#endif
24
#endif
25
25
26
#include <stdlib.h>
26
#include <stdlib.h>
27
#include <string.h>
28
27
char * newstrcpy(char *&dest, const char *src);
29
char * newstrcpy(char *&dest, const char *src);
28
inline void safefree(char *&p){
30
inline void safefree(char *&p){
29
    if (p){free(p);p=NULL;}
31
    if (p){free(p);p=NULL;}

Return to bug 199587