mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
reactos\subsys\system\usetup\infcache.c (line 1156)
CacheSection = Cache->FirstSection; while (Section != NULL) changed to: CacheSection = Cache->FirstSection; // while (Section != NULL) // RobD - this looks like an error, variable 'Section' never changes inside the while loop... while (CacheSection != NULL) and also the same in: reactos\tools\mkhive\infcache.c (line 1007) Could Royce or Eric confirm this 'fix' please. svn path=/trunk/; revision=6158
This commit is contained in:
parent
b58279d977
commit
7f69240625
5 changed files with 10 additions and 5 deletions
|
@ -1 +1,2 @@
|
|||
*.d
|
||||
*.o
|
||||
|
|
|
@ -5,4 +5,5 @@
|
|||
*.sym
|
||||
*.sys
|
||||
*.map
|
||||
_regtests.c
|
||||
_regtests.c
|
||||
*.sys
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: infcache.c,v 1.5 2003/08/24 10:36:06 chorns Exp $
|
||||
/* $Id: infcache.c,v 1.6 2003/09/27 09:14:15 robd Exp $
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS text-mode setup
|
||||
* FILE: subsys/system/usetup/infcache.c
|
||||
|
@ -1153,7 +1153,8 @@ InfFindFirstLine (HINF InfHandle,
|
|||
|
||||
/* Iterate through list of sections */
|
||||
CacheSection = Cache->FirstSection;
|
||||
while (Section != NULL)
|
||||
// while (Section != NULL) // RobD - this looks like an error, Section variable never changes inside the while loop...
|
||||
while (CacheSection != NULL)
|
||||
{
|
||||
DPRINT("Comparing '%S' and '%S'\n", CacheSection->Name, Section);
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
*.o
|
||||
*.exe
|
||||
mkhive
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: infcache.c,v 1.5 2003/05/18 13:50:58 ekohl Exp $
|
||||
/* $Id: infcache.c,v 1.6 2003/09/27 09:14:15 robd Exp $
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS hive maker
|
||||
* FILE: tools/mkhive/infcache.c
|
||||
|
@ -1004,7 +1004,8 @@ InfFindFirstLine (HINF InfHandle,
|
|||
|
||||
/* Iterate through list of sections */
|
||||
CacheSection = Cache->FirstSection;
|
||||
while (Section != NULL)
|
||||
// while (Section != NULL) // RobD - this looks like an error, Section variable never changes inside the while loop...
|
||||
while (CacheSection != NULL)
|
||||
{
|
||||
DPRINT("Comparing '%s' and '%s'\n", CacheSection->Name, Section);
|
||||
|
||||
|
|
Loading…
Reference in a new issue