Annotation of pkgsrc/comms/libopensync/patches/patch-opensync_opensync__group.c, revision 1.1
1.1 ! richard 1: $NetBSD$
! 2: Recent versions of Illumos implement flock()
! 3:
! 4: --- opensync/opensync_group.c.orig 2007-03-27 11:49:18.000000000 +0000
! 5: +++ opensync/opensync_group.c
! 6: @@ -26,10 +26,10 @@
! 7: extern int errno;
! 8:
! 9: /*
! 10: - * On Solaris no flock function exists,
! 11: - * we must implenet it here
! 12: + * On Solaris if no flock function exists,
! 13: + * we must implement it here
! 14: */
! 15: -#ifdef SOLARIS
! 16: +#if defined(SOLARIS) && !defined(LOCK_EX)
! 17:
! 18: #define LOCK_SH 1
! 19: #define LOCK_EX 2
CVSweb <webmaster@jp.NetBSD.org>