blob: 9f8364ebbcf8c4332e7273577c9b31902f49f6c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- src/utils.cpp.orig Tue May 16 22:33:14 2000
+++ src/utils.cpp Tue Jun 27 20:57:09 2000
@@ -22,6 +22,7 @@
#include <ctype.h>
#ifdef __FreeBSD__
# include <stdlib.h>
+# include <sys/syslimits.h>
#else
# include <malloc.h>
#endif
@@ -144,7 +145,7 @@
// Open file and create path if need.
char *tmt;
char Buff[1024];
- umask(0);
+ umask(022);
strcpy(Buff,Name);
tmt = strrchr(Buff,PATHDELIMC);
if (tmt != NULL) {
|