mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* dir.c, file.c (lstat): avoid warnings for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									4d41fb2215
								
							
						
					
					
						commit
						9d7f33e08b
					
				
					 3 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Mon Apr 11 22:18:23 2005  WATANABE Hirofumi  <eban@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* dir.c, file.c (lstat): avoid warnings for mingw.
 | 
			
		||||
 | 
			
		||||
Mon Apr 11 20:11:06 2005  Hidetoshi NAGAI  <nagai@ai.kyutech.ac.jp>
 | 
			
		||||
 | 
			
		||||
	* ext/tcltklib/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								dir.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								dir.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -63,8 +63,8 @@ char *strchr _((char*,char));
 | 
			
		|||
 | 
			
		||||
#include "util.h"
 | 
			
		||||
 | 
			
		||||
#ifndef HAVE_LSTAT
 | 
			
		||||
#define lstat(path,st) stat(path,st)
 | 
			
		||||
#if !defined HAVE_LSTAT && !defined lstat
 | 
			
		||||
#define lstat stat
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define FNM_NOESCAPE	0x01
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								file.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								file.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -64,8 +64,8 @@ char *strrchr _((const char*,const char));
 | 
			
		|||
#include <sys/mkdev.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef HAVE_LSTAT
 | 
			
		||||
#define lstat(path,st) stat(path,st)
 | 
			
		||||
#if !defined HAVE_LSTAT && !defined lstat
 | 
			
		||||
#define lstat stat
 | 
			
		||||
#endif
 | 
			
		||||
#if !HAVE_FSEEKO && !defined(fseeko)
 | 
			
		||||
# define fseeko  fseek
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue