mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 12:39:38 +01:00 
			
		
		
		
	st_mode is before st_ino for NetBSD in stat record
git-svn-id: trunk@20737 -
This commit is contained in:
		
							parent
							
								
									f0a75c1254
								
							
						
					
					
						commit
						67bc3c0e0b
					
				@ -69,8 +69,14 @@ TYPE
 | 
				
			|||||||
        st_nlink      : nlink_t;           // number of hard links
 | 
					        st_nlink      : nlink_t;           // number of hard links
 | 
				
			||||||
        st_ino        : ino_t;             // inode's number
 | 
					        st_ino        : ino_t;             // inode's number
 | 
				
			||||||
{$else}
 | 
					{$else}
 | 
				
			||||||
 | 
					{$ifdef netbsd}
 | 
				
			||||||
 | 
					     { order is inverted for better alignment probably }
 | 
				
			||||||
 | 
					        st_mode       : mode_t;            // inode protection mode
 | 
				
			||||||
 | 
					        st_ino        : ino_t;             // inode's number
 | 
				
			||||||
 | 
					{$else not netbsd}
 | 
				
			||||||
        st_ino        : ino_t;             // inode's number
 | 
					        st_ino        : ino_t;             // inode's number
 | 
				
			||||||
        st_mode       : mode_t;            // inode protection mode
 | 
					        st_mode       : mode_t;            // inode protection mode
 | 
				
			||||||
 | 
					{$endif not netbsd}
 | 
				
			||||||
        st_nlink      : nlink_t;           // number of hard links
 | 
					        st_nlink      : nlink_t;           // number of hard links
 | 
				
			||||||
{$endif}
 | 
					{$endif}
 | 
				
			||||||
        st_uid        : uid_t;             // user ID of the file's owner
 | 
					        st_uid        : uid_t;             // user ID of the file's owner
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user