aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ddb540eb3d1..ab3c7bc25bc 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -314,7 +314,7 @@ handle_USR2_signal (sig)
314} 314}
315#endif /* SIGUSR2 */ 315#endif /* SIGUSR2 */
316 316
317/* Handle bus errors, illegal instruction, etc. */ 317/* Handle bus errors, invalid instruction, etc. */
318SIGTYPE 318SIGTYPE
319fatal_error_signal (sig) 319fatal_error_signal (sig)
320 int sig; 320 int sig;
diff --git a/src/msdos.c b/src/msdos.c
index d56ee7cf88d..cfb19c652f6 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -372,7 +372,7 @@ dosv_refresh_virtual_screen (int offset, int count)
372{ 372{
373 __dpmi_regs regs; 373 __dpmi_regs regs;
374 374
375 if (offset < 0 || count < 0) /* paranoia; illegal values crash DOS/V */ 375 if (offset < 0 || count < 0) /* paranoia; invalid values crash DOS/V */
376 return; 376 return;
377 377
378 regs.h.ah = 0xff; /* update relocated screen */ 378 regs.h.ah = 0xff; /* update relocated screen */
diff --git a/src/print.c b/src/print.c
index 80a897fdb22..2379e9d4930 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1490,7 +1490,7 @@ print_object (obj, printcharfun, escapeflag)
1490 int print_length, i; 1490 int print_length, i;
1491 Lisp_Object halftail = obj; 1491 Lisp_Object halftail = obj;
1492 1492
1493 /* Negative values of print-length are illegal in CL. 1493 /* Negative values of print-length are invalid in CL.
1494 Treat them like nil, as CMUCL does. */ 1494 Treat them like nil, as CMUCL does. */
1495 if (NATNUMP (Vprint_length)) 1495 if (NATNUMP (Vprint_length))
1496 print_length = XFASTINT (Vprint_length); 1496 print_length = XFASTINT (Vprint_length);
@@ -1594,7 +1594,7 @@ print_object (obj, printcharfun, escapeflag)
1594 PRINTCHAR ('\"'); 1594 PRINTCHAR ('\"');
1595 1595
1596 /* Don't print more characters than the specified maximum. 1596 /* Don't print more characters than the specified maximum.
1597 Negative values of print-length are illegal. Treat them 1597 Negative values of print-length are invalid. Treat them
1598 like a print-length of nil. */ 1598 like a print-length of nil. */
1599 if (NATNUMP (Vprint_length) 1599 if (NATNUMP (Vprint_length)
1600 && XFASTINT (Vprint_length) < size_in_chars) 1600 && XFASTINT (Vprint_length) < size_in_chars)
diff --git a/src/w32.c b/src/w32.c
index 67cf9506ad6..a7fd59366d6 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -468,7 +468,7 @@ get_long_basename (char * name, char * buf, int size)
468 HANDLE dir_handle; 468 HANDLE dir_handle;
469 int len = 0; 469 int len = 0;
470 470
471 /* must be valid filename, no wild cards or other illegal characters */ 471 /* must be valid filename, no wild cards or other invalid characters */
472 if (strpbrk (name, "*?|<>\"")) 472 if (strpbrk (name, "*?|<>\""))
473 return 0; 473 return 0;
474 474
@@ -1913,7 +1913,7 @@ stat (const char * path, struct stat * buf)
1913 } 1913 }
1914 1914
1915 name = (char *) map_w32_filename (path, &path); 1915 name = (char *) map_w32_filename (path, &path);
1916 /* must be valid filename, no wild cards or other illegal characters */ 1916 /* must be valid filename, no wild cards or other invalid characters */
1917 if (strpbrk (name, "*?|<>\"")) 1917 if (strpbrk (name, "*?|<>\""))
1918 { 1918 {
1919 errno = ENOENT; 1919 errno = ENOENT;
diff --git a/src/xdisp.c b/src/xdisp.c
index b632312f405..411f6213591 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -878,7 +878,7 @@ window_box_edges (w, area, top_left_x, top_left_y,
878/* Return the next character from STR which is MAXLEN bytes long. 878/* Return the next character from STR which is MAXLEN bytes long.
879 Return in *LEN the length of the character. This is like 879 Return in *LEN the length of the character. This is like
880 STRING_CHAR_AND_LENGTH but never returns an invalid character. If 880 STRING_CHAR_AND_LENGTH but never returns an invalid character. If
881 we find one, we return a `?', but with the length of the illegal 881 we find one, we return a `?', but with the length of the invalid
882 character. */ 882 character. */
883 883
884static INLINE int 884static INLINE int
@@ -891,7 +891,7 @@ string_char_and_length (str, maxlen, len)
891 c = STRING_CHAR_AND_LENGTH (str, maxlen, *len); 891 c = STRING_CHAR_AND_LENGTH (str, maxlen, *len);
892 if (!CHAR_VALID_P (c, 1)) 892 if (!CHAR_VALID_P (c, 1))
893 /* We may not change the length here because other places in Emacs 893 /* We may not change the length here because other places in Emacs
894 don't use this function, i.e. they silently accept illegal 894 don't use this function, i.e. they silently accept invalid
895 characters. */ 895 characters. */
896 c = '?'; 896 c = '?';
897 897