aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2003-11-16 16:17:09 +0000
committerJan Djärv2003-11-16 16:17:09 +0000
commit7c402969951c97a2d878c16f7f4c18152258e1f9 (patch)
tree9b1ca15b91b342b82573cd9ecebe7c7def57cc56 /src
parent57669b57fca39a20c2bdf20a32bff6ab2e999f00 (diff)
downloademacs-7c402969951c97a2d878c16f7f4c18152258e1f9.tar.gz
emacs-7c402969951c97a2d878c16f7f4c18152258e1f9.zip
Remove period at end of error message.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/ccl.c2
-rw-r--r--src/emacs.c2
-rw-r--r--src/fontset.c2
-rw-r--r--src/frame.c2
-rw-r--r--src/process.c2
-rw-r--r--src/sunfns.c2
-rw-r--r--src/w32bdf.c8
-rw-r--r--src/w32fns.c2
9 files changed, 20 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6960b655801..f8b41d541cd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
12003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 12003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 2
3 * w32fns.c (XPutPixel):
4 * w32bdf.c (w32_init_bdf_font):
5 * sunfns.c (sel_read):
6 * process.c (Fmake_network_process):
7 * frame.c (store_frame_param):
8 * fontset.c (Fset_fontset_font):
9 * emacs.c (shut_down_emacs):
10 * ccl.c (ccl_driver): Remove period at end of error message.
11
3 * config.in: Regenerate. 12 * config.in: Regenerate.
4 13
5 * xfns.c (x_window_to_frame, x_any_window_to_frame) 14 * xfns.c (x_window_to_frame, x_any_window_to_frame)
diff --git a/src/ccl.c b/src/ccl.c
index ae42f2419c2..81e90319e52 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -1872,7 +1872,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
1872 break; 1872 break;
1873 1873
1874 default: 1874 default:
1875 sprintf(msg, "\nCCL: Unknown error type (%d).", ccl->status); 1875 sprintf(msg, "\nCCL: Unknown error type (%d)", ccl->status);
1876 } 1876 }
1877 1877
1878 msglen = strlen (msg); 1878 msglen = strlen (msg);
diff --git a/src/emacs.c b/src/emacs.c
index 62f16877184..0b2e678329c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1994,7 +1994,7 @@ shut_down_emacs (sig, no_x, stuff)
1994 fflush (stdout); 1994 fflush (stdout);
1995 reset_sys_modes (); 1995 reset_sys_modes ();
1996 if (sig && sig != SIGTERM) 1996 if (sig && sig != SIGTERM)
1997 fprintf (stderr, "Fatal error (%d).", sig); 1997 fprintf (stderr, "Fatal error (%d)", sig);
1998 } 1998 }
1999 } 1999 }
2000#else 2000#else
diff --git a/src/fontset.c b/src/fontset.c
index 990c1bbb9fa..e462387beae 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1012,7 +1012,7 @@ name of a font, REGISTRY is a registry name of a font. */)
1012 from = XINT (XCAR (character)); 1012 from = XINT (XCAR (character));
1013 to = XINT (XCDR (character)); 1013 to = XINT (XCDR (character));
1014 if (!char_valid_p (from, 0) || !char_valid_p (to, 0)) 1014 if (!char_valid_p (from, 0) || !char_valid_p (to, 0))
1015 error ("Character range should be by non-generic characters."); 1015 error ("Character range should be by non-generic characters");
1016 if (!NILP (name) 1016 if (!NILP (name)
1017 && (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to))) 1017 && (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to)))
1018 error ("Can't change font for a single byte character"); 1018 error ("Can't change font for a single byte character");
diff --git a/src/frame.c b/src/frame.c
index 3a3758b93e0..934c11d98bc 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2018,7 +2018,7 @@ store_frame_param (f, prop, val)
2018 if (EQ (prop, Qminibuffer) && WINDOWP (val)) 2018 if (EQ (prop, Qminibuffer) && WINDOWP (val))
2019 { 2019 {
2020 if (! MINI_WINDOW_P (XWINDOW (val))) 2020 if (! MINI_WINDOW_P (XWINDOW (val)))
2021 error ("Surrogate minibuffer windows must be minibuffer windows."); 2021 error ("Surrogate minibuffer windows must be minibuffer windows");
2022 2022
2023 if ((FRAME_HAS_MINIBUF_P (f) || FRAME_MINIBUF_ONLY_P (f)) 2023 if ((FRAME_HAS_MINIBUF_P (f) || FRAME_MINIBUF_ONLY_P (f))
2024 && !EQ (val, f->minibuffer_window)) 2024 && !EQ (val, f->minibuffer_window))
diff --git a/src/process.c b/src/process.c
index d04f8c03b4f..ed0d5fe765b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3028,7 +3028,7 @@ usage: (make-network-process &rest ARGS) */)
3028 { 3028 {
3029 int optval = 1; 3029 int optval = 1;
3030 if (setsockopt (s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof optval)) 3030 if (setsockopt (s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof optval))
3031 report_file_error ("Cannot set reuse option on server socket.", Qnil); 3031 report_file_error ("Cannot set reuse option on server socket", Qnil);
3032 } 3032 }
3033 3033
3034 if (bind (s, lres->ai_addr, lres->ai_addrlen)) 3034 if (bind (s, lres->ai_addr, lres->ai_addrlen))
diff --git a/src/sunfns.c b/src/sunfns.c
index d1c7bcd0c64..13fdfd3a1b7 100644
--- a/src/sunfns.c
+++ b/src/sunfns.c
@@ -299,7 +299,7 @@ sel_read (sel, file)
299 error("fread botch in sel_read"); 299 error("fread botch in sel_read");
300 return(-1); 300 return(-1);
301 } else if (n < 0) { 301 } else if (n < 0) {
302 error("Error reading selection."); 302 error("Error reading selection");
303 return(-1); 303 return(-1);
304 } 304 }
305 /* 305 /*
diff --git a/src/w32bdf.c b/src/w32bdf.c
index 567030a23e8..04739b8e846 100644
--- a/src/w32bdf.c
+++ b/src/w32bdf.c
@@ -247,7 +247,7 @@ w32_init_bdf_font(char *filename)
247 hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); 247 hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0);
248 248
249 if (!hbdf_cp_heap || !hbdf_bmp_heap) 249 if (!hbdf_cp_heap || !hbdf_bmp_heap)
250 error("Fail to create heap for BDF."); 250 error("Fail to create heap for BDF");
251 251
252 hfile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL, 252 hfile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL,
253 OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); 253 OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
@@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename)
257 (fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX)) 257 (fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX))
258 { 258 {
259 CloseHandle(hfile); 259 CloseHandle(hfile);
260 error("Fail to open BDF file."); 260 error("Fail to open BDF file");
261 } 261 }
262 hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL); 262 hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL);
263 if (hfilemap == INVALID_HANDLE_VALUE) 263 if (hfilemap == INVALID_HANDLE_VALUE)
264 { 264 {
265 CloseHandle(hfile); 265 CloseHandle(hfile);
266 error("Can't map font."); 266 error("Can't map font");
267 } 267 }
268 268
269 font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0); 269 font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0);
@@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename)
272 { 272 {
273 CloseHandle(hfile); 273 CloseHandle(hfile);
274 CloseHandle(hfilemap); 274 CloseHandle(hfilemap);
275 error("Can't view font."); 275 error("Can't view font");
276 } 276 }
277 277
278 bdffontp = (bdffont *) xmalloc(sizeof(bdffont)); 278 bdffontp = (bdffont *) xmalloc(sizeof(bdffont));
diff --git a/src/w32fns.c b/src/w32fns.c
index 9a45741c35b..d8572265bef 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -9679,7 +9679,7 @@ static void XPutPixel (ximg, x, y, color)
9679 *pixel = *pixel & ~(1 << x % 8); 9679 *pixel = *pixel & ~(1 << x % 8);
9680 } 9680 }
9681 else 9681 else
9682 image_error ("XPutPixel: palette image not supported.", Qnil, Qnil); 9682 image_error ("XPutPixel: palette image not supported", Qnil, Qnil);
9683} 9683}
9684 9684
9685/* Create IMG->pixmap from an array COLORS of XColor structures, whose 9685/* Create IMG->pixmap from an array COLORS of XColor structures, whose