diff options
author | Paul Eggert <[email protected]> | 2013-02-10 16:35:37 -0800 |
---|---|---|
committer | Paul Eggert <[email protected]> | 2013-02-10 16:35:37 -0800 |
commit | e37778785ab978f64141e87392e8e651945f040e (patch) | |
tree | 99e34afa8d138a540f7159c0b321b38a2ca97687 | |
parent | a4ba3963957c289a913b32bca9531aadcc3f377f (diff) |
Remove obsolete references to VAX in comments.
-rw-r--r-- | etc/PROBLEMS | 33 | ||||
-rw-r--r-- | lisp/net/ange-ftp.el | 2 | ||||
-rw-r--r-- | src/cm.c | 3 | ||||
-rw-r--r-- | src/fileio.c | 5 |
4 files changed, 3 insertions, 40 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 2a588c159c..441ad7b4df 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -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. diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index ea318ec325..5e9ba6d9ce 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.") (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 */ diff --git a/src/fileio.c b/src/fileio.c index ddf2386710..98a9b32ea9 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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. */ |