Ignore:
Timestamp:
Nov 26, 2007, 9:24:27 AM (18 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.27a

Location:
branches/samba-3.0/source/client
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/client/client.c

    r62 r105  
    193193                                msg[l++] = '\r';
    194194                        msg[l] = c;   
     195                }
     196
     197                if ((total_len > 0) && (strlen(msg) == 0)) {
     198                        break;
    195199                }
    196200
  • branches/samba-3.0/source/client/clitar.c

    r22 r105  
    610610        char ftype;
    611611        file_info2 finfo;
    612         BOOL close_done = False;
    613612        BOOL shallitime=True;
    614613        char data[65520];
     
    696695                        finfo.name, (double)finfo.size, lname));
    697696     
    698                 while (nread < finfo.size && !close_done) {
     697                do {
    699698             
    700699                        DEBUG(3,("nread=%.0f\n",(double)nread));
     
    735734                        }
    736735             
    737                         if (datalen == 0) {
     736                        if ( (datalen == 0) && (finfo.size != 0) ) {
    738737                                DEBUG(0,("Error reading file %s. Got 0 bytes\n", rname));
    739738                                break;
     
    741740
    742741                        datalen=0;
    743                 }
     742                } while ( nread < finfo.size );
    744743
    745744                if (wrote_tar_header) {
  • branches/samba-3.0/source/client/umount.cifs.c

    r1 r105  
    343343        /* fixup path if needed */
    344344
     345        /* Trim any trailing slashes */
     346        while ((strlen(mountpoint) > 1) &&
     347                (mountpoint[strlen(mountpoint)-1] == '/'))
     348        {
     349                mountpoint[strlen(mountpoint)-1] = '\0';
     350        }
     351
    345352        /* make sure that this is a cifs filesystem */
    346353        rc = statfs(mountpoint, &statbuf);
Note: See TracChangeset for help on using the changeset viewer.