aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-02-10 16:35:37 -0800
committerPaul Eggert2013-02-10 16:35:37 -0800
commite37778785ab978f64141e87392e8e651945f040e (patch)
tree99e34afa8d138a540f7159c0b321b38a2ca97687
parenta4ba3963957c289a913b32bca9531aadcc3f377f (diff)
downloademacs-e37778785ab978f64141e87392e8e651945f040e.tar.gz
emacs-e37778785ab978f64141e87392e8e651945f040e.zip
Remove obsolete references to VAX in comments.
-rw-r--r--etc/PROBLEMS33
-rw-r--r--lisp/net/ange-ftp.el2
-rw-r--r--src/cm.c3
-rw-r--r--src/fileio.c5
4 files changed, 3 insertions, 40 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 2a588c159c9..441ad7b4df4 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -3198,39 +3198,6 @@ floating point option: -fsoft.
3198 3198
3199This seems to be due to a GCC bug; it is fixed in GCC 2.8.1. 3199This seems to be due to a GCC bug; it is fixed in GCC 2.8.1.
3200 3200
3201** Vax C compiler bugs affecting Emacs.
3202
3203You may get one of these problems compiling Emacs:
3204
3205 foo.c line nnn: compiler error: no table entry for op STASG
3206 foo.c: fatal error in /lib/ccom
3207
3208These are due to bugs in the C compiler; the code is valid C.
3209Unfortunately, the bugs are unpredictable: the same construct
3210may compile properly or trigger one of these bugs, depending
3211on what else is in the source file being compiled. Even changes
3212in header files that should not affect the file being compiled
3213can affect whether the bug happens. In addition, sometimes files
3214that compile correctly on one machine get this bug on another machine.
3215
3216As a result, it is hard for me to make sure this bug will not affect
3217you. I have attempted to find and alter these constructs, but more
3218can always appear. However, I can tell you how to deal with it if it
3219should happen. The bug comes from having an indexed reference to an
3220array of Lisp_Objects, as an argument in a function call:
3221 Lisp_Object *args;
3222 ...
3223 ... foo (5, args[i], ...)...
3224putting the argument into a temporary variable first, as in
3225 Lisp_Object *args;
3226 Lisp_Object tem;
3227 ...
3228 tem = args[i];
3229 ... foo (r, tem, ...)...
3230causes the problem to go away.
3231The `contents' field of a Lisp vector is an array of Lisp_Objects,
3232so you may see the problem happening with indexed references to that.
3233
3234 3201
3235This file is part of GNU Emacs. 3202This file is part of GNU Emacs.
3236 3203
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index ea318ec3250..5e9ba6d9cea 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -5133,7 +5133,7 @@ Other orders of $ and _ seem to all work just fine.")
5133 (forward-line 1)) 5133 (forward-line 1))
5134 ;; Would like to look for a "Total" line, or a "Directory" line to 5134 ;; Would like to look for a "Total" line, or a "Directory" line to
5135 ;; make sure that the listing isn't complete garbage before putting 5135 ;; make sure that the listing isn't complete garbage before putting
5136 ;; in "." and "..", but we can't even count on all VAX's giving us 5136 ;; in "." and "..", but we can't count on VMS giving us
5137 ;; either of these. 5137 ;; either of these.
5138 (puthash "." t tbl) 5138 (puthash "." t tbl)
5139 (puthash ".." t tbl)) 5139 (puthash ".." t tbl))
diff --git a/src/cm.c b/src/cm.c
index 842633aceec..3a5f927eda3 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -28,8 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28#include "termchar.h" 28#include "termchar.h"
29#include "tparam.h" 29#include "tparam.h"
30 30
31#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines 31#define BIG 9999 /* Good on 32-bit hosts. */
32 use about 2000.... */
33 32
34int cost; /* sums up costs */ 33int cost; /* sums up costs */
35 34
diff --git a/src/fileio.c b/src/fileio.c
index ddf23867104..98a9b32ea91 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -133,9 +133,6 @@ static Lisp_Object Qwrite_region_annotate_functions;
133 is added here. */ 133 is added here. */
134static Lisp_Object Vwrite_region_annotation_buffers; 134static Lisp_Object Vwrite_region_annotation_buffers;
135 135
136#ifdef HAVE_FSYNC
137#endif
138
139static Lisp_Object Qdelete_by_moving_to_trash; 136static Lisp_Object Qdelete_by_moving_to_trash;
140 137
141/* Lisp function for moving files to trash. */ 138/* Lisp function for moving files to trash. */
@@ -4965,7 +4962,7 @@ This calls `write-region-annotate-functions' at the start, and
4965 immediate_quit = 0; 4962 immediate_quit = 0;
4966 4963
4967#ifdef HAVE_FSYNC 4964#ifdef HAVE_FSYNC
4968 /* Note fsync appears to change the modtime on BSD4.2 (both vax and sun). 4965 /* fsync appears to change the modtime on BSD4.2.
4969 Disk full in NFS may be reported here. */ 4966 Disk full in NFS may be reported here. */
4970 /* mib says that closing the file will try to write as fast as NFS can do 4967 /* mib says that closing the file will try to write as fast as NFS can do
4971 it, and that means the fsync here is not crucial for autosave files. */ 4968 it, and that means the fsync here is not crucial for autosave files. */