c31ae32b24
U9fs is a program that serves Unix files to Plan 9 machines using the 9P protocol. Its standard input and output are connected to a network connection, typically TCP on an Ethernet. It assumes Plan 9 uids match Unix login names, and changes to the corresponding Unix effective uid when processing requests. Characters in file and directory names unacceptable to Plan 9 are translated into a three-character sequence: followed by two hexadecimal digits. U9fs serves both 9P1 (the 9P protocol as used by the second and third editions of Plan 9) and 9P2000. from Stanley Lieber (MAINTAINER), with some tweaks by me. ok sthen@
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
$OpenBSD: patch-safecpy_c,v 1.1.1.1 2011/03/16 08:44:49 jasper Exp $
|
|
--- safecpy.c.orig Tue Mar 15 14:41:45 2011
|
|
+++ safecpy.c Tue Mar 15 14:41:53 2011
|
|
@@ -1,4 +1,5 @@
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
|
|
void
|
|
safecpy(char *to, char *from, int tolen)
|