Changeset 494
- Timestamp:
- Oct 27, 2010, 2:19:02 PM (15 years ago)
- Location:
- branches/client-1.6/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.6/src/help/ndpsmb.ipf
r476 r494 267 267 :li.fixed some traps from alpha1 268 268 :eul. 269 :li.beta2 270 :ul. 271 :li.fixed a timezone problem 272 :eul. 269 273 :eul. 270 274 :p. -
branches/client-1.6/src/help/ndpsmb_de.ipf
r476 r494 272 272 :li.einige Abst&ue.rze von alpha1 repariert 273 273 :eul. 274 :li.beta2 275 :ul. 276 :li.ein Zeitzonenproblem behoben 277 :eul. 274 278 :eul. 275 279 :p. -
branches/client-1.6/src/help/ndpsmb_fr.ipf
r476 r494 357 357 :li.fixed some traps from alpha1 358 358 :eul. 359 :li.beta2 360 :ul. 361 :li.fixed a timezone problem 362 :eul. 359 363 :eul. 360 364 :p. -
branches/client-1.6/src/help/readme.txt
r476 r494 257 257 - first public build 258 258 - fixed some traps from alpha1 259 260 v1.6.0 beta2: 261 - fixed a timezone problem -
branches/client-1.6/src/help/readme_de.txt
r476 r494 268 268 - erster ffentlicher build 269 269 - einige Abstrze von alpha1 repariert 270 271 v1.6.0 beta2: 272 - ein Zeitzonenproblem behoben -
branches/client-1.6/src/help/readme_fr.txt
r476 r494 330 330 - fixed some traps from alpha1 331 331 332 v1.6.0 beta2: 333 - fixed a timezone problem 334 332 335 Traduction franaise : Guillaume Gay <guillaume.gay@bigfoot.com> 333 336 Version : 2010-07-06 -
branches/client-1.6/src/ndpsmb.c
r472 r494 52 52 { 53 53 struct tm* gmt = localtime( &time); 54 #if 0 // as localtime() already does dst we don't need to add something 54 55 if (gmt->tm_isdst>0) { 55 56 debug_printf( "daylight saving in effect %d, timezone %d\n",gmt->tm_isdst, timezone); … … 57 58 gmt = localtime( &time); 58 59 } 60 #endif 59 61 fdate->day = gmt->tm_mday; 60 62 fdate->month = gmt->tm_mon+1; … … 68 70 { 69 71 struct tm gmtime = { 0 }; 70 struct tm* gmt;71 72 72 73 debug_printf( "fsphDosDateToUnixTime time %02d:%02d\n", ftime.hours, ftime.minutes); … … 81 82 *time = mktime( &gmtime); 82 83 debug_printf( "fsphDosDateToUnixTime time1 %d %s", *time, ctime( (time_t*)time)); 84 #if 0 // as mktime() already does dst we don't need to add something 85 struct tm* gmt; 83 86 gmt = localtime( (time_t*) time); 84 87 if (gmt->tm_isdst>0) { … … 86 89 *time += 3600; 87 90 } 91 #endif 88 92 debug_printf( "fsphDosDateToUnixTime time2 %d %s", *time, ctime( (time_t*)time)); 89 93 } -
branches/client-1.6/src/smbwrp.c
r472 r494 614 614 time_t t; 615 615 file->mtime = time(NULL); 616 #if 0 // as time() delivers elapsed time in epoch we already have UTC 616 617 t = get_time_zone(file->mtime); 617 618 debuglocal(4,"cli_open mtime %lu %lu\n", file->mtime, t); 618 619 file->mtime -= t; 620 #endif 621 debuglocal(4,"cli_open new mtime %lu\n", file->mtime); 619 622 } 620 623 file->offset = 0; … … 755 758 } 756 759 757 debuglocal(4,"cli_setnewfiles zie(%s) %lld\n", file->fname, newsize);760 debuglocal(4,"cli_setnewfilesize(%s) %lld\n", file->fname, newsize); 758 761 if (!cli_setfilenewsize(cli, file->fd, newsize)) 759 762 {
Note:
See TracChangeset
for help on using the changeset viewer.