Changeset 268


Ignore:
Timestamp:
Jun 16, 2009, 9:40:06 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

smb.cmd: Add : and $ to replacement chars (prevents crash with vfs and print$)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/scripts/smb_init/smb.cmd

    r267 r268  
    1 /* Samba Server for eCS (OS/2) init script Version 3.0.3
     1/* Samba Server for eCS (OS/2) init script Version 3.0.4
    22   Copyright (C) netlabs.org 2007-2009
    33
     
    443443        else do /* new parm */
    444444            parse var smbline parm'='pvalue
    445             parm = translate(strip(parm),'_',' ')
     445            parm = translate(strip(parm),'_!?',' :$')
    446446            pvalue = strip(pvalue)
    447447            p = p + 1
     
    461461IniGet: /* Replacement IniGet routine to access the value of a known
    462462           parameter */
    463     iparm = translate(arg(1),'_!',' :')
     463    iparm = translate(arg(1),'_!?',' :$')
    464464    isection = arg(2)
    465465    /* Third parameter is ignored, as the file is not required here */
Note: See TracChangeset for help on using the changeset viewer.