"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/path.c" between
unrtf-0.21.8.tar.gz and unrtf-0.21.9.tar.gz

About: unrtf is a converter from RTF to other formats like HTML, latex, vt, or plain text.

path.c  (unrtf-0.21.8):path.c  (unrtf-0.21.9)
skipping to change at line 62 skipping to change at line 62
path_dir_p = path_dir_p->next) { path_dir_p = path_dir_p->next) {
strcpy(path, path_dir_p->dir_name); strcpy(path, path_dir_p->dir_name);
if(path[strlen(path)-1] != '/') if(path[strlen(path)-1] != '/')
strcat(path, "/"); strcat(path, "/");
strcat(path, fullname); strcat(path, fullname);
/* fprintf(stderr, "Testing for [%s]\n", path); */ /* fprintf(stderr, "Testing for [%s]\n", path); */
if(access(path, F_OK|R_OK)) if(access(path, F_OK|R_OK))
continue; continue;
my_free(fullname);
return path; return path;
} }
my_free(fullname); my_free(fullname);
my_free(path); my_free(path);
return NULL; return NULL;
} }
int check_dirs() int check_dirs()
{ {
char *p; char *p;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS