aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-05-16 14:29:08 +0000
committerGerd Moellmann <[email protected]>2000-05-16 14:29:08 +0000
commit9ab8560dc21300b8d7fe5ce9aee37c2244f4642e (patch)
treef0faf3b1da277bb02e3811dddb127c09182e7084
parent835c1b36270c9ede7766f220d0210ab67352bb3e (diff)
Use the term `invalid' instead of `illegal'.
-rw-r--r--src/emacs.c2
-rw-r--r--src/msdos.c2
-rw-r--r--src/print.c4
-rw-r--r--src/w32.c4
-rw-r--r--src/xdisp.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/emacs.c b/src/emacs.c
index ddb540eb3d..ab3c7bc25b 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -314,7 +314,7 @@ handle_USR2_signal (sig)
}
#endif /* SIGUSR2 */
-/* Handle bus errors, illegal instruction, etc. */
+/* Handle bus errors, invalid instruction, etc. */
SIGTYPE
fatal_error_signal (sig)
int sig;
diff --git a/src/msdos.c b/src/msdos.c
index d56ee7cf88..cfb19c652f 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -372,7 +372,7 @@ dosv_refresh_virtual_screen (int offset, int count)
{
__dpmi_regs regs;
- if (offset < 0 || count < 0) /* paranoia; illegal values crash DOS/V */
+ if (offset < 0 || count < 0) /* paranoia; invalid values crash DOS/V */
return;
regs.h.ah = 0xff; /* update relocated screen */
diff --git a/src/print.c b/src/print.c
index 80a897fdb2..2379e9d493 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1490,7 +1490,7 @@ print_object (obj, printcharfun, escapeflag)
int print_length, i;
Lisp_Object halftail = obj;
- /* Negative values of print-length are illegal in CL.
+ /* Negative values of print-length are invalid in CL.
Treat them like nil, as CMUCL does. */
if (NATNUMP (Vprint_length))
print_length = XFASTINT (Vprint_length);
@@ -1594,7 +1594,7 @@ print_object (obj, printcharfun, escapeflag)
PRINTCHAR ('\"');
/* Don't print more characters than the specified maximum.
- Negative values of print-length are illegal. Treat them
+ Negative values of print-length are invalid. Treat them
like a print-length of nil. */
if (NATNUMP (Vprint_length)
&& XFASTINT (Vprint_length) < size_in_chars)
diff --git a/src/w32.c b/src/w32.c
index 67cf9506ad..a7fd59366d 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -468,7 +468,7 @@ get_long_basename (char * name, char * buf, int size)
HANDLE dir_handle;
int len = 0;
- /* must be valid filename, no wild cards or other illegal characters */
+ /* must be valid filename, no wild cards or other invalid characters */
if (strpbrk (name, "*?|<>\""))
return 0;
@@ -1913,7 +1913,7 @@ stat (const char * path, struct stat * buf)
}
name = (char *) map_w32_filename (path, &path);
- /* must be valid filename, no wild cards or other illegal characters */
+ /* must be valid filename, no wild cards or other invalid characters */
if (strpbrk (name, "*?|<>\""))
{
errno = ENOENT;
diff --git a/src/xdisp.c b/src/xdisp.c
index b632312f40..411f621359 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -878,7 +878,7 @@ window_box_edges (w, area, top_left_x, top_left_y,
/* Return the next character from STR which is MAXLEN bytes long.
Return in *LEN the length of the character. This is like
STRING_CHAR_AND_LENGTH but never returns an invalid character. If
- we find one, we return a `?', but with the length of the illegal
+ we find one, we return a `?', but with the length of the invalid
character. */
static INLINE int
@@ -891,7 +891,7 @@ string_char_and_length (str, maxlen, len)
c = STRING_CHAR_AND_LENGTH (str, maxlen, *len);
if (!CHAR_VALID_P (c, 1))
/* We may not change the length here because other places in Emacs
- don't use this function, i.e. they silently accept illegal
+ don't use this function, i.e. they silently accept invalid
characters. */
c = '?';