9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9port: flock on sunos5.8?
@ 2004-06-23 20:47 Axel Belinfante
  2004-06-23 21:17 ` boyd, rounin
  2004-06-24  9:03 ` Bengt Kleberg
  0 siblings, 2 replies; 8+ messages in thread
From: Axel Belinfante @ 2004-06-23 20:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

yet another instance of 'spending some time on plan9port on sunos 5.8'.

lib9/create.c needs/uses bsd-style flock which is not available by default,
but accessable using /usr/usb/cc
(this is what I figure from the source and  sun's flock man page)
LOCK_SH and LOCK_EX can be found using /usr/ucbinclude/sys/file.h
and there is a ucb compatibility library.

Any good idea for a way around?

I tried a straightforward addition of -I/sys/ucbinclude in 9c
and -L/sys/ucblib -lucb to 9lbiut that is obviously not good enough.
it works for some files breaks breaks on some others :-(

Yet another thing I don't know much about...

Axel.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-24 15:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23 20:47 [9fans] plan9port: flock on sunos5.8? Axel Belinfante
2004-06-23 21:17 ` boyd, rounin
2004-06-24  9:03 ` Bengt Kleberg
2004-06-24 13:20   ` William Josephson
2004-06-24 13:22     ` William Josephson
2004-06-24 13:43   ` [9fans] plan9port (: flock) " Axel Belinfante
2004-06-24 14:21     ` boyd, rounin
2004-06-24 15:25     ` William Josephson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).