diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:50:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-28 12:50:39 +0100 |
| commit | e7dd07c8025b169b7b43b955066a7200d9cdf244 (patch) | |
| tree | 6e8c927cfc67f3708b91ac79df07707af26e4929 /gl/fopen.c | |
| parent | 828a9720b10814c5836d03aa35af05d196c4104b (diff) | |
| parent | b0afb8fe0ff1d87165af9df61501197a06240dda (diff) | |
| download | monitoring-plugins-e7dd07c8025b169b7b43b955066a7200d9cdf244.tar.gz | |
Merge pull request #2213 from RincewindsHat/update/gnulib
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/fopen.c')
| -rw-r--r-- | gl/fopen.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Open a stream to a file. | 1 | /* Open a stream to a file. |
| 2 | Copyright (C) 2007-2024 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2025 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is free software: you can redistribute it and/or modify | 4 | This file is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as | 5 | it under the terms of the GNU Lesser General Public License as |
| @@ -19,12 +19,12 @@ | |||
| 19 | /* If the user's config.h happens to include <stdio.h>, let it include only | 19 | /* If the user's config.h happens to include <stdio.h>, let it include only |
| 20 | the system's <stdio.h> here, so that orig_fopen doesn't recurse to | 20 | the system's <stdio.h> here, so that orig_fopen doesn't recurse to |
| 21 | rpl_fopen. */ | 21 | rpl_fopen. */ |
| 22 | #define _GL_ALREADY_INCLUDING_STDIO_H | 22 | #define _GL_SKIP_GNULIB_STDIO_H |
| 23 | #include <config.h> | 23 | #include <config.h> |
| 24 | 24 | ||
| 25 | /* Get the original definition of fopen. It might be defined as a macro. */ | 25 | /* Get the original definition of fopen. It might be defined as a macro. */ |
| 26 | #include <stdio.h> | 26 | #include <stdio.h> |
| 27 | #undef _GL_ALREADY_INCLUDING_STDIO_H | 27 | #undef _GL_SKIP_GNULIB_STDIO_H |
| 28 | 28 | ||
| 29 | static FILE * | 29 | static FILE * |
| 30 | orig_fopen (const char *filename, const char *mode) | 30 | orig_fopen (const char *filename, const char *mode) |
