On 03.02.2010 20:45, Rüdiger Plüm wrote: > On 03.02.2010 11:18, [email protected] wrote: >> Author: pquerna >> Date: Wed Feb 3 10:17:57 2010 >> New Revision: 905970 >> >> URL: http://svn.apache.org/viewvc?rev=905970&view=rev >> Log: >> Add two new features to APR Files: >> - When opened with normal rotating flag, every 60 seconds the file will >> check >> if the file it is writing to has changed inode (ie, been replaced/moved). >> - When opened with the manual rotating flag, the consumer must call the >> check, >> but can provider the current timestamp, to avoid a apr_time call. >> >> This is based off of the patch from Brian, but I've modified it for style, >> and >> adding the manual rotation flag after discussion with brian at the httpd >> hackathon. >> >> Submitted by: Brian J. France <brian brianfrance.com> >> >> Modified: >> apr/apr/trunk/file_io/unix/filedup.c >> apr/apr/trunk/file_io/unix/open.c >> apr/apr/trunk/file_io/unix/readwrite.c >> apr/apr/trunk/include/apr_file_io.h >> apr/apr/trunk/include/arch/unix/apr_arch_file_io.h > > This breaks compilation of httpd trunk: > > server/.libs/libmain.a(exports.o):(.data+0x1540): undefined reference to > `apr_file_rotating_manual_check' > collect2: ld returned 1 exit status > make[1]: *** [httpd] Fehler 1 > make: *** [all-recursive] Fehler 1
Fixed in r906206. Regards Rüdiger
