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] |
On 03 Aug 2016 16:52, Gleb Natapov wrote: > --- a/elf/dl-iteratephdr.c > +++ b/elf/dl-iteratephdr.c > @@ -48,17 +48,18 @@ __dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info, > #ifdef SHARED > const void *caller = RETURN_ADDRESS (0); > for (Lmid_t cnt = GL(dl_nns) - 1; cnt > 0; --cnt) > + { > + /* We have to count the total number of loaded objects. */ > + nloaded += GL(dl_ns)[cnt]._ns_nloaded; > for (struct link_map *l = GL(dl_ns)[cnt]._ns_loaded; l; l = l->l_next) since you've added a scope here, all the code in it needs to be indented by one more level -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] |