Changeset 34 for trunk/src/sh_suidchk.c


Ignore:
Timestamp:
May 19, 2006, 8:09:51 PM (18 years ago)
Author:
rainer
Message:

Code cleanup and minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_suidchk.c

    r30 r34  
    854854                                        else
    855855                                          {
    856                                             basetmp = SH_ALLOC(1 + sl_strlen(theFile.fullpath));
    857                                             (void) sl_strlcpy(basetmp, theFile.fullpath,
    858                                                        1 + sl_strlen(theFile.fullpath));
     856                                            basetmp = sh_util_strdup(theFile.fullpath);
    859857                                            filetmp = SH_ALLOC(PATH_MAX+1);
    860858                                            (void) sl_snprintf(filetmp, PATH_MAX+1, "%s/%s",
Note: See TracChangeset for help on using the changeset viewer.