IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2008, 10:01:36 AM (18 years ago)
Author:
eugene
Message:

remove double strcpy from filebasename(); add basename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/src/findexec.c

    r16212 r18051  
    213213
    214214  ALLOCATE (file, char, strlen(name) + 1);
    215   strcpy (file, name);
    216   c = strrchr (file, '/');
     215
     216  c = strrchr (name, '/');
    217217  if (c == (char *) NULL) {
    218218    strcpy (file, name);
Note: See TracChangeset for help on using the changeset viewer.