[Scilab-users] Clone a function, continued
Samuel Gougeon
sgougeon at free.fr
Wed Feb 28 17:43:59 CET 2018
Le 28/02/2018 à 17:21, Samuel Gougeon a écrit :
>
> On my side, with the following lib file:
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <scilablib name="testlib">
> <macro name="fun1" file="fun1.bin" md5="332cdd3297cdcb56652a3399056f02ed"/>
> <macro name="fun2" file="fun1.bin" md5="332cdd3297cdcb56652a3399056f02ed"/>
> </scilablib>
> it is possible to load the library, but then, first issue, only fun2
> is reported:
> --> lib ./
> ans =
> Functions files location : TMPDIR\test.
>
> fun2
>
> And then, also in this case, calling fun2(1) crashes Scilab...
After
http://mailinglists.scilab.org/Scilab-users-Scilab-and-hdf5-format-small-survey-tp4037711p4037721.html
:
When on Windows making a *symbolic link*
--> host("mklink test2.sci test1.sci") // mklink copy source
and then running genlib (=> no complain), genlib yields the following
lib file:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<scilablib name="testlib">
<macro name="fun2" file="fun1.bin" md5="332cdd3297cdcb56652a3399056f02ed"/>
</scilablib>
!
Then, running fun2(1) crashes Scilab (at least this unstability is...
constant ;)
Let's try making and using a hard link...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180228/1a40d3f3/attachment.htm>
More information about the users
mailing list