mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 13:40:19 +00:00
fix lyx::mkdir 2nd argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3568b4ba8
commit
2b7e2f9a7d
@ -1,3 +1,9 @@
|
|||||||
|
2000-01-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
|
* src/support/mkdir.C (mkdir): change second argument of mkdir to
|
||||||
|
unsigned long int.
|
||||||
|
* src/support/lyxlib.h: ditto.
|
||||||
|
|
||||||
2000-01-20 Lars Gullik Bjønnes <larsbj@lyx.org>
|
2000-01-20 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||||
|
|
||||||
* src/support/lyxsum.C: move using std::ifstream inside
|
* src/support/lyxsum.C: move using std::ifstream inside
|
||||||
|
@ -36,7 +36,7 @@ namespace lyx {
|
|||||||
///
|
///
|
||||||
void abort();
|
void abort();
|
||||||
///
|
///
|
||||||
int mkdir(char const * pathname, unsigned int mode);
|
int mkdir(char const * pathname, unsigned long int mode);
|
||||||
///
|
///
|
||||||
int putenv(char const * str);
|
int putenv(char const * str);
|
||||||
}
|
}
|
||||||
@ -57,7 +57,7 @@ struct lyx {
|
|||||||
///
|
///
|
||||||
static void abort();
|
static void abort();
|
||||||
///
|
///
|
||||||
static int mkdir(char const * pathname, unsigned int mode);
|
static int mkdir(char const * pathname, unsigned long int mode);
|
||||||
///
|
///
|
||||||
static int putenv(char const * str);
|
static int putenv(char const * str);
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#ifdef CXX_WORKING_NAMESPACES
|
#ifdef CXX_WORKING_NAMESPACES
|
||||||
namespace lyx {
|
namespace lyx {
|
||||||
int mkdir(char const * pathname, mode_t mode)
|
int mkdir(char const * pathname, unsigned long int mode)
|
||||||
{
|
{
|
||||||
return ::mkdir(pathname, mode);
|
return ::mkdir(pathname, mode);
|
||||||
}
|
}
|
||||||
@ -15,7 +15,7 @@ namespace lyx {
|
|||||||
#else
|
#else
|
||||||
#include "lyxlib.h"
|
#include "lyxlib.h"
|
||||||
|
|
||||||
int lyx::mkdir(char const * pathname, mode_t mode)
|
int lyx::mkdir(char const * pathname, unsigned long int mode)
|
||||||
{
|
{
|
||||||
return ::mkdir(pathname, mode);
|
return ::mkdir(pathname, mode);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user