]> git.pld-linux.org Git - packages/tiger.git/blob - tiger-3.2.1-gcc4.patch
new, version 3.2.1
[packages/tiger.git] / tiger-3.2.1-gcc4.patch
1 # Fix for one small C program
2 --- ./c/realpath.c.gcc4 2005-08-06 23:54:13.000000000 +0200
3 +++ ./c/realpath.c      2005-08-07 00:04:17.000000000 +0200
4 @@ -55,8 +55,8 @@
5  #endif
6  
7  #ifdef __STDC__
8 -extern char *getwd(char * const);
9 -extern int readlink(char * const, char * const, const size_t);
10 +//extern char *getwd(char * const);
11 +//extern int readlink(char * const, char * const, const size_t);
12  extern char *my_realpath(const char *, char [], int);
13  extern char *_realpath(char [], int);
14  #else
15 @@ -109,7 +109,7 @@
16       int linkcount = 0;
17  
18       if(path[0] != '/'){
19 -         getwd(buffer);
20 +         getwd(buffer, sizeof(buffer));
21           prevslash = buffer+strlen(buffer);
22           strcpy(prevslash,"/");
23           strcpy(prevslash+1,path);
This page took 0.090935 seconds and 3 git commands to generate.