This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] count number of loaded objects in each namespace only once


On 24 Jul 2016 15:24, Gleb Natapov wrote:
> --- a/elf/dl-iteratephdr.c
> +++ b/elf/dl-iteratephdr.c
> @@ -47,18 +47,18 @@ __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
>    Lmid_t ns = 0;
>  #ifdef SHARED
>    const void *caller = RETURN_ADDRESS (0);
> -  for (Lmid_t cnt = GL(dl_nns) - 1; cnt > 0; --cnt)
> +  for (Lmid_t cnt = GL(dl_nns) - 1; cnt > 0; --cnt) {

GNU style puts the brace on the next line all by itself
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]