openbsd-ports/comms/hylafax/patches/patch-faxd_Getty_c++
2008-02-08 23:10:45 +00:00

16 lines
605 B
Plaintext

$OpenBSD: patch-faxd_Getty_c++,v 1.3 2008/02/08 23:10:45 okan Exp $
--- faxd/Getty.c++.orig Tue May 15 17:52:03 2007
+++ faxd/Getty.c++ Wed Nov 7 17:29:51 2007
@@ -228,9 +228,9 @@ void
Getty::hangup()
{
// NB: this is executed in the parent
- fxStr device = fxStr::format("%s" | line, _PATH_DEV);
+ fxStr device = fxStr::format("%s/" | line, _PATH_DEV);
Sys::chown(device, UUCPLock::getUUCPUid(), UUCPLock::getUUCPGid());
- Sys::chmod(device, 0600); // reset protection
+ Sys::chmod(device, 0660); // reset protection
}
extern void vlogError(const char* fmt, va_list ap);