* dir.cc (readdir_workdir): Only fill out d_ino when linked into older app.
* include/cygwin/version.h: Bump api minor number to 147, reflecting obsolescence of d_ino. (CYGWIN_VERSION_USER_API_VERSION_COMBINED): New convenience macro. (CYGWIN_VERSION_CHECK_FOR_NEEDS_D_INO): New convenience macro.
This commit is contained in:
		@@ -20,7 +20,7 @@
 | 
			
		||||
struct dirent
 | 
			
		||||
{
 | 
			
		||||
  long d_version;	/* Used since Cygwin 1.3.3. */
 | 
			
		||||
  __ino64_t d_ino;	/* still junk but with more bits */
 | 
			
		||||
  __ino64_t __deprecated_d_ino;	/* still junk but with more bits */
 | 
			
		||||
  long d_fd;		/* File descriptor of open directory.
 | 
			
		||||
			   Used since Cygwin 1.3.3. */
 | 
			
		||||
  unsigned __ino32;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user