|
@@ -129,8 +129,8 @@ threadmain(int argc, char *argv[])
|
|
{
|
|
{
|
|
char *initstr, *kbdin, *s;
|
|
char *initstr, *kbdin, *s;
|
|
char buf[256];
|
|
char buf[256];
|
|
- //Image *i;
|
|
|
|
- //Rectangle r;
|
|
|
|
|
|
+ Image *i;
|
|
|
|
+ Rectangle r;
|
|
|
|
|
|
if(strstr(argv[0], ".out") == nil){
|
|
if(strstr(argv[0], ".out") == nil){
|
|
menu3str[Exit] = nil;
|
|
menu3str[Exit] = nil;
|
|
@@ -221,7 +221,6 @@ threadmain(int argc, char *argv[])
|
|
fprint(2, "rio: can't create file system server: %r\n");
|
|
fprint(2, "rio: can't create file system server: %r\n");
|
|
else{
|
|
else{
|
|
errorshouldabort = 1; /* suicide if there's trouble after this */
|
|
errorshouldabort = 1; /* suicide if there's trouble after this */
|
|
-#if 0
|
|
|
|
if(initstr)
|
|
if(initstr)
|
|
proccreate(initcmd, initstr, STACK);
|
|
proccreate(initcmd, initstr, STACK);
|
|
if(kbdin){
|
|
if(kbdin){
|
|
@@ -234,7 +233,6 @@ threadmain(int argc, char *argv[])
|
|
if(wkeyboard == nil)
|
|
if(wkeyboard == nil)
|
|
error("can't create keyboard window");
|
|
error("can't create keyboard window");
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
threadnotify(shutdown, 1);
|
|
threadnotify(shutdown, 1);
|
|
recv(exitchan, nil);
|
|
recv(exitchan, nil);
|
|
}
|
|
}
|