Re: Floppy problems after long uptime
On Thu 18 Feb 1999, Christopher C Chimelis wrote:
> Here's the patch for floppy.c that should solve the problem. I haven't
> tested it, but can if needed. Let me know how it works, though. Most
> likely, the same fix will be needed for 2.0.36 (haven't gotten to it yet).
> --- floppy.c Sun Jan 10 17:59:59 1999
> +++ /home/chris/floppy.new.c Thu Feb 18 19:01:16 1999
> @@ -604,10 +604,10 @@
> #define OLOGSIZE 20
> static void (*lasthandler)(void) = NULL;
> -static int interruptjiffies=0;
> -static int resultjiffies=0;
> +static long int interruptjiffies=0;
> +static long int resultjiffies=0;
Shouldn't these be `unsigned long'? I believe that's what `jiffies'
Anyway, I'll have a go this evening.
home: email@example.com | work: firstname.lastname@example.org | debian: email@example.com
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands