2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/posix/telldir.c: Conditionally build dd_hash_lock.
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2012-07-16  Ralf Corsépius  <ralf.corsepius@rtems.org>
 | 
			
		||||
 | 
			
		||||
	* libc/posix/telldir.c: Conditionally build dd_hash_lock.
 | 
			
		||||
 | 
			
		||||
2012-07-13  Ralf Corsépius  <ralf.corsepius@rtems.org>
 | 
			
		||||
 | 
			
		||||
	* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
 | 
			
		||||
 
 | 
			
		||||
@@ -69,7 +69,10 @@ struct ddloc {
 | 
			
		||||
 | 
			
		||||
static long	dd_loccnt = 1;	/* Index of entry for sequential readdir's */
 | 
			
		||||
static struct	ddloc *dd_hash[NDIRHASH];   /* Hash list heads for ddlocs */
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_DD_LOCK
 | 
			
		||||
__LOCK_INIT(static, dd_hash_lock);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * return a pointer into a directory
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user