/[global]/global/libutil/find.c
ViewVC logotype

Diff of /global/libutil/find.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.36 by shigio, Wed Oct 27 07:57:23 2004 UTC revision 1.37 by shigio, Sun Oct 31 04:16:00 2004 UTC
# Line 430  find_read(void) Line 430  find_read(void)
430    
431                          curp->p += strlen(curp->p) + 1;                          curp->p += strlen(curp->p) + 1;
432                          if (type == 'f' || type == 'l') {                          if (type == 'f' || type == 'l') {
433                                  char    *path = makepath(dir, unit, NULL);                                  char path[MAXPATHLEN];
434    
435                                    /* makepath() returns unsafe module local area. */
436                                    strlimcpy(path, makepath(dir, unit, NULL), sizeof(path));
437                                  if (skipthisfile(path))                                  if (skipthisfile(path))
438                                          continue;                                          continue;
439                                  if (regexec(suff, path, 0, 0, 0) == 0) {                                  if (regexec(suff, path, 0, 0, 0) == 0) {

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26