diff --git a/INSTALL b/INSTALL --- a/INSTALL +++ b/INSTALL @@ -2,7 +2,7 @@ Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, -2006, 2007, 2008 Free Software Foundation, Inc. +2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -159,7 +159,7 @@ Particular systems CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: - ./configure CC="cc -Ae" + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. @@ -174,6 +174,16 @@ and if that doesn't work, try ./configure CC="cc -nodtk" + On Solaris, don't put `/usr/ucb' early in your `PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' +in your `PATH', put it _after_ `/usr/bin'. + + On Haiku, software installed for all users goes in `/boot/common', +not `/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + Specifying the System Type ========================== @@ -189,7 +199,8 @@ type, such as `sun4', or a canonical nam where SYSTEM can have one of these forms: - OS KERNEL-OS + OS + KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -402,7 +402,7 @@ int find_jobframe(struct distrenjob *hea sleep(1); /*< @todo eliminate the need for this line*/ return 1; } - + fprintf(stderr, "jobnum: %d", frame_counter); *job = distrenjob_ptr; *frame = &distrenjob_ptr->frameset[frame_counter]; @@ -991,7 +991,7 @@ int main(int argc, char *argv[]) distrend_do_config(argc, argv, &config); - + prepare_distrenjob(&head, 1, "awesome", "LordOfWar", "onlylordofwar@gmail.com", 4, 1, 100, 640, 480); while(test == 1) { diff --git a/src/server/distrenjob.c b/src/server/distrenjob.c --- a/src/server/distrenjob.c +++ b/src/server/distrenjob.c @@ -64,6 +64,7 @@ int distrenjob_new(struct distrenjob **d dj->assigned_frames = 0; dj->total_render_time = 0; dj->hibernate = 0; + dj->prev_frame_index = 5; dj->watchdog_forgiveness = 3600; // initialize watchdog forgiveness at 1 hour dj->frameset = (struct frameset *)NULL; /*< @todo does frameset need to be initialized here? */