about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-01-27 20:53:23 +0000
committerUlrich Drepper <drepper@redhat.com>2005-01-27 20:53:23 +0000
commit566511f0f59dcfe373e5cd14567c64c794e44b36 (patch)
treea6314d565d2a7a0c691887af944cb71cebf9ec05
parent5dcfcf3e3b3dae47e3de7a090792419ea2b5f9e5 (diff)
downloadglibc-566511f0f59dcfe373e5cd14567c64c794e44b36.tar.gz
glibc-566511f0f59dcfe373e5cd14567c64c794e44b36.tar.xz
glibc-566511f0f59dcfe373e5cd14567c64c794e44b36.zip
Update.
2005-01-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
	copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/alpha/oldglob.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 98be25bf3c..55b780b2b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-27  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
+	copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
+
 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
 
 	[BZ #558]
diff --git a/sysdeps/unix/sysv/linux/alpha/oldglob.c b/sysdeps/unix/sysv/linux/alpha/oldglob.c
index 9d39176f6b..6d9b79f2c3 100644
--- a/sysdeps/unix/sysv/linux/alpha/oldglob.c
+++ b/sysdeps/unix/sysv/linux/alpha/oldglob.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -91,6 +91,7 @@ __old_globfree (old_glob_t *pglob)
   /* We only need these two symbols.  */
   correct.gl_pathc = pglob->gl_pathc;
   correct.gl_pathv = pglob->gl_pathv;
+  correct.gl_offs = pglob->gl_offs;
 
   globfree (&correct);
 }