diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/editfns.c b/src/editfns.c index af1c55318c4..5a2ca56ad5e 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Lisp functions pertaining to editing. | 1 | /* Lisp functions pertaining to editing. |
| 2 | Copyright (C) 1985,86,87,89,93,94,95,96 Free Software Foundation, Inc. | 2 | Copyright (C) 1985,86,87,89,93,94,95,96,97 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -1019,7 +1019,10 @@ If TZ is t, use Universal Time.") | |||
| 1019 | return Qnil; | 1019 | return Qnil; |
| 1020 | } | 1020 | } |
| 1021 | 1021 | ||
| 1022 | /* These two values are known to load tz files in buggy implementations. | 1022 | #ifdef LOCALTIME_CACHE |
| 1023 | |||
| 1024 | /* These two values are known to load tz files in buggy implementations, | ||
| 1025 | i.e. Solaris 1 executables running under either Solaris 1 or Solaris 2. | ||
| 1023 | Their values shouldn't matter in non-buggy implementations. | 1026 | Their values shouldn't matter in non-buggy implementations. |
| 1024 | We don't use string literals for these strings, | 1027 | We don't use string literals for these strings, |
| 1025 | since if a string in the environment is in readonly | 1028 | since if a string in the environment is in readonly |
| @@ -1027,8 +1030,10 @@ If TZ is t, use Universal Time.") | |||
| 1027 | See Sun bugs 1113095 and 1114114, ``Timezone routines | 1030 | See Sun bugs 1113095 and 1114114, ``Timezone routines |
| 1028 | improperly modify environment''. */ | 1031 | improperly modify environment''. */ |
| 1029 | 1032 | ||
| 1030 | static char set_time_zone_rule_tz1[] = "TZ=GMT0"; | 1033 | static char set_time_zone_rule_tz1[] = "TZ=GMT+0"; |
| 1031 | static char set_time_zone_rule_tz2[] = "TZ=GMT1"; | 1034 | static char set_time_zone_rule_tz2[] = "TZ=GMT+1"; |
| 1035 | |||
| 1036 | #endif | ||
| 1032 | 1037 | ||
| 1033 | /* Set the local time zone rule to TZSTRING. | 1038 | /* Set the local time zone rule to TZSTRING. |
| 1034 | This allocates memory into `environ', which it is the caller's | 1039 | This allocates memory into `environ', which it is the caller's |