diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 09:24:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 09:24:23 +0100 |
| commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
| tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/getdelim.c | |
| parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
| parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
| download | monitoring-plugins-9b4df9e.tar.gz | |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/getdelim.c')
| -rw-r--r-- | gl/getdelim.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gl/getdelim.c b/gl/getdelim.c index 79ec3dd1..58063b15 100644 --- a/gl/getdelim.c +++ b/gl/getdelim.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* getdelim.c --- Implementation of replacement getdelim function. | 1 | /* getdelim.c --- Implementation of replacement getdelim function. |
| 2 | Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2023 Free Software | 2 | Copyright (C) 1994, 1996-1998, 2001, 2003, 2005-2024 Free Software |
| 3 | Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -30,10 +30,6 @@ | |||
| 30 | #include <stdlib.h> | 30 | #include <stdlib.h> |
| 31 | #include <errno.h> | 31 | #include <errno.h> |
| 32 | 32 | ||
| 33 | #ifndef SSIZE_MAX | ||
| 34 | # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) | ||
| 35 | #endif | ||
| 36 | |||
| 37 | #if USE_UNLOCKED_IO | 33 | #if USE_UNLOCKED_IO |
| 38 | # include "unlocked-io.h" | 34 | # include "unlocked-io.h" |
| 39 | # define getc_maybe_unlocked(fp) getc(fp) | 35 | # define getc_maybe_unlocked(fp) getc(fp) |
