From 7c402969951c97a2d878c16f7f4c18152258e1f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Sun, 16 Nov 2003 16:17:09 +0000 Subject: [PATCH] Remove period at end of error message. --- src/ChangeLog | 9 +++++++++ src/ccl.c | 2 +- src/emacs.c | 2 +- src/fontset.c | 2 +- src/frame.c | 2 +- src/process.c | 2 +- src/sunfns.c | 2 +- src/w32bdf.c | 8 ++++---- src/w32fns.c | 2 +- 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 @@ 2003-11-16 Jan Dj,Ad(Brv + * w32fns.c (XPutPixel): + * w32bdf.c (w32_init_bdf_font): + * sunfns.c (sel_read): + * process.c (Fmake_network_process): + * frame.c (store_frame_param): + * fontset.c (Fset_fontset_font): + * emacs.c (shut_down_emacs): + * ccl.c (ccl_driver): Remove period at end of error message. + * config.in: Regenerate. * 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) break; default: - sprintf(msg, "\nCCL: Unknown error type (%d).", ccl->status); + sprintf(msg, "\nCCL: Unknown error type (%d)", ccl->status); } 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) fflush (stdout); reset_sys_modes (); if (sig && sig != SIGTERM) - fprintf (stderr, "Fatal error (%d).", sig); + fprintf (stderr, "Fatal error (%d)", sig); } } #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. */) from = XINT (XCAR (character)); to = XINT (XCDR (character)); if (!char_valid_p (from, 0) || !char_valid_p (to, 0)) - error ("Character range should be by non-generic characters."); + error ("Character range should be by non-generic characters"); if (!NILP (name) && (SINGLE_BYTE_CHAR_P (from) || SINGLE_BYTE_CHAR_P (to))) 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) if (EQ (prop, Qminibuffer) && WINDOWP (val)) { if (! MINI_WINDOW_P (XWINDOW (val))) - error ("Surrogate minibuffer windows must be minibuffer windows."); + error ("Surrogate minibuffer windows must be minibuffer windows"); if ((FRAME_HAS_MINIBUF_P (f) || FRAME_MINIBUF_ONLY_P (f)) && !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) */) { int optval = 1; if (setsockopt (s, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof optval)) - report_file_error ("Cannot set reuse option on server socket.", Qnil); + report_file_error ("Cannot set reuse option on server socket", Qnil); } 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) error("fread botch in sel_read"); return(-1); } else if (n < 0) { - error("Error reading selection."); + error("Error reading selection"); return(-1); } /* 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) hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); if (!hbdf_cp_heap || !hbdf_bmp_heap) - error("Fail to create heap for BDF."); + error("Fail to create heap for BDF"); hfile = CreateFile(filename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); @@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename) (fileinfo.nFileSizeLow > BDF_FILE_SIZE_MAX)) { CloseHandle(hfile); - error("Fail to open BDF file."); + error("Fail to open BDF file"); } hfilemap = CreateFileMapping(hfile, NULL, PAGE_READONLY, 0, 0, NULL); if (hfilemap == INVALID_HANDLE_VALUE) { CloseHandle(hfile); - error("Can't map font."); + error("Can't map font"); } font = MapViewOfFile(hfilemap, FILE_MAP_READ, 0, 0, 0); @@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename) { CloseHandle(hfile); CloseHandle(hfilemap); - error("Can't view font."); + error("Can't view font"); } 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) *pixel = *pixel & ~(1 << x % 8); } else - image_error ("XPutPixel: palette image not supported.", Qnil, Qnil); + image_error ("XPutPixel: palette image not supported", Qnil, Qnil); } /* Create IMG->pixmap from an array COLORS of XColor structures, whose -- 2.39.2