svn commit: samba r11458 - in branches/SAMBA_4_0/source/scripting:
bin ejs libjs
tridge at samba.org
tridge at samba.org
Wed Nov 2 01:04:01 GMT 2005
Author: tridge
Date: 2005-11-02 01:04:00 +0000 (Wed, 02 Nov 2005)
New Revision: 11458
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11458
Log:
fixed our ejs smbscript interfaces to use arrays where appropriate. In
js arrays are a special type of object where the length property is
automatic, and cannot be modified manually. Our code was manually
setting length, which made it abort when someone passed in a real ejs
array. To fix this we need to create real arrays instead of objects,
and remove the code that manually sets the length
Modified:
branches/SAMBA_4_0/source/scripting/bin/winreg
branches/SAMBA_4_0/source/scripting/ejs/mprutil.c
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_data.c
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_samba3.c
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_string.c
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_sys.c
branches/SAMBA_4_0/source/scripting/libjs/management.js
branches/SAMBA_4_0/source/scripting/libjs/winreg.js
Changeset:
Sorry, the patch is too large (384 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11458
More information about the samba-cvs
mailing list