diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-12 06:57:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:20:10 -0500 |
commit | 26a55c330a8cd79da290b2ad0e15aaf94be6ebcf (patch) | |
tree | 85c23207c8baac99d60163bb3e3089d7e2cabb04 /source4/scripting/libjs | |
parent | 102e24761189306fdf6233481ada43e99a56b5e7 (diff) | |
download | samba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.tar.gz samba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.tar.bz2 samba-26a55c330a8cd79da290b2ad0e15aaf94be6ebcf.zip |
r8355: - added a vsprintf() function
- removed the --outputdir option from provision, as its not used any
more (as ejs knows the real paths)
(This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r-- | source4/scripting/libjs/base.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/scripting/libjs/base.js b/source4/scripting/libjs/base.js index c6b05755c4..181b3ca959 100644 --- a/source4/scripting/libjs/base.js +++ b/source4/scripting/libjs/base.js @@ -10,6 +10,14 @@ if (global["HAVE_BASE_JS"] != undefined) { HAVE_BASE_JS=1 /* + an essential function! +*/ +function printf() +{ + print(vsprintf(arguments)); +} + +/* helper function to setup a rpc io object, ready for input */ function irpcObj() |