Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libkvm More trailing white space.



details:   https://anonhg.NetBSD.org/src/rev/ea3b0d207e75
branches:  trunk
changeset: 474269:ea3b0d207e75
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jul 02 15:28:49 1999 +0000

description:
More trailing white space.

diffstat:

 lib/libkvm/kvm.3          |   4 ++--
 lib/libkvm/kvm.c          |  18 +++++++++---------
 lib/libkvm/kvm_alpha.c    |  14 +++++++-------
 lib/libkvm/kvm_dump.3     |   6 +++---
 lib/libkvm/kvm_file.c     |   6 +++---
 lib/libkvm/kvm_geterr.3   |   6 +++---
 lib/libkvm/kvm_getprocs.3 |  22 +++++++++++-----------
 lib/libkvm/kvm_i386.c     |   6 +++---
 lib/libkvm/kvm_m68k_cmn.c |  12 ++++++------
 lib/libkvm/kvm_mips.c     |  14 +++++++-------
 lib/libkvm/kvm_ns32k.c    |   6 +++---
 lib/libkvm/kvm_open.3     |  22 +++++++++++-----------
 lib/libkvm/kvm_proc.c     |  24 ++++++++++++------------
 lib/libkvm/kvm_read.3     |   8 ++++----
 lib/libkvm/kvm_sparc.c    |  18 +++++++++---------
 lib/libkvm/kvm_sparc64.c  |  14 +++++++-------
 lib/libkvm/kvm_sun3.c     |   6 +++---
 lib/libkvm/kvm_sun3x.c    |   6 +++---
 lib/libkvm/kvm_vax.c      |   8 ++++----
 19 files changed, 110 insertions(+), 110 deletions(-)

diffs (truncated from 868 to 300 lines):

diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm.3
--- a/lib/libkvm/kvm.3  Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm.3  Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm.3,v 1.4 1998/02/06 05:41:59 perry Exp $
+.\"    $NetBSD: kvm.3,v 1.5 1999/07/02 15:28:49 simonb Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -73,7 +73,7 @@
 .Fn kvm_write ,
 and
 .Fn kvm_nlist )
-has been incorporated into the 
+has been incorporated into the
 .Bx
 interface.  Indeed, many kvm
 applications (i.e., debuggers and statistical monitors) use only
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm.c
--- a/lib/libkvm/kvm.c  Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm.c  Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm.c,v 1.63 1999/04/01 09:53:09 mycroft Exp $ */
+/*     $NetBSD: kvm.c,v 1.64 1999/07/02 15:28:49 simonb Exp $  */
 
 /*-
  * Copyright (c) 1989, 1992, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm.c      8.2 (Berkeley) 2/13/94";
 #else
-__RCSID("$NetBSD: kvm.c,v 1.63 1999/04/01 09:53:09 mycroft Exp $");
+__RCSID("$NetBSD: kvm.c,v 1.64 1999/07/02 15:28:49 simonb Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -308,7 +308,7 @@
                 * not be opened, open the namelist argument so we
                 * revert to slow nlist() calls.
                 */
-               if ((ufgiven || kvm_dbopen(kd) < 0) && 
+               if ((ufgiven || kvm_dbopen(kd) < 0) &&
                    (kd->nlfd = open(uf, O_RDONLY, 0)) < 0) {
                        _kvm_syserr(kd, kd->program, "%s", uf);
                        goto failed;
@@ -326,7 +326,7 @@
 
                /*
                 * If there is no valid core header, fail silently here.
-                * The address translations however will fail without 
+                * The address translations however will fail without
                 * header. Things can be made to run by calling
                 * kvm_dump_mkheader() before doing any translation.
                 */
@@ -353,7 +353,7 @@
  *    (opaque)    cpu_data; (size is cpu_hdr.c_size)
  *       kcore_seg_t mem_hdr;
  *    (memory)    mem_data; (size is mem_hdr.c_size)
- *    
+ *
  * Note: khdr is padded to khdr.c_hdrsize;
  * cpu_hdr and mem_hdr are padded to khdr.c_seghdrsize
  */
@@ -703,7 +703,7 @@
 
 /*
  * Set up state necessary to do queries on the kernel namelist
- * data base.  If the data base is out-of-data/incompatible with 
+ * data base.  If the data base is out-of-data/incompatible with
  * given executable, set up things so we revert to standard nlist call.
  * Only called for live kernels.  Return 0 on success, -1 on failure.
  */
@@ -744,7 +744,7 @@
        if (rec.data == 0 || rec.size != sizeof(struct nlist))
                goto close;
        memcpy(&nitem, rec.data, sizeof(nitem));
-       if (kvm_read(kd, (u_long)nitem.n_value, kversion, dbversionlen) != 
+       if (kvm_read(kd, (u_long)nitem.n_value, kversion, dbversionlen) !=
            dbversionlen)
                goto close;
        /*
@@ -769,7 +769,7 @@
        int nvalid, rv;
 
        /*
-        * If we can't use the data base, revert to the 
+        * If we can't use the data base, revert to the
         * slow library call.
         */
        if (kd->db == 0) {
@@ -882,7 +882,7 @@
                while (len > 0) {
                        u_long  pa;
                        off_t   foff;
-               
+
                        cc = _kvm_kvatop(kd, kva, &pa);
                        if (cc == 0)
                                return (-1);
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_alpha.c
--- a/lib/libkvm/kvm_alpha.c    Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_alpha.c    Fri Jul 02 15:28:49 1999 +0000
@@ -1,21 +1,21 @@
-/*     $NetBSD: kvm_alpha.c,v 1.14 1998/08/17 20:11:32 thorpej Exp $   */
+/*     $NetBSD: kvm_alpha.c,v 1.15 1999/07/02 15:28:49 simonb Exp $    */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
  * All rights reserved.
  *
  * Author: Chris G. Demetriou
- * 
+ *
  * Permission to use, copy, modify and distribute this software and
  * its documentation is hereby granted, provided that both the copyright
  * notice and this permission notice appear in all copies of the
  * software, derivative works or modified versions, and any portions
  * thereof, and that both notices appear in supporting documentation.
- * 
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 
- * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
  * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- * 
+ *
  * Carnegie Mellon requests users of this software to return to
  *
  *  Software Distribution Coordinator  or  Software.Distribution%CS.CMU.EDU@localhost
@@ -183,7 +183,7 @@
 /*
  * Translate a physical address to a file-offset in the crash-dump.
  */
-off_t   
+off_t
 _kvm_pa2off(kd, pa)
        kvm_t *kd;
        u_long pa;
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_dump.3
--- a/lib/libkvm/kvm_dump.3     Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_dump.3     Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_dump.3,v 1.5 1998/06/08 10:57:31 lukem Exp $
+.\"    $NetBSD: kvm_dump.3,v 1.6 1999/07/02 15:28:49 simonb Exp $
 .\"
 .\" Copyright (c) 1996 Leo Weppelman
 .\" All rights reserved.
@@ -55,10 +55,10 @@
 .Pp
 The function
 .Fn kvm_dump_mkheader
-checks if the physical memory file associated with 
+checks if the physical memory file associated with
 .Fa kd
 contains a valid crash-dump header as generated by a dumping kernel. When a
-valid header is found, 
+valid header is found,
 .Fn kvm_dump_mkheader
 initializes the internal kvm data structures as if a crash-dump generated by
 the
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_file.c
--- a/lib/libkvm/kvm_file.c     Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_file.c     Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_file.c,v 1.12 1999/04/01 09:57:00 veego Exp $      */
+/*     $NetBSD: kvm_file.c,v 1.13 1999/07/02 15:28:50 simonb Exp $     */
 
 /*-
  * Copyright (c) 1989, 1992, 1993
@@ -38,12 +38,12 @@
 #if 0
 static char sccsid[] = "@(#)kvm_file.c 8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: kvm_file.c,v 1.12 1999/04/01 09:57:00 veego Exp $");
+__RCSID("$NetBSD: kvm_file.c,v 1.13 1999/07/02 15:28:50 simonb Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 /*
- * File list interface for kvm.  pstat, fstat and netstat are 
+ * File list interface for kvm.  pstat, fstat and netstat are
  * users of this code, so we've factored it out into a separate module.
  * Thus, we keep this grunge out of the other kvm applications (i.e.,
  * most other applications are interested only in open/close/read/nlist).
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_geterr.3
--- a/lib/libkvm/kvm_geterr.3   Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_geterr.3   Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_geterr.3,v 1.3 1998/02/05 18:51:42 perry Exp $
+.\"    $NetBSD: kvm_geterr.3,v 1.4 1999/07/02 15:28:50 simonb Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -57,7 +57,7 @@
 The results are undefined if the most recent
 .Xr kvm 3
 library call did not produce an error.
-The string returned is stored in memory owned by 
+The string returned is stored in memory owned by
 .Xr kvm 3
 so the message should be copied out and saved elsewhere if necessary.
 .Sh BUGS
@@ -67,7 +67,7 @@
 .Dv NULL
 descriptor.
 Therefore, errors on open are output to the special error buffer
-passed to 
+passed to
 .Fn kvm_openfiles .
 This option is not available to
 .Fn kvm_open .
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_getprocs.3
--- a/lib/libkvm/kvm_getprocs.3 Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_getprocs.3 Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: kvm_getprocs.3,v 1.4 1998/02/05 18:51:45 perry Exp $
+.\"    $NetBSD: kvm_getprocs.3,v 1.5 1999/07/02 15:28:50 simonb Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -43,7 +43,7 @@
 .Sh NAME
 .Nm kvm_getprocs ,
 .Nm kvm_getargv ,
-.Nm kvm_getenvv 
+.Nm kvm_getenvv
 .Nd access user process state
 .Sh LIBRARY
 .Lb libkvm
@@ -75,7 +75,7 @@
 .It Sy KERN_PROC_ALL
 all processes
 .It Sy KERN_PROC_PID
-processes with process id 
+processes with process id
 .Fa arg
 .It Sy KERN_PROC_PGRP
 processes with process group
@@ -98,13 +98,13 @@
 .Fa cnt .
 The processes are returned as a contiguous array of kinfo_proc structures.
 This memory is locally allocated, and subsequent calls to
-.Fn kvm_getprocs 
-and 
+.Fn kvm_getprocs
+and
 .Fn kvm_close
 will overwrite this storage.
 .Pp
 .Fn kvm_getargv
-returns a null-terminated argument vector that corresponds to the 
+returns a null-terminated argument vector that corresponds to the
 command line arguments passed to process indicated by
 .Fa p .
 Most likely, these arguments correspond to the values passed to
@@ -115,7 +115,7 @@
 in the p_comm field of the process structure returned by
 .Fn kvm_getprocs .
 .Pp
-The 
+The
 .Fa nchr
 argument indicates the maximum number of characters, including null bytes,
 to use in building the strings.  If this amount is exceeded, the string
@@ -128,13 +128,13 @@
 out large amounts of text only to ignore it.
 If
 .Fa nchr
-is zero, no limit is imposed and all argument strings are returned in 
+is zero, no limit is imposed and all argument strings are returned in
 their entirety.
 .Pp
 The memory allocated to the argv pointers and string storage
-is owned by the kvm library.  Subsequent 
-.Fn kvm_getprocs 
-and 
+is owned by the kvm library.  Subsequent
+.Fn kvm_getprocs
+and
 .Xr kvm_close 3
 calls will clobber this storage.
 .Pp
diff -r 039c17955c37 -r ea3b0d207e75 lib/libkvm/kvm_i386.c
--- a/lib/libkvm/kvm_i386.c     Fri Jul 02 15:27:08 1999 +0000
+++ b/lib/libkvm/kvm_i386.c     Fri Jul 02 15:28:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_i386.c,v 1.14 1998/09/27 18:16:00 christos Exp $   */
+/*     $NetBSD: kvm_i386.c,v 1.15 1999/07/02 15:28:50 simonb Exp $     */
 
 /*-
  * Copyright (c) 1989, 1992, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm_hp300.c        8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: kvm_i386.c,v 1.14 1998/09/27 18:16:00 christos Exp $");
+__RCSID("$NetBSD: kvm_i386.c,v 1.15 1999/07/02 15:28:50 simonb Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */



Home | Main Index | Thread Index | Old Index