1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/devel/libcoro/files/patch-aa
Maxim Sobolev d48cef5bf1 New port of libcoro - a C library that implements coroutines (I donno what I've
just said :-O).

PR:		19463
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-06-23 10:08:05 +00:00

15 lines
463 B
Plaintext

diff -u arch/x86-freebsd/coro.c arch/x86-freebsd/coro.c
--- arch/x86-freebsd/coro.c Fri Jun 23 00:15:18 2000
+++ arch/x86-freebsd/coro.c Fri Jun 23 00:16:38 2000
@@ -63,7 +63,7 @@
size += 4096-1;
size &= ~(4096-1);
stack = mmap(0, size, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
+ MAP_PRIVATE|MAP_ANON, -1, 0);
if (stack == (void*)-1)
return 0;
Only in arch/x86-freebsd: coro.o
Only in arch/x86-freebsd: libcoro.a