Ignore:
Timestamp:
Jul 2, 2011, 4:01:14 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/libsmb/clidfs.c

    r414 r597  
    897897
    898898        if (extrapath && strlen(extrapath) > 0) {
    899                 *pp_targetpath = talloc_asprintf(ctx,
    900                                                 "%s%s",
    901                                                 extrapath,
    902                                                 *pp_targetpath);
     899                /* EMC Celerra NAS version 5.6.50 (at least) doesn't appear to */
     900                /* put the trailing \ on the path, so to be save we put one in if needed */
     901                if (extrapath[strlen(extrapath)-1] != '\\' && **pp_targetpath != '\\') {
     902                        *pp_targetpath = talloc_asprintf(ctx,
     903                                                  "%s\\%s",
     904                                                  extrapath,
     905                                                  *pp_targetpath);
     906                } else {
     907                        *pp_targetpath = talloc_asprintf(ctx,
     908                                                  "%s%s",
     909                                                  extrapath,
     910                                                  *pp_targetpath);
     911                }
    903912                if (!*pp_targetpath) {
    904913                        return false;
Note: See TracChangeset for help on using the changeset viewer.