svn commit: samba r23047 - in branches/SAMBA_4_0/source/scripting/ejs: .

Andrew Bartlett abartlet at samba.org
Mon May 21 23:46:51 GMT 2007


On Mon, 2007-05-21 at 19:53 +0000, mimir at samba.org wrote:
> Author: mimir
> Date: 2007-05-21 19:53:57 +0000 (Mon, 21 May 2007)
> New Revision: 23047
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23047
> 
> Log:
> Allow local inclusion of js files as well as from predefined
> path(s).

> +		/* First, try to include file from current working directory.
> +		   This allows local includes which is handy sometimes. */
> +		path = talloc_asprintf(mprMemCtx(), "%s", script);
> +		if (path == NULL) {
> +			return -1;
> +		}

Does that mean that the script behaviour will vary depending on the
current working directory, or is this relative to the location of the
script?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070522/b964debe/attachment.bin


More information about the samba-technical mailing list