Changeset 510 for branches


Ignore:
Timestamp:
Jan 4, 2011, 1:53:38 PM (15 years ago)
Author:
Silvan Scherrer
Message:

samba client 2.0: invalidate cache, when files are changed

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

Legend:

Unmodified
Added
Removed
  • branches/client-2.0/src/debug.c

    r507 r510  
    3030#include <sys/stat.h>
    3131
    32 int debuglevel = 1; // we set it to 9, so we get all messages
     32int debuglevel = ; // we set it to 9, so we get all messages
    3333char logfile[_MAX_PATH +1]  = {0};
    3434char debugfile[_MAX_PATH +1] = {0};
     
    5151        struct stat filestat;
    5252
    53         // do we have to log at all
     53        // do we have to log at all
    5454/*      if (!debuglvl(level))
    5555        {
  • branches/client-2.0/src/help/ndpsmb.ipf

    r497 r510  
    264264:ul.
    265265:li.added dir caching
     266
     267
     268
     269
     270
    266271:eul.
    267272:eul.
  • branches/client-2.0/src/help/ndpsmb_de.ipf

    r501 r510  
    270270:li.Caching von Verzeichnissen
    271271:eul.
     272
     273
     274
     275
     276
    272277:eul.
    273278.******************************************************
  • branches/client-2.0/src/help/ndpsmb_fr.ipf

    r497 r510  
    355355:li.added dir caching
    356356:eul.
     357
     358
     359
     360
     361
    357362:eul.
    358363:p.
  • branches/client-2.0/src/help/readme.txt

    r497 r510  
    256256v2.0.0 beta1
    257257   - added dir caching
     258
     259
     260
     261
     262
  • branches/client-2.0/src/help/readme_de.txt

    r497 r510  
    268268   - Caching von Verzeichnissen
    269269
     270
     271
     272
     273
  • branches/client-2.0/src/help/readme_fr.txt

    r497 r510  
    329329   - added dir caching
    330330
     331
     332
     333
    331334
    332335Traduction fran‡aise : Guillaume Gay <[email protected]>
  • branches/client-2.0/src/ndpsmb.c

    r507 r510  
    11861186        smbwrp_fileinfo finfo;
    11871187
    1188         debug_printf("NdpSetPathInfo in FIXME [%p]\n", pConn);
     1188        debug_printf("NdpSetPathInfo in [%p]\n", pConn);
     1189
     1190        // delete the dir cache
     1191        dircache_invalidate(szPathName, pRes->pdc, 1);
    11891192
    11901193        do {
     
    19741977        unsigned long action;
    19751978
    1976         debuglocal(9,"NdpFileSetFilePtrl in [%p]\n", pConn);
     1979        debuglocal(9,"NdpFileSetFilePtr in [%p]\n", pConn);
    19771980
    19781981        do {
     
    20112014        debuglocal(9,"NdpFileClose in [%p] %d <%s>\n", pConn, pConn->file.fd, pConn->file.fd < 0 ? "!null!" : pConn->file.fname);
    20122015
     2016
     2017
     2018
    20132019        do {
    20142020                if (pConn->file.fd < 0)
Note: See TracChangeset for help on using the changeset viewer.