[PATCH] fileread for the std VMOD

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Nov 10 10:46:44 CET 2010

In message <AANLkTi=-5mmbrqGve4G6hLvny0wkHF=GdNjy-=LwCgwy at mail.gmail.com>, Sanj
oy Das writes:

>I've attached the patch
>(fileread-std-vmod.diff) for review. 

Will look.

>While working on the above I ran into a small problem with the import
>statement - VCC does not seem to like `import std':
>Message from VCC-compiler:
>Could not load module std

The "XXX" means that I need to corner Tollef, to settle the technicalities
around the default vmod directory.

You just have to specify the path as 3rd. argument for now:

	import std "/some/where/libvmod.so"

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-dev mailing list