Subversion Repositories Kolibri OS

Rev

Rev 5804 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5804 Rev 5962
Line 8... Line 8...
8
	if (isdir(way))
8
	if (isdir(way))
9
	{
9
	{
10
		cur_file = malloc(4096);
10
		cur_file = malloc(4096);
11
		// In the process of recursive descent, memory must be allocated dynamically, because the static memory -> was a bug !!! But unfortunately pass away to sacrifice speed.
11
		// In the process of recursive descent, memory must be allocated dynamically, because the static memory -> was a bug !!! But unfortunately pass away to sacrifice speed.
12
		GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL);
12
		GetDir(#dirbuf, #fcount, way, DIRS_ONLYREAL);
-
 
13
		filename = dirbuf+72;
13
		for (i=0; i
14
		for (i=0; i
14
		{
15
		{
15
			filename = i*304+dirbuf+72;
16
			filename += 304;
16
			sprintf(cur_file,"%s/%s",way,filename);
17
			sprintf(cur_file,"%s/%s",way,filename);
Line 17... Line 18...
17
			
18
			
18
			if (TestBit(ESDWORD[filename-40], 4) )
19
			if (TestBit(ESDWORD[filename-40], 4) )
19
			{
20
			{