Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2016 07:16:11 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r304949 - stable/11/usr.bin/getconf
Message-ID:  <201608280716.u7S7GBQQ059359@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Aug 28 07:16:11 2016
New Revision: 304949
URL: https://svnweb.freebsd.org/changeset/base/304949

Log:
  MFC r303830,r304693,r304694,r304698:
  
  r303830:
  
  Remove vestigal references to __alpha__
  
  Replace alpha reference in getconf(1) with amd64 [*]
  
  PR:	 	211300 [*]
  
  r304693:
  
  Clean up trailing whitespace
  
  r304694:
  
  Add `MIN_HOLE_SIZE` pathconf(2) support to getconf
  
  This allows shell programs to programmatically determine whether
  or not a filesystem supports sparse files
  
  r304698:
  
  Add support for _PC_ACL_NFS4 as TRUSTEDBSD_ACL_NFS4
  
  The TRUSTEDBSD prefix was chosen for consistency with the other
  related `_PC_ACL*` prefixed variables.

Modified:
  stable/11/usr.bin/getconf/getconf.c
  stable/11/usr.bin/getconf/pathconf.gperf
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/getconf/getconf.c
==============================================================================
--- stable/11/usr.bin/getconf/getconf.c	Sun Aug 28 07:12:47 2016	(r304948)
+++ stable/11/usr.bin/getconf/getconf.c	Sun Aug 28 07:16:11 2016	(r304949)
@@ -109,13 +109,13 @@ main(int argc, char **argv)
 				do_confstr(name, key);
 			else
 				printf("undefined\n");
-		} else {		
+		} else {
 			valid = find_sysconf(name, &key);
 			if (valid > 0) {
 				do_sysconf(name, key);
 			} else if (valid < 0) {
 				printf("undefined\n");
-			} else 
+			} else
 				errx(EX_USAGE,
 				     "no such configuration parameter `%s'",
 				     name);

Modified: stable/11/usr.bin/getconf/pathconf.gperf
==============================================================================
--- stable/11/usr.bin/getconf/pathconf.gperf	Sun Aug 28 07:12:47 2016	(r304948)
+++ stable/11/usr.bin/getconf/pathconf.gperf	Sun Aug 28 07:16:11 2016	(r304949)
@@ -24,6 +24,7 @@ FILESIZEBITS, _PC_FILESIZEBITS
 LINK_MAX, _PC_LINK_MAX
 MAX_CANON, _PC_MAX_CANON
 MAX_INPUT, _PC_MAX_INPUT
+MIN_HOLE_SIZE, _PC_MIN_HOLE_SIZE
 NAME_MAX, _PC_NAME_MAX
 PATH_MAX, _PC_PATH_MAX
 PIPE_BUF, _PC_PIPE_BUF
@@ -34,6 +35,7 @@ POSIX_REC_MIN_XFER_SIZE, _PC_REC_MIN_XFE
 POSIX_REC_XFER_ALIGN, _PC_REC_XFER_ALIGN
 SYMLINK_MAX, _PC_SYMLINK_MAX
 TRUSTEDBSD_ACL_EXTENDED, _PC_ACL_EXTENDED
+TRUSTEDBSD_ACL_NFS4, _PC_ACL_NFS4
 TRUSTEDBSD_ACL_PATH_MAX, _PC_ACL_PATH_MAX
 TRUSTEDBSD_CAP_PRESENT, _PC_CAP_PRESENT
 TRUSTEDBSD_INF_PRESENT, _PC_INF_PRESENT



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