mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Corrected a typo in the OS4 destructor code.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14876 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* $Id: crtbegin.c,v 1.6 2005-03-10 09:55:03 obarthel Exp $
|
* $Id: crtbegin.c,v 1.7 2005-03-10 13:28:05 obarthel Exp $
|
||||||
*
|
*
|
||||||
* :ts=4
|
* :ts=4
|
||||||
*
|
*
|
||||||
@ -60,7 +60,7 @@ _fini(void)
|
|||||||
the next following destructor. */
|
the next following destructor. */
|
||||||
(void)setjmp(__exit_jmp_buf);
|
(void)setjmp(__exit_jmp_buf);
|
||||||
|
|
||||||
for(i = j, num_dtors = 0 ; __DTOR_LIST__[j] != NULL ; j++)
|
for(j = 0, num_dtors = 0 ; __DTOR_LIST__[j] != NULL ; j++)
|
||||||
num_dtors++;
|
num_dtors++;
|
||||||
|
|
||||||
while(i++ < num_dtors)
|
while(i++ < num_dtors)
|
||||||
|
|||||||
Reference in New Issue
Block a user