- Timestamp:
- Feb 25, 2009, 8:38:28 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r218 r221 59 59 AC_DEFINE(HOST_IS_LINUX) 60 60 AC_DEFINE(HAVE_EXT2_IOCTLS) 61 AC_MSG_RESULT( use ioctl to get e2fs flags)61 AC_MSG_RESULT([use ioctl to get e2fs flags]) 62 62 case "$host_cpu" in 63 63 i*86*) … … 75 75 CFLAGS="$CFLAGS -O2 -assume noaligned_objects" 76 76 myneedg3=yes 77 AC_MSG_RESULT( compiler needs assume noaligned_objects)77 AC_MSG_RESULT([compiler needs assume noaligned_objects]) 78 78 else 79 AC_MSG_RESULT( none)79 AC_MSG_RESULT([none]) 80 80 fi 81 81 ;; … … 84 84 AC_DEFINE(HOST_IS_CYGWIN) 85 85 dnmalloc_ok=no 86 AC_MSG_RESULT( no trusted paths and no dnmalloc)86 AC_MSG_RESULT([no trusted paths and no dnmalloc]) 87 87 ;; 88 88 89 89 *darwin*) 90 90 AC_DEFINE(HOST_IS_DARWIN) 91 AC_MSG_RESULT(check resource forks) 91 dnmalloc_ok=no 92 AC_MSG_RESULT([check resource forks, no dnmalloc]) 92 93 ;; 93 94 … … 102 103 ;; 103 104 *) 104 AC_MSG_RESULT( none)105 AC_MSG_RESULT([none]) 105 106 ;; 106 107 esac … … 110 111 AC_DEFINE(HOST_IS_FREEBSD) 111 112 selectconfig=freebsd 112 AC_MSG_RESULT( none)113 AC_MSG_RESULT([none]) 113 114 ;; 114 115 … … 117 118 selectconfig=freebsd 118 119 dnmalloc_ok=no 119 AC_MSG_RESULT( dnmalloc does not work with pthreads)120 AC_MSG_RESULT([dnmalloc does not work with pthreads]) 120 121 ;; 121 122 … … 123 124 mynetbsd=yes 124 125 selectconfig=netbsd 125 AC_MSG_RESULT( bug with libresolve)126 AC_MSG_RESULT([bug with libresolve]) 126 127 ;; 127 128 … … 132 133 i*86) 133 134 AC_DEFINE(HOST_IS_I86SOLARIS) 134 AC_MSG_RESULT( vsnprintf prototype)135 AC_MSG_RESULT([vsnprintf prototype]) 135 136 ;; 136 137 *) 137 AC_MSG_RESULT( none)138 AC_MSG_RESULT([none]) 138 139 ;; 139 140 esac … … 156 157 selectconfig=solaris 157 158 AC_DEFINE(HOST_IS_SOLARIS) 158 AC_MSG_RESULT( none)159 AC_MSG_RESULT([none]) 159 160 ;; 160 161 … … 173 174 CFLAGS="$CFLAGS -qstrict" 174 175 fi 175 AC_MSG_RESULT( AIX size_t in the accept call and optimize O3 qstrict)176 AC_MSG_RESULT([AIX size_t in the accept call and optimize O3 qstrict]) 176 177 else 177 AC_MSG_RESULT( AIX size_t in the accept call)178 AC_MSG_RESULT([AIX size_t in the accept call]) 178 179 fi 179 180 ;; 180 181 181 182 *hpux*) 182 AC_MSG_RESULT( HPUX need _XOPEN_SOURCE_EXTENDED for h_errno)183 AC_MSG_RESULT([HPUX need _XOPEN_SOURCE_EXTENDED for h_errno]) 183 184 AC_DEFINE(HOST_IS_HPUX) 184 185 if test "x$GCC" != "xyes"; then … … 193 194 194 195 *ultrix*) 195 AC_MSG_RESULT( ULTRIX getcwd uses popen)196 AC_MSG_RESULT([ULTRIX getcwd uses popen]) 196 197 AC_DEFINE(HAVE_BROKEN_GETCWD) 197 198 ;; 198 199 199 200 *) 200 AC_MSG_RESULT( none)201 AC_MSG_RESULT([none]) 201 202 ;; 202 203 esac -
trunk/docs/Changelog
r220 r221 1 1 2.5.3: 2 * disable dnmalloc on MacOS X, doesn't work properly 3 * stat -> lstat in sh_unix_file_exists (OS X nameforks, report 4 by David) 2 5 * Fix problem in standalone trustfile, does not work correctly on 3 6 group-writeable files (reported by David). -
trunk/src/sh_unix.c
r217 r221 4272 4272 SL_ENTER(_("sh_unix_file_exists")); 4273 4273 4274 if ( -1 == retry_stat(FIL__, __LINE__, path, &buf))4275 SL_RETURN( S_ FALSE,_("sh_unix_file_exists"));4274 if (0 == retry_lstat(FIL__, __LINE__, path, &buf)) 4275 SL_RETURN( S_TRUE, _("sh_unix_file_exists")); 4276 4276 else 4277 SL_RETURN( S_ TRUE, _("sh_unix_file_exists"));4277 SL_RETURN( S_FALSE, _("sh_unix_file_exists")); 4278 4278 } 4279 4279 -
trunk/src/trustfile.c
r220 r221 366 366 #else 367 367 strncat(rbuf, "/", rsz-strlen(rbuf)-1); 368 rbuf[rsz-1] = '\0'; 368 369 strncat(rbuf, fname, rsz-strlen(rbuf)-1); 369 370 rbuf[rsz-1] = '\0';
Note:
See TracChangeset
for help on using the changeset viewer.