Module Name:    src
Committed By:   kamil
Date:           Fri Dec  6 18:03:49 UTC 2019

Modified Files:
        src/share/man/man5: core.5

Log Message:
Remove misleading comments from core(5)

netbsd_elfcore_procinfo is still in version 1.
cpi_siglwp is stored in the same netbsd_elfcore_procinfo version (1).

The size of struct is stored in cpi_cpisize and the struct can be
expanded without versioning the struct.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man5/core.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man5/core.5
diff -u src/share/man/man5/core.5:1.32 src/share/man/man5/core.5:1.33
--- src/share/man/man5/core.5:1.32	Mon Sep  9 00:14:55 2019
+++ src/share/man/man5/core.5	Fri Dec  6 18:03:49 2019
@@ -1,4 +1,4 @@
-.\"	$NetBSD: core.5,v 1.32 2019/09/09 00:14:55 sevan Exp $
+.\"	$NetBSD: core.5,v 1.33 2019/12/06 18:03:49 kamil Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,7 @@
 .\"
 .\"     @(#)core.5	8.3 (Berkeley) 12/11/93
 .\"
-.Dd September 9, 2019
+.Dd December 6, 2019
 .Dt CORE 5
 .Os
 .Sh NAME
@@ -144,7 +144,6 @@ and contains the following
 structure:
 .Bd -literal
 struct netbsd_elfcore_procinfo {
-   /* Version 1 fields start here. */
     uint32_t cpi_version;      /* netbsd_elfcore_procinfo version */
     uint32_t cpi_cpisize;      /* sizeof(netbsd_elfcore_procinfo) */
     uint32_t cpi_signo;        /* killing signal */
@@ -165,8 +164,7 @@ struct netbsd_elfcore_procinfo {
     uint32_t cpi_svgid;        /* saved group ID */
     uint32_t cpi_nlwps;        /* number of LWPs */
     int8_t   cpi_name[32];     /* copy of p->p_comm */
-    /* Add version 2 fields below here. */
-    int32_t         cpi_siglwp;     /* LWP target of killing signal */
+    int32_t  cpi_siglwp;       /* LWP target of killing signal */
 };
 .Ed
 .Pp

Reply via email to