diff options
| author | Reuben Thomas | 2014-08-07 12:49:36 +0100 |
|---|---|---|
| committer | Reuben Thomas | 2014-08-07 12:49:36 +0100 |
| commit | 6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea (patch) | |
| tree | 5617810b2e5630ce6a5bef0b8dffa300e3ff19b9 /admin | |
| parent | 6c5bbf8a00919b191d5319ee9324c93f1c496dbf (diff) | |
| download | emacs-6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea.tar.gz emacs-6d9d9cde2f7672efc5d74dc1f8f4a8bd9deb27ea.zip | |
Remove remaining mentions of VMS as a host
* notes/exit-value: Remove specific discussion of VMS.
* doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support
any more.
* doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support
for VMS diff, we no longer support VMS.
* lisp/progmodes/ada-mode.el:
* lisp/net/tramp.el (tramp-handle-file-symlink-p):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
about VMS, which we no longer support.
* lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
and fix a FIXME, using convert-standard-filename in place of
removed ada-convert-file-name.
* lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer
support.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rw-r--r-- | admin/notes/exit-value | 43 |
2 files changed, 22 insertions, 25 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 7da79325a94..34dc8c9c5c0 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | 1 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> |
| 2 | 2 | ||
| 3 | * notes/exit-value: Remove specific discussion of VMS. | ||
| 4 | |||
| 5 | 2014-08-07 Reuben Thomas <rrt@sc3d.org> | ||
| 6 | |||
| 3 | Refer to MS-DOS using the same name everywhere. | 7 | Refer to MS-DOS using the same name everywhere. |
| 4 | 8 | ||
| 5 | * FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become | 9 | * FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become |
diff --git a/admin/notes/exit-value b/admin/notes/exit-value index cad6862c8aa..96337e4c8dd 100644 --- a/admin/notes/exit-value +++ b/admin/notes/exit-value | |||
| @@ -1,35 +1,28 @@ | |||
| 1 | ttn 2004-05-09 | 1 | ttn 2004-05-09 |
| 2 | 2 | ||
| 3 | The exit value of a program returning to the shell on unixoid systems is | 3 | The exit value of a program returning to the shell on unixoid systems |
| 4 | typically 0 for success, and non-0 (such as 1) for failure. For vms it is | 4 | is typically 0 for success, and non-0 (such as 1) for failure. This is |
| 5 | odd (1,3,5...) for success, even (0,2,4...) for failure. | 5 | not always the case on other systems. |
| 6 | 6 | ||
| 7 | This holds from the point of view of the "shell" (in quotes because vms has a | 7 | From the point of view of the program stdlib.h provides macros |
| 8 | different dispatch model that is not explained further here). | 8 | `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. N.B. The |
| 9 | 9 | numerical values of these macros DO NOT need to fulfill the exit value | |
| 10 | From the point of view of the program, nowadays stdlib.h on both type of | 10 | requirements outlined in the first paragraph! That is the job of the |
| 11 | systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. | ||
| 12 | |||
| 13 | NB: The numerical values of these macros DO NOT need to fulfill the exit | ||
| 14 | value requirements outlined in the first paragraph! That is the job of the | ||
| 15 | `exit' function. Thus, this kind of construct shows misunderstanding: | 11 | `exit' function. Thus, this kind of construct shows misunderstanding: |
| 16 | 12 | ||
| 17 | #ifdef VMS | 13 | #ifdef WEIRD_OS |
| 18 | exit (1); | 14 | exit (1); |
| 19 | #else | 15 | #else |
| 20 | exit (0); | 16 | exit (0); |
| 21 | #endif | 17 | #endif |
| 22 | 18 | ||
| 23 | Values aside from EXIT_SUCCESS and EXIT_FAILURE are tricky. | 19 | Values aside from EXIT_SUCCESS and EXIT_FAILURE are tricky, but can be |
| 24 | 20 | used to indicate finer gradations of failure. If this is the only | |
| 25 | 21 | information available to the caller, clamping such values to | |
| 26 | 22 | EXIT_FAILURE loses information. If there are other ways to indicate | |
| 27 | ttn 2004-05-12 | 23 | the problem to the caller (such as a message to stderr) it may be ok |
| 24 | to clamp. In all cases, it is the relationship between the program | ||
| 25 | and its caller that must be examined. | ||
| 28 | 26 | ||
| 29 | Values aside from EXIT_SUCCESS and EXIT_FAILURE can be used to indicate | 27 | [Insert ZAMM quote here.] <-- I presume this refers to ``Zen and the |
| 30 | finer gradations of failure. If this is the only information available | 28 | Art of Motorcycle Maintenance'' - Reuben Thomas <rrt@sc3d.org>. |
| 31 | to the caller, clamping such values to EXIT_FAILURE loses information. | ||
| 32 | If there are other ways to indicate the problem to the caller (such as | ||
| 33 | a message to stderr) it may be ok to clamp. In all cases, it is the | ||
| 34 | relationship between the program and its caller that must be examined. | ||
| 35 | [Insert ZAMM quote here.] | ||