[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
humph. system.h change pushed prematurely
From: |
Jim Meyering |
Subject: |
humph. system.h change pushed prematurely |
Date: |
Tue, 08 May 2012 15:56:14 +0200 |
Somehow I managed to push this change. Not only does it lack a
ChangeLog entry, but it should have been included as part of Paul's
upcoming stat.st_size-guard-improving changes. It shouldn't have been
committed separately. I did commit it locally, just to have a record
of it, but did not intend to push it.
Sorry.
...
> http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=452dc6b5ef39d3a9c26208d960085fe992f4c3b7
...
> - Log -----------------------------------------------------------------
> commit 452dc6b5ef39d3a9c26208d960085fe992f4c3b7
> Author: Jim Meyering <address@hidden>
> Date: Mon May 7 11:20:45 2012 +0200
>
> maint: new function: usable_st_size
>
> -----------------------------------------------------------------------
> Summary of changes:
> src/system.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/src/system.h b/src/system.h
> index 93d48c5..e3d3156 100644
> --- a/src/system.h
> +++ b/src/system.h
> @@ -601,6 +601,13 @@ bad_cast (char const *s)
> return (char *) s;
> }
>
> +/* Return a boolean indicating whether SB->st_size is defined. */
> +static inline bool
> +usable_st_size (struct stat const *sb)
> +{
> + return S_ISREG (sb->st_mode) || S_TYPEISSHM (sb) || S_TYPEISTMO (sb);
> +}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- humph. system.h change pushed prematurely,
Jim Meyering <=