From 26a55c330a8cd79da290b2ad0e15aaf94be6ebcf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Jul 2005 06:57:25 +0000 Subject: 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) --- source4/scripting/libjs/base.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source4/scripting/libjs') 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 @@ -9,6 +9,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 */ -- cgit