- Timestamp:
- Mar 8, 2015, 6:02:28 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_files.c
r458 r465 589 589 return zAVL_string_get (fileTree, path); 590 590 } 591 592 static void * sh_dummy_candidate; 593 591 594 static char * intern_find_morespecific_dir(zAVLTree * tree, 592 595 const char * path, size_t * len) … … 601 604 if (NULL == tree) 602 605 return NULL; 606 607 sh_dummy_candidate = (void *) &candidate; 603 608 604 609 SH_MUTEX_LOCK(mutex_zfiles); -
trunk/src/sh_inotify.c
r454 r465 21 21 22 22 #if defined(HAVE_SYS_INOTIFY_H) 23 24 #if defined(GCC_VERSION_MAJOR) 25 #if (GCC_VERSION_MAJOR > 4) || ((GCC_VERSION_MAJOR == 4) && (GCC_VERSION_MINOR > 8)) 26 #pragma GCC diagnostic ignored "-Wclobbered" 27 #endif 28 #endif 23 29 24 30 #undef FIL__ -
trunk/src/sh_nmail.c
r363 r465 22 22 #if defined(HAVE_PTHREAD_MUTEX_RECURSIVE) 23 23 #define _XOPEN_SOURCE 500 24 #endif 25 26 #if defined(GCC_VERSION_MAJOR) 27 #if (GCC_VERSION_MAJOR > 4) || ((GCC_VERSION_MAJOR == 4) && (GCC_VERSION_MINOR > 8)) 28 #pragma GCC diagnostic ignored "-Wclobbered" 29 #endif 24 30 #endif 25 31 -
trunk/src/zAVLTree.c
r458 r465 39 39 return (zAVLKey) arg; 40 40 } 41 static char * dummy_zfree_string; 41 42 static void zfree_string (void * inptr) 42 43 { 43 44 char * str = (char *) inptr; 45 46 /* Take the address to circumvent gcc 4.9 optimizer bug */ 47 dummy_zfree_string = (char *) &inptr; 48 44 49 str[0] = '\0'; 45 free ( str);50 free (inptr); 46 51 return; 47 52 }
Note:
See TracChangeset
for help on using the changeset viewer.