Repaired a bug in -find

This commit is contained in:
Thomas Schmitt 2007-12-31 13:54:37 +00:00
parent 73151be9ed
commit 1b86589999
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2007.12.31.135237" #define Xorriso_timestamP "2007.12.31.135330"

View File

@ -2917,7 +2917,7 @@ int Xorriso_findi(struct XorrisO *xorriso, struct FindjoB *job,
ret= Findjob_test(job, name, NULL, dir_stbuf, depth, 0); ret= Findjob_test(job, name, NULL, dir_stbuf, depth, 0);
if(ret<0) if(ret<0)
goto ex; goto ex;
if(ret>0 && action==0) { if(ret>0) {
#ifdef NIX #ifdef NIX
sprintf(xorriso->result_line, "%s\n", Text_shellsafe(dir_path, sfe, 0)); sprintf(xorriso->result_line, "%s\n", Text_shellsafe(dir_path, sfe, 0));