summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-06 09:56:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-06 09:56:08 +0200
commitbc22ed879c05836e0f1d5e40f0f4a052d1f9d511 (patch)
tree43cc2c754bc9a18913b4bbb37a440446762cfa3b /tools.h
parent068e17303c93dcca4521a8f9c09eb7b8a4dc5104 (diff)
downloadvdr-bc22ed879c05836e0f1d5e40f0f4a052d1f9d511.tar.gz
vdr-bc22ed879c05836e0f1d5e40f0f4a052d1f9d511.tar.bz2
Files and directories are now created with rights according to the shell's umask settings
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index 079e58d0..0644f4e6 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.72 2005/05/29 10:24:54 kls Exp $
+ * $Id: tools.h 1.73 2005/08/06 09:53:21 kls Exp $
*/
#ifndef __TOOLS_H
@@ -158,7 +158,7 @@ public:
cFile(void);
~cFile();
operator int () { return f; }
- bool Open(const char *FileName, int Flags, mode_t Mode = S_IRUSR | S_IWUSR | S_IRGRP);
+ bool Open(const char *FileName, int Flags, mode_t Mode = DEFFILEMODE);
bool Open(int FileDes);
void Close(void);
bool IsOpen(void) { return f >= 0; }