From: Paul Eggert Date: Sat, 12 Aug 2023 23:05:22 +0000 (-0700) Subject: boot-time,readutmp: do not depend on fopen-gnu X-Git-Tag: v1.0~919 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a6dd3a4ceaf6dfa36751ae2915d74270410b0275;p=gnulib.git boot-time,readutmp: do not depend on fopen-gnu These modules should work well enough even if fopen is not fixed to conform to fopen-gnu standards. The only gotcha I can see is older fopen implementations that lack support for "e", and a potential O_CLOEXEC leak is not worth worrying about. * modules/boot-time (Depends-on): * modules/readutmp (Depends-on): Remove fopen-gnu. --- diff --git a/ChangeLog b/ChangeLog index c1a8c8e37c..407e1733ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2023-08-12 Paul Eggert + boot-time,readutmp: do not depend on fopen-gnu + These modules should work well enough even if fopen is not fixed + to conform to fopen-gnu standards. The only gotcha I can see is + older fopen implementations that lack support for "e", and + a potential O_CLOEXEC leak is not worth worrying about. + * modules/boot-time (Depends-on): + * modules/readutmp (Depends-on): + Remove fopen-gnu. + readutmp: do not depend on timespec_get boot-time code no longer needs it. * modules/readutmp (Depends-on): Remove timespec_get. diff --git a/modules/boot-time b/modules/boot-time index 749b9014cd..d8ab075024 100644 --- a/modules/boot-time +++ b/modules/boot-time @@ -11,7 +11,6 @@ m4/readutmp.m4 Depends-on: c-strtod extensions -fopen-gnu idx stat-time stdbool diff --git a/modules/readutmp b/modules/readutmp index e314841298..304cebca0c 100644 --- a/modules/readutmp +++ b/modules/readutmp @@ -11,7 +11,6 @@ m4/systemd.m4 Depends-on: c-strtod extensions -fopen-gnu idx stat-time stdbool