Changeset 494


Ignore:
Timestamp:
Oct 27, 2010, 2:19:02 PM (15 years ago)
Author:
Silvan Scherrer
Message:

sambaclient 1.6: attemp to fix tz problems closes ticket:56

Location:
branches/client-1.6/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/client-1.6/src/help/ndpsmb.ipf

    r476 r494  
    267267:li.fixed some traps from alpha1
    268268:eul.
     269
     270
     271
     272
    269273:eul.
    270274:p.
  • branches/client-1.6/src/help/ndpsmb_de.ipf

    r476 r494  
    272272:li.einige Abst&ue.rze von alpha1 repariert
    273273:eul.
     274
     275
     276
     277
    274278:eul.
    275279:p.
  • branches/client-1.6/src/help/ndpsmb_fr.ipf

    r476 r494  
    357357:li.fixed some traps from alpha1
    358358:eul.
     359
     360
     361
     362
    359363:eul.
    360364:p.
  • branches/client-1.6/src/help/readme.txt

    r476 r494  
    257257   - first public build
    258258   - fixed some traps from alpha1
     259
     260
     261
  • branches/client-1.6/src/help/readme_de.txt

    r476 r494  
    268268   - erster ”ffentlicher build
    269269   - einige Abstrze von alpha1 repariert
     270
     271
     272
  • branches/client-1.6/src/help/readme_fr.txt

    r476 r494  
    330330   - fixed some traps from alpha1
    331331
     332
     333
     334
    332335Traduction fran‡aise : Guillaume Gay <[email protected]>
    333336Version : 2010-07-06
  • branches/client-1.6/src/ndpsmb.c

    r472 r494  
    5252{
    5353    struct tm* gmt = localtime( &time);
     54
    5455    if (gmt->tm_isdst>0) {
    5556        debug_printf( "daylight saving in effect %d, timezone %d\n",gmt->tm_isdst, timezone);
     
    5758        gmt = localtime( &time);
    5859    }
     60
    5961    fdate->day  = gmt->tm_mday;
    6062    fdate->month  = gmt->tm_mon+1;
     
    6870{
    6971    struct tm gmtime = { 0 };
    70     struct tm* gmt;
    7172
    7273    debug_printf( "fsphDosDateToUnixTime time %02d:%02d\n", ftime.hours, ftime.minutes);
     
    8182    *time = mktime( &gmtime);
    8283    debug_printf( "fsphDosDateToUnixTime time1 %d %s", *time, ctime( (time_t*)time));
     84
     85
    8386    gmt = localtime( (time_t*) time);
    8487    if (gmt->tm_isdst>0) {
     
    8689        *time += 3600;
    8790    }
     91
    8892    debug_printf( "fsphDosDateToUnixTime time2 %d %s", *time, ctime( (time_t*)time));
    8993}
  • branches/client-1.6/src/smbwrp.c

    r472 r494  
    614614                time_t t;
    615615                file->mtime = time(NULL);
     616
    616617                t = get_time_zone(file->mtime);
    617618                debuglocal(4,"cli_open mtime %lu %lu\n", file->mtime, t);
    618619                file->mtime -= t;
     620
     621
    619622        }
    620623        file->offset = 0;
     
    755758        }
    756759
    757         debuglocal(4,"cli_setnewfileszie(%s) %lld\n", file->fname, newsize);
     760        debuglocal(4,"cli_setnewfilese(%s) %lld\n", file->fname, newsize);
    758761        if (!cli_setfilenewsize(cli, file->fd, newsize))
    759762        {
Note: See TracChangeset for help on using the changeset viewer.