mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Regenerated
Fri Dec 8 13:04:51 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * posix/glob.c: Implement new options GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_TILDE, GLOB_NOMAGIC. (glob): Use stat instead of lstat to determine directoriness. * posix/glob.h (GLOB_ALTDIRFUNC, GLOB_BRACE, GLOB_NOMAGIC, GLOB_TILDE): New flag bits. (__GLOB_FLAGS): Include them. (glob_t): New members gl_closedir, gl_readdir, gl_opendir, gl_lstat, gl_stat.
This commit is contained in:
@@ -62,7 +62,8 @@ _dl_init_next (void)
|
||||
}
|
||||
}
|
||||
|
||||
if (l->l_info[DT_INIT])
|
||||
if (l->l_info[DT_INIT] &&
|
||||
!(l->l_name[0] == '\0' && l->l_type == lt_executable))
|
||||
{
|
||||
/* Run this object's initializer. */
|
||||
l->l_init_running = 1;
|
||||
@@ -76,7 +77,7 @@ _dl_init_next (void)
|
||||
}
|
||||
|
||||
/* Look for the first initializer not yet called. */
|
||||
l = _dl_loaded->l_next; /* Skip the executable itself. */
|
||||
l = _dl_loaded;
|
||||
do
|
||||
{
|
||||
init = next_init (l);
|
||||
|
Reference in New Issue
Block a user