home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0553.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  2.9 KB  |  111 lines

  1. Yes, it works.  Do not use gcc, and apply the following (reverse)
  2. patch.  There was also a patch to fix up GNUS.  Look through the list
  3. archives to find it.
  4.  
  5. Cheers =8-} Chipsy
  6.  
  7. -- snip, snip --
  8. *** insdel.c    Tue Apr 13 14:55:51 1993
  9. --- insdel.c.~1~    Mon Jan 11 19:41:15 1993
  10. ***************
  11. *** 515,522 ****
  12.   void
  13.   insert_char (char c)
  14.   {
  15. !   char tmp = c;
  16. !   insert_raw_string (&tmp, 1);
  17.   }
  18.   
  19.   /* Like `insert_raw_string' except that all markers pointing at the place where
  20. --- 515,521 ----
  21.   void
  22.   insert_char (char c)
  23.   {
  24. !   insert_raw_string (&c, 1);
  25.   }
  26.   
  27.   /* Like `insert_raw_string' except that all markers pointing at the place where
  28. *** systime.h    Mon Apr 12 20:51:14 1993
  29. --- systime.h.~1~    Mon Mar 15 10:36:40 1993
  30. ***************
  31. *** 33,45 ****
  32.   #include <time.h>
  33.   #endif /* _h_BSDTYPES */
  34.   
  35. - #endif
  36.   /* AIX needs both <sys/time.h> and <time.h>.  */
  37. ! #ifdef AIX
  38.   #include <time.h>
  39.   #endif
  40.   
  41.   
  42.   /* EMACS_TIME is the type to use to represent temporal intervals -
  43.      struct timeval on some systems, int on others.  It can be passed as
  44. --- 33,45 ----
  45.   #include <time.h>
  46.   #endif /* _h_BSDTYPES */
  47.   
  48.   /* AIX needs both <sys/time.h> and <time.h>.  */
  49. ! #ifdef _AIX
  50.   #include <time.h>
  51.   #endif
  52.   
  53. + #endif
  54.   
  55.   /* EMACS_TIME is the type to use to represent temporal intervals -
  56.      struct timeval on some systems, int on others.  It can be passed as
  57. ***************
  58. *** 194,201 ****
  59.       gettimeofday (&dummy, &zoneinfo);                    \
  60.       *(offset) = -zoneinfo.tz_minuteswest;                \
  61.     } while (0)
  62. ! #else /* ! defined (HAVE_TIMEVAL) */
  63.   
  64.   /* System V derivatives have a timezone global variable.  */
  65.   #ifdef USG
  66.   #define EMACS_GET_TZ_OFFSET(offset)                    \
  67. --- 194,202 ----
  68.       gettimeofday (&dummy, &zoneinfo);                    \
  69.       *(offset) = -zoneinfo.tz_minuteswest;                \
  70.     } while (0)
  71. ! #endif /* ! defined (HAVE_TIMEVAL) */
  72.   
  73.   /* System V derivatives have a timezone global variable.  */
  74.   #ifdef USG
  75.   #define EMACS_GET_TZ_OFFSET(offset)                    \
  76. ***************
  77. *** 205,212 ****
  78.     } while (0)
  79.   #endif
  80.   
  81. - #endif
  82.   /* The following sane systems have a tzname array.  The timezone() function
  83.      is a stupid idea; timezone names can only be determined geographically,
  84.      not by Greenwich offset.  */
  85. --- 206,211 ----
  86. ***************
  87. *** 249,256 ****
  88.                                       \
  89.       EMACS_GET_TIME (t);                            \
  90.       secs = EMACS_SECS (t);                        \
  91. !     tmp = localtime (&secs);                                            \
  92. !     *(savings_flag) = tmp->tm_isdst;                                \
  93.                                       \
  94.       EMACS_GET_TZ_OFFSET (offset);                    \
  95.       EMACS_GET_TZ_NAMES (standard, savings);                \
  96. --- 248,255 ----
  97.                                       \
  98.       EMACS_GET_TIME (t);                            \
  99.       secs = EMACS_SECS (t);                        \
  100. !     tmp = localtime (&secs);                        \
  101. !     *(savings_flag) = tmp->tm_isdst;                    \
  102.                                       \
  103.       EMACS_GET_TZ_OFFSET (offset);                    \
  104.       EMACS_GET_TZ_NAMES (standard, savings);                \
  105.  
  106.  
  107.