From owner-svn-src-all@freebsd.org Thu May 12 21:18:18 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 955B0B381BA; Thu, 12 May 2016 21:18:18 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AA631651; Thu, 12 May 2016 21:18:18 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4CLIHif059604; Thu, 12 May 2016 21:18:17 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4CLIHUT059601; Thu, 12 May 2016 21:18:17 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201605122118.u4CLIHUT059601@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: "Conrad E. Meyer" Date: Thu, 12 May 2016 21:18:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299571 - in head: include sys/sys X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 21:18:18 -0000 Author: cem Date: Thu May 12 21:18:17 2016 New Revision: 299571 URL: https://svnweb.freebsd.org/changeset/base/299571 Log: Pollute more places with off64_t and add __off64_t Despite the private namespace, several broken ports depend on the __off64_t name for the type. Export it exactly the same way off_t and __off_t are exported. A follow-up to r299456. Suggested by: php56 Sponsored by: EMC / Isilon Storage Division Modified: head/include/stdio.h head/sys/sys/_types.h head/sys/sys/types.h Modified: head/include/stdio.h ============================================================================== --- head/include/stdio.h Thu May 12 20:53:49 2016 (r299570) +++ head/include/stdio.h Thu May 12 21:18:17 2016 (r299571) @@ -60,7 +60,7 @@ typedef __ssize_t ssize_t; #ifndef _OFF64_T_DECLARED #define _OFF64_T_DECLARED -typedef __off_t off64_t; +typedef __off64_t off64_t; #endif #if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE Modified: head/sys/sys/_types.h ============================================================================== --- head/sys/sys/_types.h Thu May 12 20:53:49 2016 (r299570) +++ head/sys/sys/_types.h Thu May 12 21:18:17 2016 (r299571) @@ -51,6 +51,7 @@ typedef int __accmode_t; /* access perm typedef int __nl_item; typedef __uint16_t __nlink_t; /* link count */ typedef __int64_t __off_t; /* file offset */ +typedef __int64_t __off64_t; /* file offset (alias) */ typedef __int32_t __pid_t; /* process [group] */ typedef __int64_t __rlim_t; /* resource limit - intentionally */ /* signed, because of legacy code */ Modified: head/sys/sys/types.h ============================================================================== --- head/sys/sys/types.h Thu May 12 20:53:49 2016 (r299570) +++ head/sys/sys/types.h Thu May 12 21:18:17 2016 (r299571) @@ -174,6 +174,11 @@ typedef __off_t off_t; /* file offset #define _OFF_T_DECLARED #endif +#ifndef _OFF64_T_DECLARED +typedef __off64_t off64_t; /* file offset (alias) */ +#define _OFF64_T_DECLARED +#endif + #ifndef _PID_T_DECLARED typedef __pid_t pid_t; /* process id */ #define _PID_T_DECLARED