[Ups-cvs] ups/ups ao_symscan.c,1.11,1.12
Brought to you by:
ianedwards
From: Tom H. <th...@us...> - 2014-01-24 17:13:24
|
Update of /cvsroot/ups/ups/ups In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31821/ups Modified Files: ao_symscan.c Log Message: We strip a leading "./" from file names when adding file records so we need to do the same when searching, or we won't match them. Index: ao_symscan.c =================================================================== RCS file: /cvsroot/ups/ups/ups/ao_symscan.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ao_symscan.c 7 Jul 2009 15:42:44 -0000 1.11 --- ao_symscan.c 24 Jan 2014 17:13:22 -0000 1.12 *************** *** 548,551 **** --- 548,554 ---- abspath = *name == '/'; + if (*name == '.' && *(name+1) == '/') + name = name + 2; + for (fil = sfiles; fil != NULL; fil = fil->fi_next) { if ((abspath || same_string(fil->fi_path_hint, path_hint)) && |