> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc Lasgouttes wrote:
Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by
Lars> :-)
>> I cursory look did not provide insight. I'll look closer tomorrow.
>>
>> JMarc
Angus> I found this. Which .m4 file shou
Jean-Marc Lasgouttes wrote:
> Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by
> Lars> :-)
>
> I cursory look did not provide insight. I'll look closer tomorrow.
>
> JMarc
I found this. Which .m4 file should I put it in?
dnl
dnl Determine if mkdir accepts only one argument i
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by
Lars> :-)
I cursory look did not provide insight. I'll look closer tomorrow.
JMarc
Angus Leeming <[EMAIL PROTECTED]> writes:
| Consider this patch:
>
| int lyx::mkdir(string const & pathname, unsigned long int mode)
| {
| // FIXME: why don't we have mode_t in lyx::mkdir prototype ??
| +#ifdef _WIN32
| + return ::mkdir(pathname.c_str());
| +#else
| return ::mkdir(pathname.c
Lars Gullik Bjønnes wrote:
> who is lyx::mkdir used. Do we every use any fancy mode values?
Well, we do use different mode values:
src/support/filetools.C:
if (tmpfl.empty() || lyx::mkdir(tmpfl, 0700)) {
if (lyx::mkdir(tmpfl, 0777)) {
if (lyx::mkdir(deflt, 0777)) {
bool createDirectory(string
Consider this patch:
int lyx::mkdir(string const & pathname, unsigned long int mode)
{
// FIXME: why don't we have mode_t in lyx::mkdir prototype ??
+#ifdef _WIN32
+ return ::mkdir(pathname.c_str());
+#else
return ::mkdir(pathname.c_str(), mode_t(mode));
+#endif
}
I guess that configure sh