1 |
|
/* |
2 |
|
* xpram_beos.cpp - XPRAM handling, BeOS specific stuff |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
58 |
|
if (xpram_path.InitCheck() != B_NO_ERROR) |
59 |
|
return; |
60 |
|
int fd; |
61 |
< |
if ((fd = open(xpram_path.Path(), O_WRONLY | O_CREAT, 0664)) >= 0) { |
61 |
> |
if ((fd = open(xpram_path.Path(), O_WRONLY | O_CREAT, 0666)) >= 0) { |
62 |
|
write(fd, XPRAM, 256); |
63 |
|
close(fd); |
64 |
|
} |