diff options
author | John Polstra <jdp@FreeBSD.org> | 1997-07-11 05:19:18 +0000 |
---|---|---|
committer | John Polstra <jdp@FreeBSD.org> | 1997-07-11 05:19:18 +0000 |
commit | 7239ee8d565ed28064bbc5da4e41d5ac09a457bd (patch) | |
tree | 32010f72043dca95de4009c1d340c25f2ddd4237 /print/virtualpaper/files/patch-ab | |
parent | Add several bugfixes. Produce more informative messages when (diff) |
Fix PR ports/3572 by using mkfifo instead of mknod. Update for new
shared library version numbers in the modula-3-lib port.
PR: Closes ports/3572
Submitted by: gjm11@dpmms.cam.ac.uk (Gareth McCaughan)
Diffstat (limited to '')
-rw-r--r-- | print/virtualpaper/files/patch-ab | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/print/virtualpaper/files/patch-ab b/print/virtualpaper/files/patch-ab new file mode 100644 index 000000000000..f3f0c6eae178 --- /dev/null +++ b/print/virtualpaper/files/patch-ab @@ -0,0 +1,19 @@ +Use mkfifo instead of mknod to create a FIFO. Mknod require root +privileges. + +Index: buildlectern/src/POSIX/OSUtilsPosix.m3 +--- OSUtilsPosix.m3.orig Mon May 20 13:04:46 1996 ++++ OSUtilsPosix.m3 Thu Jul 10 21:03:34 1997 +@@ -32,10 +32,10 @@ + VAR pFifo: TEXT := NIL; + + PROCEDURE CreateFifo(p: TEXT) RAISES {OSError.E} = +- CONST Mode = Unix.fifo_special + Unix.MROWNER + Unix.MWOWNER; ++ CONST Mode = Unix.MROWNER + Unix.MWOWNER; + BEGIN + <* ASSERT pFifo=NIL *> +- IF Unix.mknod(M3toC.TtoS(p), Mode, 0) < 0 THEN ++ IF Unix.mkfifo(M3toC.TtoS(p), Mode) < 0 THEN + OSErrorPosix.Raise(); + END; + pFifo := p; |