(__old_globfree): Also copy gl_offs.

This commit is contained in:
Ulrich Drepper 2005-01-27 20:52:04 +00:00
parent 1ba6212c8b
commit 9259ad13c3

View 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);
}