Suggestion: Use CMOS memory or similar

2000-07-28 Thread Henrik 'Snout' Isacsson
Using a byte of CMOS memory to record what the last booted OS was and autoboot that after a few seconds if nothing else happens. Goes around the 'problem' of normally booting windows when at home, but normally wanting the machine to come up in linux/bsd after remote rebooting. -Henrik

shadowed variables

2000-07-28 Thread OKUJI Yoshinori
I have made a change to GRUB, that is, GCC compiles the code with -Wpointer-arith, -Wundef and -Wshadow. Thanks to the change, I found many (potential) bugs and fixed them. But I haven't fixed some of them, because I don't know what the right fixes are. In particular, I'm not sure how to fix

Re: Suggestion: Use CMOS memory or similar

2000-07-28 Thread Pavel Roskin
Hello, Henrik! Using a byte of CMOS memory to record what the last booted OS was and autoboot that after a few seconds if nothing else happens. Goes around the 'problem' of normally booting windows when at home, but normally wanting the machine to come up in linux/bsd after remote rebooting.

Re: shadowed variables

2000-07-28 Thread Pavel Roskin
Hello, OKUJI! I have made a change to GRUB, that is, GCC compiles the code with -Wpointer-arith, -Wundef and -Wshadow. Thanks to the change, I found many (potential) bugs and fixed them. But I haven't fixed some of "seeked_fd" sounds horrible, even though some people don't apply usual

Re: shadowed variables

2000-07-28 Thread OKUJI Yoshinori
From: Pavel Roskin [EMAIL PROTECTED] Subject: Re: shadowed variables Date: Fri, 28 Jul 2000 13:48:57 -0400 (EDT) "seeked_fd" sounds horrible, even though some people don't apply usual grammar rules to the the new of verbs. Fully agreed. :p Clearly, my fixes are mostly just quick hacks.