(__old_globfree): Also copy gl_offs.
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2005 20:52:04 +0000 (20:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2005 20:52:04 +0000 (20:52 +0000)
sysdeps/unix/sysv/linux/alpha/oldglob.c

index 9d39176..6d9b79f 100644 (file)
@@ -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);
 }