[PATCH] buildtools: Use separate storage for each function in runonce

Petr Viktorin pviktori at redhat.com
Fri Jan 16 10:55:31 MST 2015

I ran across this curiosity while trying to wrap my head around the 
build system:

     def add_one(x):
         return x + 1

     def sub_one(x):
         return x - 1

     add_one(1) # returns 2
     sub_one(1) # also returns 2!

Fix attached.

Petr Viktorin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-buildtools-Use-separate-storage-for-each-function-in.patch
Type: text/x-patch
Size: 1278 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150116/d37becee/attachment.bin>

More information about the samba-technical mailing list