From d6d2caef3e44d0713bb6625f697a1ec615abae70 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 5 Apr 2020 16:29:54 +0200 Subject: [PATCH 4/4] misc: Choose a longer arbitrary line length. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows running specifying a `getty' in the GNU Guix store. * misc/getttyent.c (MAXLINELENGTH): Use 512 (instead of 100) as another "great" arbitrary limit. Co-Authored-By: Ludovic Courtès --- misc/getttyent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/getttyent.c b/misc/getttyent.c index 92d92b026f..508d296291 100644 --- a/misc/getttyent.c +++ b/misc/getttyent.c @@ -66,7 +66,7 @@ __getttyent (void) static struct ttyent tty; int c; char *p; -#define MAXLINELENGTH 100 +#define MAXLINELENGTH 512 static char line[MAXLINELENGTH]; if (!tf && !__setttyent()) -- 2.26.0 class='sub right'>
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-02-29nls: Update translations....Florian Pelz
2023-05-31nls: Update translations....Florian Pelz
2023-03-07nls: Update translations.Julien Lepiller
2023-02-26nls: Fix more Texinfo Italiano....Tobias Geerinckx-Rice
2022-12-04nls: Update translations....Julien Lepiller
2022-11-04nls: Update translations....Julien Lepiller
2022-10-06nls: Update translations.Julien Lepiller
2022-09-04nls: Update translations.Julien Lepiller
2022-08-10nls: Update translations....Julien Lepiller
2022-07-09nls: Update translations....Julien Lepiller
2022-06-04nls: Update translations....Julien Lepiller
2022-05-01nls: Update translations....Julien Lepiller
2022-04-02nls: Update translations....Julien Lepiller
2022-03-01nls: Update translations....Julien Lepiller
2022-02-04nls: Update translations....Julien Lepiller
2022-01-09nls: Update translations....Julien Lepiller
2021-12-04nls: Update translations.Julien Lepiller
2021-11-06nls: Update translations....Julien Lepiller
2021-10-17nls: Update translations.Julien Lepiller
2021-09-02nls: Update translations....Julien Lepiller