Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 16:07:21 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r242482 - head/usr.bin/kdump
Message-ID:  <201211021607.qA2G7L0Y054901@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Fri Nov  2 16:07:21 2012
New Revision: 242482
URL: http://svn.freebsd.org/changeset/base/242482

Log:
  kdump: Also decode fcntl commands containing underscores and digits.
  
  The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not
  decoded.

Modified:
  head/usr.bin/kdump/mksubr

Modified: head/usr.bin/kdump/mksubr
==============================================================================
--- head/usr.bin/kdump/mksubr	Fri Nov  2 15:06:01 2012	(r242481)
+++ head/usr.bin/kdump/mksubr	Fri Nov  2 16:07:21 2012	(r242482)
@@ -416,7 +416,7 @@ fcntlcmdname(int cmd, int arg, int decim
 {
 	switch (cmd) {
 _EOF_
-egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z]+[[:space:]]+[0-9]+[[:space:]]*" \
+egrep "^#[[:space:]]*define[[:space:]]+F_[A-Z0-9_]+[[:space:]]+[0-9]+[[:space:]]*" \
 	$include_dir/sys/fcntl.h | \
 	awk 'BEGIN { o=0 } { for (i = 1; i <= NF; i++) \
 		if ($i ~ /define/) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211021607.qA2G7L0Y054901>