Ignore:
Timestamp:
Apr 26, 2010, 4:51:52 PM (15 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: Latest EVFSGUI changes

Location:
branches/guitools-2.0/shared
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-2.0/shared/nlv.vrs

    r410 r450  
    6969                if nlvmsg.0 = 1 then do
    7070                    say "  Found  NLV "Suffix" file in subdirectory"
    71                     settings.!messages = VRParseFilename(nlvmsg.1,"DPN")'.msg'
     71                    NLVFile = VRParseFilename(nlvmsg.1,"DPN")'.'Suffix
    7272                    say "  Adding NLV "Suffix" path to "PathVar
    7373                    OldPathVar = value(PathVar,,"OS2ENVIRONMENT")
     
    128128    PARSE VAR msgtxt message '0D'x .
    129129
    130     IF translate(SUBSTR( message, 1, 4 )) == 'SYS0' THEN message = ''
     130    IF translate(SUBSTR( message, 1, 4 )) == 'SYS0' THEN message = '[Missing message 'msgnum'!]'
    131131
    132132RETURN message
  • branches/guitools-2.0/shared/rxrpclib.vrs

    r405 r450  
    344344            leave
    345345        end
     346        if pos("TDB(", translate(rpcline)) > 0 then do
     347            Failure = 1
     348            /* provide a fake NT_STATUS */
     349            rpcline = 'NT_STATUS_TDBERROR 'rpcline
     350            leave
     351        end
     352
    346353        parse var rpcline token ':' tvalue
    347354        token = translate(strip(strip(translate(token),'L','09'x)),'_',' ')
  • branches/guitools-2.0/shared/smbtree.vrs

    r393 r450  
    175175    smbmachine = TempDir||"smbmachine."||machine
    176176
     177    if UserCred   = 'USERCRED'   | UserCred = '' | UserCred = '--user=%' then UserCred = '-N'
     178
    177179    say       '  detach 'samba.!smbclientexe' -L "'strip(machine)'" 'UserCred' 'debuglevel' 1>'smbmachine' 2>NUL'
    178180    address cmd 'detach 'samba.!smbclientexe' -L "'strip(machine)'" 'UserCred' 'debuglevel' 1>'smbmachine' 2>NUL'
     181
     182    if UserCred = '-N' then UserCred = ''
    179183
    180184    RefreshMode = "SHARE"
     
    259263
    260264                select
    261                     when type = "DISK"    then res = '#34:PMWP.DLL'
     265                    when type = "DISK"    then res = '#64:PMWP.DLL'
    262266                    when type = "PRINTER" then res = '#65:PMWP.DLL'
    263267                    when type = "IPC"     then res = '#59:PMWP.DLL'
     
    306310        else say '  Got "'stat'" for "'smbmachine.I'"'
    307311    end
     312
     313    if UserCred = '-N' then UserCred = ''
     314
    308315    say time()' _AddSharesDisplay() loop end'
    309316return
Note: See TracChangeset for help on using the changeset viewer.