diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 17:11:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-19 17:11:28 +0000 |
commit | 55033a44cbdc7035730cae127677fb1d3490393b (patch) | |
tree | 819f620e4bf62bf927a4f96e2d521c29dee70673 | |
parent | 3325198e71fe8e600f585ef3a38c3b5240d440db (diff) | |
download | glibc-55033a44cbdc7035730cae127677fb1d3490393b.zip glibc-55033a44cbdc7035730cae127677fb1d3490393b.tar.gz glibc-55033a44cbdc7035730cae127677fb1d3490393b.tar.bz2 |
Update.
* test-skeleton.c (main): Make sure correct value is seen as
argv[0] after adjustment of argv, and argc.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | test-skeleton.c | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2002-12-19 Ulrich Drepper <drepper@redhat.com> + * test-skeleton.c (main): Make sure correct value is seen as + argv[0] after adjustment of argv, and argc. + * elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if RTLD_CORRECT_DYNAMIC_WEAK is defined. diff --git a/test-skeleton.c b/test-skeleton.c index 78a88dc..24f8fb8 100644 --- a/test-skeleton.c +++ b/test-skeleton.c @@ -225,6 +225,7 @@ main (int argc, char *argv[]) atexit (delete_temp_files); /* Correct for the possible parameters. */ + argv[optind - 1] = argv[0]; argv += optind - 1; argc -= optind - 1; |