<div dir="auto">I understand you point. So, in order to resolve the issue if I shift the cache creation to the vlsub itself, will it be ok then?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 10 Mar 2019, 21:29 Remi Denis-Courmont, <<a href="mailto:remi@remlab.net">remi@remlab.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2019-03-10 07:39, Aakash Singh a écrit :<br>
> Hey Remi<br>
> <br>
> I dont't think a cache directory which does not exist is of much use.<br>
<br>
And I don't think mismatched semantics between C and Lua API is a good <br>
idea.<br>
<br>
> So whenever some lua extension asks for the cache directory it is made<br>
> sure that it already exists.<br>
<br>
That's a very arbitrary rule for which I fail to see a rationale.<br>
<br>
A cache directory without write permission or to a full partition is not <br>
"of much use", and yet you don't handle that. A cache directory that is <br>
world-readable or worse, word-writable is outright harmful, and you <br>
don't handle that either.<br>
<br>
> The problem regarding parent directory<br>
> not existing, I went through dirs.c for different operating systems<br>
> and they all return paths with cache directory being child directory<br>
> of some directory created by the system by default.<br>
<br>
I don't think that's true. Linux does not create .cache by default, that <br>
I'd know of.<br>
<br>
-- <br>
Rémi Denis-Courmont<br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a></blockquote></div>