diff options
Diffstat (limited to 'emulators/hercules/patches/patch-am')
-rw-r--r-- | emulators/hercules/patches/patch-am | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/hercules/patches/patch-am b/emulators/hercules/patches/patch-am new file mode 100644 index 00000000000..b73123135e7 --- /dev/null +++ b/emulators/hercules/patches/patch-am @@ -0,0 +1,20 @@ +$NetBSD: patch-am,v 1.1 2001/03/23 16:20:56 agc Exp $ + +Patch from Wolfgang Solfrank: + +Disabling the O_SYNC option when opening printer or punch. + +--- cardpch.c.orig Sun Jan 28 18:05:38 2001 ++++ cardpch.c Fri Mar 23 16:01:53 2001 +@@ -155,9 +155,9 @@ + { + rc = open (dev->filename, + #ifdef WIN32 +- O_WRONLY | O_CREAT | O_TRUNC | O_SYNC | O_BINARY, ++ O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, + #else /* WIN32 */ +- O_WRONLY | O_CREAT | O_TRUNC | O_SYNC, ++ O_WRONLY | O_CREAT | O_TRUNC, + #endif /* WIN32 */ + S_IRUSR | S_IWUSR | S_IRGRP); + if (rc < 0) |