From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F695138334 for ; Sat, 27 Apr 2019 09:02:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CDC4E0874; Sat, 27 Apr 2019 09:02:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 703BAE0874 for ; Sat, 27 Apr 2019 09:02:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19635342942 for ; Sat, 27 Apr 2019 09:01:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87F5D5A5 for ; Sat, 27 Apr 2019 09:01:57 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1556355605.0a3db7b186f0785d29c2c72c5ad6dbb93381ac35.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: main.h X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 0a3db7b186f0785d29c2c72c5ad6dbb93381ac35 X-VCS-Branch: master Date: Sat, 27 Apr 2019 09:01:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb67712e-2f09-4424-995a-2a1ee1d116a2 X-Archives-Hash: 5eb36b6adf6bedda9e776e8f9d929626 commit: 0a3db7b186f0785d29c2c72c5ad6dbb93381ac35 Author: Fabian Groffen gentoo org> AuthorDate: Sat Apr 27 09:00:05 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Apr 27 09:00:05 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=0a3db7b1 main.h: include limits.h for Linux PATH_MAX make PATH_MAX available, such that the logic can properly use it (again) This issue showed itself as a fortification error on Linux, because _Q_PATH_MAX was defined as less than PATH_MAX making realpath_chk fail. Bug: https://bugs.gentoo.org/684468 Signed-off-by: Fabian Groffen gentoo.org> main.h | 1 + 1 file changed, 1 insertion(+) diff --git a/main.h b/main.h index 32c995f..88412a8 100644 --- a/main.h +++ b/main.h @@ -19,6 +19,7 @@ #include #include #include +#include #include "i18n.h" #include "colors.h"