Commit e3777878 authored by Paul Eggert's avatar Paul Eggert
Browse files

Remove obsolete references to VAX in comments.

parent a4ba3963
......@@ -3198,39 +3198,6 @@ floating point option: -fsoft.
This seems to be due to a GCC bug; it is fixed in GCC 2.8.1.
** Vax C compiler bugs affecting Emacs.
You may get one of these problems compiling Emacs:
foo.c line nnn: compiler error: no table entry for op STASG
foo.c: fatal error in /lib/ccom
These are due to bugs in the C compiler; the code is valid C.
Unfortunately, the bugs are unpredictable: the same construct
may compile properly or trigger one of these bugs, depending
on what else is in the source file being compiled. Even changes
in header files that should not affect the file being compiled
can affect whether the bug happens. In addition, sometimes files
that compile correctly on one machine get this bug on another machine.
As a result, it is hard for me to make sure this bug will not affect
you. I have attempted to find and alter these constructs, but more
can always appear. However, I can tell you how to deal with it if it
should happen. The bug comes from having an indexed reference to an
array of Lisp_Objects, as an argument in a function call:
Lisp_Object *args;
...
... foo (5, args[i], ...)...
putting the argument into a temporary variable first, as in
Lisp_Object *args;
Lisp_Object tem;
...
tem = args[i];
... foo (r, tem, ...)...
causes the problem to go away.
The `contents' field of a Lisp vector is an array of Lisp_Objects,
so you may see the problem happening with indexed references to that.
This file is part of GNU Emacs.
......
......@@ -5133,7 +5133,7 @@ Other orders of $ and _ seem to all work just fine.")
(forward-line 1))
;; Would like to look for a "Total" line, or a "Directory" line to
;; make sure that the listing isn't complete garbage before putting
;; in "." and "..", but we can't even count on all VAX's giving us
;; in "." and "..", but we can't count on VMS giving us
;; either of these.
(puthash "." t tbl)
(puthash ".." t tbl))
......
......@@ -28,8 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "termchar.h"
#include "tparam.h"
#define BIG 9999 /* 9999 good on VAXen. For 16 bit machines
use about 2000.... */
#define BIG 9999 /* Good on 32-bit hosts. */
int cost; /* sums up costs */
......
......@@ -133,9 +133,6 @@ static Lisp_Object Qwrite_region_annotate_functions;
is added here. */
static Lisp_Object Vwrite_region_annotation_buffers;
#ifdef HAVE_FSYNC
#endif
static Lisp_Object Qdelete_by_moving_to_trash;
/* Lisp function for moving files to trash. */
......@@ -4965,7 +4962,7 @@ This calls `write-region-annotate-functions' at the start, and
immediate_quit = 0;
#ifdef HAVE_FSYNC
/* Note fsync appears to change the modtime on BSD4.2 (both vax and sun).
/* fsync appears to change the modtime on BSD4.2.
Disk full in NFS may be reported here. */
/* mib says that closing the file will try to write as fast as NFS can do
it, and that means the fsync here is not crucial for autosave files. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment