mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
3db916d092
PR: 23711 Submitted by: Sergey Samoyloff <gonza@techline.ru>
21 lines
564 B
C++
21 lines
564 B
C++
--- src/outbound.cpp.orig Sun May 21 18:09:12 2000
|
|
+++ src/outbound.cpp Tue May 23 12:43:00 2000
|
|
@@ -373,7 +373,7 @@
|
|
fclose (fh);
|
|
unlink(TmtName);
|
|
|
|
- bfh = open(BsyName,O_CREAT | O_EXCL,0666);
|
|
+ bfh = open(BsyName,O_CREAT | O_EXCL,0640);
|
|
if (bfh == -1) {
|
|
return FALSE;
|
|
}
|
|
@@ -858,7 +858,7 @@
|
|
}
|
|
fclose (fh);
|
|
unlink(TmtName);
|
|
- bfh = open(Buff,O_CREAT | O_EXCL,0666);
|
|
+ bfh = open(Buff,O_CREAT | O_EXCL,0640);
|
|
if (bfh == -1) {
|
|
Log.Level(LOGW) << "Packet " << Name << " is locked." << EOL;
|
|
return TRUE;
|