Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!oliveb!pyramid!tub!tmpmbx!netmbx!fischer From: fischer@netmbx.UUCP (Axel Fischer) Newsgroups: alt.sources Subject: Xenix Sys V Patch For GNUgo Message-ID: <2493@netmbx.UUCP> Date: 1 Apr 89 11:03:59 GMT Reply-To: fischer@netmbx.UUCP (Axel Fischer) Organization: netmbx Public Access Unix, Berlin, West Germany Lines: 47 This one is a very simple patch for GNUgo to run under Xenix System V. Just replace the orginal seed.c with this one: ------------------------------------- cut here --------------------------------- /* GNU GO - the game of Go (Wei-Chi) Version 1.1 last revised 3-1-89 Copyright (C) Free Software Foundation, Inc. written by Man L. Li modified by Wayne Iba documented by Bob Webber */ /* Xenix System V patch by Axel Fischer (...!uunet!pyramid!tmpmbx!netmbx!fischer) Just replace the orginal seed.c with this one and type make */ #include #include seed(i) /* start seed of random number generator for Xenix System V */ int *i; { struct tm *tm ; long *clock ; tzset() ; time(&clock) ; tm = localtime(&clock) ; *i = tm->tm_sec ; } /* end seed */ -------------------------------------- cut here -------------------------------- -- Domain: fischer@netmbx.UUCP Europe: ...!tmpmbx!netmbx!fischer Rest of world: ...!uunet!pyramid!tmpmbx!netmbx!fischer =====> Beam me up, Scotty - there is no intelligent life down here ! <=====