Ignore:
Timestamp:
Jul 2, 2013, 7:27:06 PM (12 years ago)
Author:
Herwig Bauernfeind
Message:

Samba Server 3.5: Update branch to 3.5.20

Location:
branches/samba-3.5.x/source3/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/lib/dummysmbd.c

    r414 r773  
    2929}
    3030
    31 int find_service(fstring service)
     31int find_service(const char *service_in, fstring service)
    3232{
    3333        return -1;
  • branches/samba-3.5.x/source3/lib/os2helper.c

    r698 r773  
    491491        PFEA2LIST   pfea2list = NULL;
    492492        char * p;
    493        
     493        DEBUG(4,("unisetxattr : (%s:%d) %s %d\n", path ? path : "null", file, name, size));
    494494        if ((!path && !file) || !name || (!value && size))
    495495        {
  • branches/samba-3.5.x/source3/lib/util_str.c

    r599 r773  
    513513                        "called from [%s][%d]\n", fn, line));
    514514                return NULL;
     515        }
     516
     517        if (src == dest) {
     518                return dest;
    515519        }
    516520
     
    23022306        int i;
    23032307
     2308        if (!name) {
     2309                return false;
     2310        }
     2311
    23042312        for ( i=0; i<max_len && name[i]; i++ ) {
    23052313                /* fail if strchr_m() finds one of the invalid characters */
  • branches/samba-3.5.x/source3/lib/util_unistr.c

    r414 r773  
    4646                else
    4747                        SAFE_FREE(upcase_table);
     48                upcase_table = NULL;
    4849        }
    4950
     
    5354                else
    5455                        SAFE_FREE(lowcase_table);
     56                lowcase_table = NULL;
    5557        }
    5658
     
    6062                else
    6163                        SAFE_FREE(valid_table);
     64                valid_table = NULL;
    6265        }
    6366        initialized = false;
Note: See TracChangeset for help on using the changeset viewer.