CVS: rdesktop disk.c,1.26,1.27

Peter ?strand <[email protected]>
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16863

Modified Files:
	disk.c 
Log Message:
Using constant FileBothDirectoryInformation instead of
hardcoded value 3. Added FIXME for other return types.


Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** disk.c	6 May 2004 08:17:14 -0000	1.26
--- disk.c	11 May 2004 12:46:39 -0000	1.27
***************
*** 821,825 ****
  	switch (info_class)
  	{
! 		case 3:	//FIXME: Why 3?
  
  			// If a search pattern is received, remember this pattern, and restart search
--- 821,825 ----
  	switch (info_class)
  	{
! 		case FileBothDirectoryInformation:
  
  			// If a search pattern is received, remember this pattern, and restart search
***************
*** 841,845 ****
  			sprintf(fullpath, "%s/%s", dirname, pdirent->d_name);
  
! 			/* JIF
  			   printf("Stat: %s\n", fullpath); */
  			if (stat(fullpath, &fstat))
--- 841,845 ----
  			sprintf(fullpath, "%s/%s", dirname, pdirent->d_name);
  
! 			/* JIF 
  			   printf("Stat: %s\n", fullpath); */
  			if (stat(fullpath, &fstat))
***************
*** 891,894 ****
--- 891,897 ----
  
  		default:
+ 			/* FIXME: Support FileDirectoryInformation,
+ 			   FileFullDirectoryInformation, and
+ 			   FileNamesInformation */
  
  			unimpl("IRP Query Directory sub: 0x%x\n", info_class);



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.