diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-05-24 10:47:33 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-05-24 10:47:33 +0000 |
commit | a133e7a4d2fd162f67b1fa6eb34b490a710459e5 (patch) | |
tree | d9587a70f9db2da356d5730e77faf4aa0c4b2887 | |
parent | 0501d6036744d44cad6d5a6eda8090ddfbe604c4 (diff) | |
download | glibc-a133e7a4d2fd162f67b1fa6eb34b490a710459e5.tar glibc-a133e7a4d2fd162f67b1fa6eb34b490a710459e5.tar.gz glibc-a133e7a4d2fd162f67b1fa6eb34b490a710459e5.tar.bz2 glibc-a133e7a4d2fd162f67b1fa6eb34b490a710459e5.zip |
1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu>cvs/libc-ud-970523
* argp-help.c (hol_add_cluster): Initialize CL->depth.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | argp/argp-help.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +1997-05-21 17:53 Miles Bader <miles@gnu.ai.mit.edu> + + * argp-help.c (hol_add_cluster): Initialize CL->depth. + 1997-05-24 03:51 Ulrich Drepper <drepper@cygnus.com> * stdlib/Makefile (routines): Add strtol_l, strtoul_l, strtoll_l, diff --git a/argp/argp-help.c b/argp/argp-help.c index da6c147c30..cd54efcffe 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -458,6 +458,7 @@ hol_add_cluster (struct hol *hol, int group, const char *header, int index, cl->index = index; cl->parent = parent; cl->argp = argp; + cl->depth = parent ? parent->depth + 1 : 0; cl->next = hol->clusters; hol->clusters = cl; |