CVS commit: src/usr.sbin/kvm_mkdb

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Sat Aug 15 14:17:53 UTC 2026

Modified Files:
	src/usr.sbin/kvm_mkdb: nlist_coff.c nlist_ecoff.c nlist_elf32.c

Log Message:
kvm_mkdb(8): Replace nonstandard SIZE_T_MAX by standard SIZE_MAX.

Should we delete this?  It was unhooked from the build in 2003 and it
no longer builds now:

/home/riastradh/netbsd/current/src/usr.sbin/kvm_mkdb/kvm_mkdb.c: In function 'main':
/home/riastradh/netbsd/current/src/usr.sbin/kvm_mkdb/kvm_mkdb.c:133:24: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  133 |                 dbname = _PATH_KVMDB;
      |                        ^
/home/riastradh/netbsd/current/src/usr.sbin/kvm_mkdb/kvm_mkdb.c:155:35: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  155 |                         nlistpath = _PATH_KSYMS;
      |                                   ^
/home/riastradh/netbsd/current/src/usr.sbin/kvm_mkdb/kvm_mkdb.c:157:35: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
  157 |                         nlistpath = _PATH_UNIX;
      |                                   ^


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/kvm_mkdb/nlist_coff.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/kvm_mkdb/nlist_ecoff.c
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/kvm_mkdb/nlist_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.