From owner-svn-src-stable-7@FreeBSD.ORG Fri Feb 20 07:10:33 2009 Return-Path: Delivered-To: svn-src-stable-7@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 839C1106566C; Fri, 20 Feb 2009 07:10:33 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7150F8FC0C; Fri, 20 Feb 2009 07:10:33 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1K7AXu1019622; Fri, 20 Feb 2009 07:10:33 GMT (envelope-from maxim@svn.freebsd.org) Received: (from maxim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1K7AX1E019621; Fri, 20 Feb 2009 07:10:33 GMT (envelope-from maxim@svn.freebsd.org) Message-Id: <200902200710.n1K7AX1E019621@svn.freebsd.org> From: Maxim Konovalov Date: Fri, 20 Feb 2009 07:10:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188841 - stable/7/usr.bin/stat X-BeenThere: svn-src-stable-7@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 7-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2009 07:10:34 -0000 Author: maxim Date: Fri Feb 20 07:10:33 2009 New Revision: 188841 URL: http://svn.freebsd.org/changeset/base/188841 Log: MFC r188481: print an octal representation of suid, sgid and sticky bits with -x flag. Modified: stable/7/usr.bin/stat/ (props changed) stable/7/usr.bin/stat/stat.c Modified: stable/7/usr.bin/stat/stat.c ============================================================================== --- stable/7/usr.bin/stat/stat.c Fri Feb 20 06:10:12 2009 (r188840) +++ stable/7/usr.bin/stat/stat.c Fri Feb 20 07:10:33 2009 (r188841) @@ -108,7 +108,7 @@ __FBSDID("$FreeBSD$"); #define LINUX_FORMAT \ " File: \"%N\"%n" \ " Size: %-11z FileType: %HT%n" \ - " Mode: (%04OLp/%.10Sp) Uid: (%5u/%8Su) Gid: (%5g/%8Sg)%n" \ + " Mode: (%OMp%03OLp/%.10Sp) Uid: (%5u/%8Su) Gid: (%5g/%8Sg)%n" \ "Device: %Hd,%Ld Inode: %i Links: %l%n" \ "Access: %Sa%n" \ "Modify: %Sm%n" \