diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-02-04 14:56:31 +0000 |
commit | 177c0ea74342272645959b82cf219faa0b3dba16 (patch) | |
tree | 44e22b210a9904eab25a66d12e708804b671df75 /lib-src | |
parent | db95369be096960245dd38678f68464627698678 (diff) | |
download | emacs-177c0ea74342272645959b82cf219faa0b3dba16.tar.gz emacs-177c0ea74342272645959b82cf219faa0b3dba16.tar.bz2 emacs-177c0ea74342272645959b82cf219faa0b3dba16.zip |
Trailing whitespace deleted.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/b2m.pl | 6 | ||||
-rw-r--r-- | lib-src/ebrowse.c | 6 | ||||
-rw-r--r-- | lib-src/emacstool.c | 2 | ||||
-rw-r--r-- | lib-src/make-docfile.c | 2 | ||||
-rw-r--r-- | lib-src/makefile.nt | 14 | ||||
-rw-r--r-- | lib-src/movemail.c | 10 | ||||
-rw-r--r-- | lib-src/ntlib.c | 14 | ||||
-rw-r--r-- | lib-src/pop.c | 6 | ||||
-rw-r--r-- | lib-src/profile.c | 2 | ||||
-rwxr-xr-x | lib-src/rcs-checkin | 2 | ||||
-rw-r--r-- | lib-src/update-game-score.c | 28 | ||||
-rw-r--r-- | lib-src/yow.c | 8 |
13 files changed, 52 insertions, 52 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 39266208b23..c983be1cce2 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -3746,7 +3746,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu> * b2m.c: Use <...> to include config.h. Don't include stdlib.h. -1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de) +1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de) * b2m.c (main): Change delimiter from "^L" to "^_^L". Allow for text following "BABYL OPTIONS:". @@ -3963,7 +3963,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu> * Version 19.20 released. -1993-11-08 Tom Hageman (tom@basil.icce.rug.nl) +1993-11-08 Tom Hageman (tom@basil.icce.rug.nl) * etags.c: (C_entries): Keep track of ()-parenthesis level so that functions returning a pointer to a function, a la `signal', can be diff --git a/lib-src/b2m.pl b/lib-src/b2m.pl index 40738fd01ed..86f9b948b32 100644 --- a/lib-src/b2m.pl +++ b/lib-src/b2m.pl @@ -30,7 +30,7 @@ use Mail::Address; use Date::Parse; my($whoami) = basename $0; -my($version) = '$Revision: 1.3 $'; +my($version) = '$Revision: 1.4 $'; my($usage) = "Usage: $whoami [--help] [--version] [--[no]full-headers] [Babyl-file] \tBy default, full headers are printed.\n"; @@ -80,7 +80,7 @@ while (<>) { $labels = $1; # Strip the integer indicating whether the header is pruned - $labels =~ s/^(\d+)[,\s]*//; + $labels =~ s/^(\d+)[,\s]*//; $pruned = $1; s/(?:((?:.+\n)+)\n*)?\*\*\* EOOH \*\*\*\n+// || goto malformatted; @@ -113,7 +113,7 @@ while (<>) { $labels =~ s/[,\s]+$//; # Now collapse extra commas and whitespace in the remaining label string $labels =~ s/[,\s]+/, /g; - + foreach my $rmail_header qw(summary-line x-coding-system) { $full_header =~ s/(^|\n)$rmail_header:.*\n/$1/i; } diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 87c6526c315..611c0f74c7d 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -2511,7 +2511,7 @@ parm_list (flags) { switch (LA1) { - /* Skip over grouping parens or parameter lists in parameter + /* Skip over grouping parens or parameter lists in parameter declarations. */ case '(': skip_matching (); @@ -3148,7 +3148,7 @@ class_definition (containing, tag, flags, nested) settings. */ if ((tag != CLASS && !f_structs) || (nested && !f_nested_classes)) current = NULL; - else + else { current = add_sym (yytext, containing); current->pos = BUFFER_POS (); @@ -3167,7 +3167,7 @@ class_definition (containing, tag, flags, nested) { switch (LA1) { - case VIRTUAL: case PUBLIC: case PROTECTED: case PRIVATE: + case VIRTUAL: case PUBLIC: case PROTECTED: case PRIVATE: MATCH (); break; diff --git a/lib-src/emacstool.c b/lib-src/emacstool.c index 191deb95471..dcbc20feeed 100644 --- a/lib-src/emacstool.c +++ b/lib-src/emacstool.c @@ -189,7 +189,7 @@ time_delta (now_sec, now_usec, prev_sec, prev_usec) /* * Filter function to translate selected input events for emacs * Mouse button events become ^X^@(button x-col y-line time-delta) . - * Function keys: ESC-*{c}{lrt} l,r,t for Left, Right, Top; + * Function keys: ESC-*{c}{lrt} l,r,t for Left, Right, Top; * {c} encodes the keynumber as a character [a-o] */ static Notify_value diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 0b90eba8953..ed6dde3a0bf 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c @@ -299,7 +299,7 @@ scan_keyword_or_put_char (ch, state) while (ch != ' ' && ch != ')'); put_char ('f', state); put_char ('n', state); - + /* Put back the last character. */ ungetc (ch, state->in_file); } diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index eef221ab0c3..d9553216337 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt @@ -3,24 +3,24 @@ # Copyright (C) 1994 Free Software Foundation, Inc. # # This file is part of GNU Emacs. -# +# # GNU Emacs is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. -# +# # GNU Emacs is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with GNU Emacs; see the file COPYING. If not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # -# +# # Sets up the system dependent macros. # !include ..\nt\makefile.def @@ -139,7 +139,7 @@ $(BLD)\ebrowse.obj: ebrowse.c ..\src\config.h # # From ..\src\makefile.nt. # -obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c charset.c coding.c category.c ccl.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c emacs.c eval.c fileio.c filelock.c filemode.c fns.c fontset.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexw32.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c w32.c w32console.c w32faces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c +obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c charset.c coding.c category.c ccl.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c emacs.c eval.c fileio.c filelock.c filemode.c fns.c fontset.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexw32.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c w32.c w32console.c w32faces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c # # These are the lisp files that are loaded up in loadup.el @@ -224,7 +224,7 @@ lisp= \ $(lispsource)version.el -DOC = DOC +DOC = DOC $(DOC): $(BLD)\make-docfile.exe - $(DEL) $(DOC) $(BLD)\make-docfile -d ..\src $(obj) > $(DOC) @@ -261,7 +261,7 @@ install: $(INSTALL_FILES) # # Maintenance -# +# clean:; - $(DEL) *~ *.pdb DOC* - $(DEL) *.orig *.rej *.crlf ctags.c - $(DEL_TREE) deleted diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 706a630c4bc..406dd8775bc 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -39,11 +39,11 @@ Boston, MA 02111-1307, USA. */ * "po:username". This will cause movemail to open a connection to * a pop server running on $MAILHOST (environment variable). Movemail * must be setuid to root in order to work with POP. - * + * * New module: popmail.c * Modified routines: * main - added code within #ifdef MAIL_USE_POP; added setuid (getuid ()) - * after POP code. + * after POP code. * New routines in movemail.c: * get_errmsg - return pointer to system error message * @@ -458,7 +458,7 @@ main (argc, argv) pfatal_with_name (inname); } - + { char buf[1024]; @@ -838,7 +838,7 @@ popmail (mailbox, outfile, preserve, password, reverse_order) error ("Error from POP server: %s", pop_error, 0); return (1); } - + return (0); } @@ -913,7 +913,7 @@ mbx_write (line, len, mbf) line++; len--; } - if (fwrite (line, 1, len, mbf) != len) + if (fwrite (line, 1, len, mbf) != len) return (NOTOK); if (fputc (0x0a, mbf) == EOF) return (NOTOK); diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 3e2caf50865..31bf758197d 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c @@ -59,20 +59,20 @@ getppid(void) DWORD result; ppid = getenv ("EM_PARENT_PROCESS_ID"); - if (!ppid) + if (!ppid) { printf("no pid.\n"); return 0; - } - else + } + else { getppid_ppid = atoi (ppid); } - if (!getppid_parent) + if (!getppid_parent) { getppid_parent = OpenProcess (SYNCHRONIZE, FALSE, atoi(ppid)); - if (!getppid_parent) + if (!getppid_parent) { printf ("Failed to open handle to parent process: %d\n", GetLastError()); @@ -81,7 +81,7 @@ getppid(void) } result = WaitForSingleObject (getppid_parent, 0); - switch (result) + switch (result) { case WAIT_TIMEOUT: /* The parent is still alive. */ @@ -188,7 +188,7 @@ fchown (int fd, int uid, int gid) } /* Place a wrapper around the MSVC version of ctime. It returns NULL - on network directories, so we handle that case here. + on network directories, so we handle that case here. (Ulrich Leodolter, 1/11/95). */ char * sys_ctime (const time_t *t) diff --git a/lib-src/pop.c b/lib-src/pop.c index 46a60195aff..b51e82c82bf 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c @@ -261,7 +261,7 @@ pop_open (host, username, password, flags) #else #define DONT_NEED_PASSWORD 0 #endif - + if ((! password) && (! DONT_NEED_PASSWORD)) { if (! (flags & POP_NO_GETPASS)) @@ -560,7 +560,7 @@ pop_list (server, message, IDs, sizes) * of lines with '>'. * msg_buf Output parameter to which a buffer containing the * message is assigned. - * + * * Return value: The number of bytes in msg_buf, which may contain * embedded nulls, not including its final null, or -1 on error * with pop_error set. @@ -643,7 +643,7 @@ pop_retrieve (server, message, markfrom, msg_buf) free (ptr); return (-1); -} +} int pop_retrieve_first (server, message, response) diff --git a/lib-src/profile.c b/lib-src/profile.c index e2fa4793b63..9c43c16e776 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c @@ -48,7 +48,7 @@ reset_watch () } /* This call returns the time since the last reset_watch call. The time - is returned as a string with the format <seconds>.<micro-seconds> + is returned as a string with the format <seconds>.<micro-seconds> If reset_watch was not called yet, exit. */ char * diff --git a/lib-src/rcs-checkin b/lib-src/rcs-checkin index 184ed8ac01a..75616c3564e 100755 --- a/lib-src/rcs-checkin +++ b/lib-src/rcs-checkin @@ -31,7 +31,7 @@ # is not deleted, as under VC with vc-keep-workfiles at its default of t, but # all the version files are. # -# If an argument file is already version-controlled under RCS, any version +# If an argument file is already version-controlled under RCS, any version # files are added to the list of deltas and deleted, and then the workfile # is checked in again as the latest version. This is probably not quite # what was wanted, and is the main reason VC doesn't simply call this to diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index d871e336802..55737c542d7 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c @@ -216,13 +216,13 @@ main (argc, argv) user_id = get_user_id (); if (user_id == NULL) lose_syserr ("Couldn't determine user id"); - + if (stat (scorefile, &buf) < 0) lose_syserr ("Failed to access scores file"); - + if (lock_file (scorefile, &lockstate) < 0) lose_syserr ("Failed to lock scores file"); - + if (read_scores (scorefile, &scores, &scorecount) < 0) { unlock_file (scorefile, lockstate); @@ -283,7 +283,7 @@ read_score (f, score) char *username = malloc (unamelen); if (!username) return -1; - + while ((c = getc (f)) != EOF && !isspace (c)) { @@ -293,7 +293,7 @@ read_score (f, score) username[unameread] = c; unameread++; } - if (c == EOF) + if (c == EOF) return -1; username[unameread] = '\0'; score->username = username; @@ -342,12 +342,12 @@ read_scores (filename, scores, count) int readval, scorecount, cursize; struct score_entry *ret; FILE *f = fopen (filename, "r"); - if (!f) + if (!f) return -1; scorecount = 0; cursize = 16; ret = (struct score_entry *) malloc (sizeof (struct score_entry) * cursize); - if (!ret) + if (!ret) return -1; while ((readval = read_score (f, &ret[scorecount])) == 0) { @@ -388,7 +388,7 @@ score_compare_reverse (a, b) } int -push_score (scores, count, newscore, username, newdata) +push_score (scores, count, newscore, username, newdata) struct score_entry **scores; int *count; int newscore; char *username; @@ -406,12 +406,12 @@ push_score (scores, count, newscore, username, newdata) *scores = newscores; return 0; } - + void sort_scores (scores, count, reverse) struct score_entry *scores; int count; - int reverse; + int reverse; { qsort (scores, count, sizeof (struct score_entry), reverse ? score_compare_reverse : score_compare); @@ -421,9 +421,9 @@ int write_scores (filename, scores, count) const char *filename; const struct score_entry * scores; - int count; + int count; { - FILE *f; + FILE *f; int i; char *tempfile = malloc (strlen (filename) + strlen (".tempXXXXXX") + 1); if (!tempfile) @@ -448,7 +448,7 @@ write_scores (filename, scores, count) return -1; return 0; } - + int lock_file (filename, state) const char *filename; @@ -491,7 +491,7 @@ lock_file (filename, state) close (fd); return 0; } - + int unlock_file (filename, state) const char *filename; diff --git a/lib-src/yow.c b/lib-src/yow.c index 92df285870a..fa638b06466 100644 --- a/lib-src/yow.c +++ b/lib-src/yow.c @@ -1,12 +1,12 @@ /* * yow.c - * + * * Print a quotation from Zippy the Pinhead. * Qux <Kaufman-David@Yale> March 6, 1986 * * This file is in the public domain because the author published it * with no copyright notice before the US signed the Bern Convention. - * + * * With dynamic memory allocation. */ @@ -114,7 +114,7 @@ setup_yow(fp) header_len = ftell(fp); if (header_len > AVG_LEN) header_len -= AVG_LEN; /* allow the first quotation to appear */ - + if (fseek(fp, 0L, 2) == -1) { perror("yow"); exit(1); @@ -167,7 +167,7 @@ yow (fp) buf[i++] = c; while ((c = getc(fp)) != SEP && c != EOF) { buf[i++] = c; - + if (i == bufsize-1) { /* Yow! Is this quotation too long yet? */ bufsize *= 2; |