mesard@bbn.com (01/05/89)
Here's a simple patch to Palette. I left the O_RDONLY off of an open(2). This causes problems for 386 and SPARC people. Pretty embarassing. I even lint'ed this code several times. Happily, no one's reported any 4.0 problems. (I don't have access to a 4.0 machine, and so I couldn't test it before release.) Sorry for the SNAFU. Please apply immediately. void Wayne_Mesard(); Mesard@BBN.COM Bolt Beranek and Newman, Cambridge, MA -=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=- *** patchlevel.h~ Thu Dec 29 09:54:38 1988 --- patchlevel.h Thu Dec 29 09:55:18 1988 *************** *** 1,2 #define VERSION_STRING "Palette Version 1.0" ! #define PATCHLEVEL 0 --- 1,2 ----- #define VERSION_STRING "Palette Version 1.0" ! #define PATCHLEVEL 1 *** desktop.c~ Thu Dec 29 09:54:47 1988 --- desktop.c Thu Dec 29 09:57:19 1988 *************** *** 25,30 #include <suntool/panel.h> #include <sunwindow/win_enum.h> #include <stdio.h> #include "wsm_types.h" --- 25,31 ----- #include <suntool/panel.h> #include <sunwindow/win_enum.h> #include <stdio.h> + #include <sys/file.h> #include "wsm_types.h" *************** *** 62,68 struct screen rootscreen; win_screenget((int) window_get(win, WIN_FD), &rootscreen); ! return(open(rootscreen.scr_rootname)); } --- 63,69 ----- struct screen rootscreen; win_screenget((int) window_get(win, WIN_FD), &rootscreen); ! return(open(rootscreen.scr_rootname, O_RDONLY)); }