mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Add in extra args required for open() on Linux
This commit is contained in:
parent
f4a6262757
commit
56683a700b
1 changed files with 4 additions and 0 deletions
|
@ -139,7 +139,11 @@ _DtCvRunInterp(
|
||||||
* write the data to file.
|
* write the data to file.
|
||||||
*/
|
*/
|
||||||
result = -1;
|
result = -1;
|
||||||
|
#if defined(linux)
|
||||||
|
myFd = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU | S_IRWXG | S_IRWXO);
|
||||||
|
#else
|
||||||
myFd = open(fileName, O_WRONLY | O_CREAT | O_TRUNC);
|
myFd = open(fileName, O_WRONLY | O_CREAT | O_TRUNC);
|
||||||
|
#endif
|
||||||
if (myFd != -1)
|
if (myFd != -1)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue