guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: build: Use 127 as the Linux hash-bang limit.


From: Ludovic Courtès
Subject: 02/02: build: Use 127 as the Linux hash-bang limit.
Date: Wed, 13 Jan 2016 10:14:33 +0000

civodul pushed a commit to branch master
in repository guix.

commit 93ce8a8e0060dedbe97581c1a6e365336d5b4969
Author: Ludovic Courtès <address@hidden>
Date:   Wed Jan 13 11:04:29 2016 +0100

    build: Use 127 as the Linux hash-bang limit.
    
    Reported by address@hidden (Taylan Ulrich Bayırlı/Kammer).
    
    * m4/guix.m4 (LINUX_HASH_BANG_LIMIT): Set to 127.
---
 m4/guix.m4 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/guix.m4 b/m4/guix.m4
index 563ce51..acfc33e 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -175,9 +175,9 @@ AC_DEFUN([GUIX_TEST_ROOT_DIRECTORY], [
     [ac_cv_guix_test_root="`pwd`/test-tmp"])
 ])
 
-dnl 'BINPRM_BUF_SIZE' constant in Linux.  The Hurd has a limit
-dnl of about a page (see exec/hashexec.c.)
-m4_define([LINUX_HASH_BANG_LIMIT], 128)
+dnl 'BINPRM_BUF_SIZE' constant in Linux (we leave room for the trailing zero.)
+dnl The Hurd has a limit of about a page (see exec/hashexec.c.)
+m4_define([LINUX_HASH_BANG_LIMIT], 127)
 
 dnl Hardcoded 'sun_path' length in <sys/un.h>.
 m4_define([SOCKET_FILE_NAME_LIMIT], 108)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]