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/) \ _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"