[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date error on compilation



-- Linux specific --

> I just installed it on my 486 running Linux/X. ... However, the compila-
> tion cannot complete when the Lisp gave a mesage of incorrect date,
> followed by the date of my machine (I think.).

It has been observed that on some Linux machines the system variable
sys_tz.tz_minuteswest is set to the number of seconds (not minutes!)
west of Greenwich. You might fix this by fixing your clock/date program
or by putting a workaround into your Linux kernel:

*** linux/kernel/time.c	Thu Jun  2 09:54:37 1994
--- linux/kernel/time.c.fix	Tue Sep 13 16:35:53 1994
***************
*** 272,277 ****
--- 272,279 ----
  		return -EPERM;
  	if (tz) {
  		sys_tz.tz_minuteswest = get_fs_long((unsigned long *) tz);
+ 		if (abs(sys_tz.tz_minuteswest) >= 30)
+ 			sys_tz.tz_minuteswest = sys_tz.tz_minuteswest / 60;
  		sys_tz.tz_dsttime = get_fs_long(((unsigned long *) tz)+1);
  		if (firsttime) {
  			firsttime = 0;


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de