[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] timevar: add missing timevar.def
From: |
Bruno Haible |
Subject: |
Re: [PATCH] timevar: add missing timevar.def |
Date: |
Sun, 28 Jul 2024 21:07:51 +0200 |
Hi Paul,
> diff --git a/modules/timevar b/modules/timevar
> index ef86fedb29..a460a08de8 100644
> --- a/modules/timevar
> +++ b/modules/timevar
> @@ -4,6 +4,7 @@ A simple self-profiling module based on timers.
> Files:
> lib/timevar.h
> lib/timevar.c
> +lib/timevar.def
>
> Depends-on:
> c99
I don't think this is good. The documentation
<https://www.gnu.org/software/gnulib/manual/html_node/Profiling-of-program-phases.html>
explains that this file is only a stub. The user is expected to
modify it. But modifying it is much harder (requires a --local-dir
option and a .diff file) if lib/timevar.def is part of the module.
gnulib-tool excludes the 'timevar' module by default from the testdirs
for this reason. See pygnulib/GLTestDir.py lines 149..159.
What was the immediate problem that you had with this module?
Bruno
- [PATCH] timevar: add missing timevar.def, Paul Eggert, 2024/07/28
- Re: [PATCH] timevar: add missing timevar.def,
Bruno Haible <=
- Re: [PATCH] timevar: add missing timevar.def, Bruno Haible, 2024/07/28
- Re: [PATCH] timevar: add missing timevar.def, Collin Funk, 2024/07/28
- Re: [PATCH] timevar: add missing timevar.def, Bruno Haible, 2024/07/28
- gnulib-tool.py: New options --extract-[recursive-]dependents, Bruno Haible, 2024/07/28