Date: Thu, 30 May 2019 15:15:48 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r348426 - in stable/12/usr.bin: . posixshmcontrol Message-ID: <201905301515.x4UFFmHj025292@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu May 30 15:15:47 2019 New Revision: 348426 URL: https://svnweb.freebsd.org/changeset/base/348426 Log: MFC r348167, r348168, r348359, r348361: Add posixshmcontrol(1) utility. Added: stable/12/usr.bin/posixshmcontrol/ - copied from r348167, head/usr.bin/posixshmcontrol/ stable/12/usr.bin/posixshmcontrol/posixshmcontrol.1 - copied, changed from r348359, head/usr.bin/posixshmcontrol/posixshmcontrol.1 Modified: stable/12/usr.bin/Makefile stable/12/usr.bin/posixshmcontrol/Makefile stable/12/usr.bin/posixshmcontrol/posixshmcontrol.c Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/Makefile ============================================================================== --- stable/12/usr.bin/Makefile Thu May 30 15:13:23 2019 (r348425) +++ stable/12/usr.bin/Makefile Thu May 30 15:15:47 2019 (r348426) @@ -114,6 +114,7 @@ SUBDIR= alias \ patch \ pathchk \ perror \ + posixshmcontrol \ pr \ printenv \ printf \ Modified: stable/12/usr.bin/posixshmcontrol/Makefile ============================================================================== --- head/usr.bin/posixshmcontrol/Makefile Thu May 23 14:33:01 2019 (r348167) +++ stable/12/usr.bin/posixshmcontrol/Makefile Thu May 30 15:15:47 2019 (r348426) @@ -3,6 +3,5 @@ PROG= posixshmcontrol LIBADD= util WARNS?= 6 -MAN= .include <bsd.prog.mk> Copied and modified: stable/12/usr.bin/posixshmcontrol/posixshmcontrol.1 (from r348359, head/usr.bin/posixshmcontrol/posixshmcontrol.1) ============================================================================== --- head/usr.bin/posixshmcontrol/posixshmcontrol.1 Wed May 29 13:51:18 2019 (r348359, copy source) +++ stable/12/usr.bin/posixshmcontrol/posixshmcontrol.1 Thu May 30 15:15:47 2019 (r348426) @@ -1,5 +1,4 @@ .\" Copyright (c) 2019 The FreeBSD Foundation, Inc. -.\" All rights reserved. .\" .\" This documentation was written by .\" Konstantin Belousov <kib@FreeBSD.org> under sponsorship Modified: stable/12/usr.bin/posixshmcontrol/posixshmcontrol.c ============================================================================== --- head/usr.bin/posixshmcontrol/posixshmcontrol.c Thu May 23 14:33:01 2019 (r348167) +++ stable/12/usr.bin/posixshmcontrol/posixshmcontrol.c Thu May 30 15:15:47 2019 (r348426) @@ -160,10 +160,10 @@ shm_decode_mode(mode_t m, char *str) static int list_shm(int argc, char **argv) { - char *buf, *bp, sizebuf[8], str[10], c; + char *buf, *bp, sizebuf[8], str[10]; const struct kinfo_file *kif; struct stat st; - int error, fd, mib[3], ret; + int c, error, fd, mib[3], ret; size_t len, miblen; bool hsize, uname;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905301515.x4UFFmHj025292>