Changeset 514 for trunk/client/src


Ignore:
Timestamp:
Jan 7, 2011, 12:06:57 PM (15 years ago)
Author:
Silvan Scherrer
Message:

samba client 2.1: caching and text improvments

Location:
trunk/client/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/src/help/readme.txt

    r499 r514  
    7171DLL) somewhere in your LIBPATH, if it is not there already (It comes with any
    7272recent eComStation release).
     73The plugin needs the 32 bit TCP/IP stack. This stack comes with all eComStation
     74releases. If you have still the 16 bit stack, please search the net for the 32 bit stack.
    7375
    74763.1 Netdrive
     
    93954. NDPSMB.DLL
    9496_____________
     97
    9598
    96994.1. Usage with Netdrive
  • trunk/client/src/help/readme_de.txt

    r499 r514  
    7575Innotek GCC Runtime DLL) irgendwo in Ihrem LIBPATH, wenn sie nicht schon dort
    7676ist (Sie kommt mit allen bisherigen eComStation Versionen).
     77Desweiteren ben”tigt das Plugin den 32 bit TCP/IP Stack. Auch dieser kommt mit allen
     78eComstation Versionen mit. Falls noch der 16 bit stack installiert ist, suchen Sie
     79bitte im Internet nach dem 32 bit stack.
    7780
    78813.1 Netdrive
     
    971004. NDPSMB.DLL
    98101_____________
     102
    99103
    1001044.1. Verwendung mit Netdrive
  • trunk/client/src/help/readme_fr.txt

    r499 r514  
    8484_______________
    8585
     86The plugin needs the klibc runtime named libc06*.dll (the innotek gcc runtime
     87DLL) somewhere in your LIBPATH, if it is not there already (It comes with any
     88recent eComStation release).
     89The plugin needs the 32 bit TCP/IP stack. This stack comes with all eComStation
     90releases. If you have still the 16 bit stack, please search the net for the 32 bit stack.
    8691
    87923.1 Netdrive
  • trunk/client/src/ndpsmb.c

    r508 r514  
    408408
    409409        /* Create a directory cache with expiration time 15 seconds and up to 32 listings cached. */
    410         dircache_create(&pRes->pdc, 10, 32);
     410        dircache_create(&pRes->pdc, 15, 32);
    411411
    412412        return rc;
     
    10881088        debug_printf("NdpSetPathInfo in [%p]\n", pConn);
    10891089
    1090         // delete the dir chache
     1090        // delete the dir cache
    10911091        dircache_invalidate(szPathName, pRes->pdc, 1);
    10921092
     
    19141914        debuglocal(9,"NdpFileClose in [%p] %d <%s>\n", pConn, pConn->file.fd, pConn->file.fd < 0 ? "!null!" : pConn->file.fname);
    19151915
    1916         // delete the dir chache
    1917         dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
    1918 
    19191916        do {
    19201917                if (pConn->file.fd < 0)
     
    20382035        debuglocal(9,"NdpFileWrite in [%p]\n", pConn);
    20392036
     2037        /* delete the dir cache
     2038        this was moved from NdpFileClose() becasue if there are a lot files in the tree all are reread
     2039        the problem when moved to here is, that last accessed time is not refreshed
     2040        if this is needed, a new function needs to be done to update only one file in the cache */
     2041        dircache_invalidate(pConn->file.fullname, pRes->pdc, 1);
     2042
    20402043        do {
    20412044                if (pConn->file.fd < 0)
  • trunk/client/src/resources/instpl.cmd

    r401 r514  
    1 @echo off
    2 REM this script is executed from NLS directory!
    3 copy ndpsmb.hlp ..
    4 cd ..
    5 nd.exe plugin install ndpsmb.ndp
    6 del ndpsmb.hlp
     1/* Install Samba Plugin */
     2call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
     3call SysLoadFuncs
     4'@echo off'
     5
     6/* Add supported languages here */
     7langs = "DE,FR,EN"
     8
     9ok = SysFileTree("ndpsmb.dll",exist.,"FO")
     10if exist.0 = 0 then do
     11  say "Plugin not found in current directory! Aborting..."
     12  exit -1
     13end
     14
     15lang = translate(arg(1))
     16if lang = "" then do
     17  lang = translate(left(strip(value("LANG",,"OS2ENVIRONMENT")),2))
     18end
     19if pos(lang,langs) = 0 then lang = 'EN'
     20say 'Installing 'lang
     21'copy .\'lang'\ndpsmb.hlp 1>NUL'
     22'nd.exe plugin install ndpsmb.ndp'
     23ok = SysFileDelete("ndpsmb.hlp")
Note: See TracChangeset for help on using the changeset viewer.