Why can't I write a whole text in CAPS?
PATCH for apache-1.3 when compiled with gcc 4.3
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Apache HTTP Server > PATCH for apache-1.3 when compiled with gcc 4.3 30 November 2008 03:54:54

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

PATCH for apache-1.3 when compiled with gcc 4.3

Salvador Ortiz Garcia 29 November 2008 13:20:51
 Hi all,

This afternoon I try to compile my standard bundle (mod_perl 1.30,
apache 1.3.41, libapreq-1.33, mod_ssl-2.8.31) in Fedora 10 that ships
with gcc 4.3.2 only to discover that the change announced in
<http://www.gnu.org­/software/gcc/gcc-4.­2/changes.html> broke the
compilation of apache-1.3.41/src/o­s/unix/os-inline.c when using -std=c99
(default for Fedora's perl)

I known that the problem is apache related, not mod_perl's, but there
are many mod_perl 1.x users out there that can be in trouble.

The attached patch fixes the problem.

Any one have contacts with legacy apache maintainers?

Regards.

Salvador Ortiz.

========= CUT ======
--- src/os/unix/os.h.or­ig 2008-11-29 00:11:23.000000000 -0600
+++ src/os/unix/os.h 2008-11-29 00:15:15.000000000 -0600
@@ -33,7 +33,12 @@
/* Compiler supports inline, so include the inlineable functions as
* part of the header
*/
+#ifdef __GNUC_STDC_INLINE_­_
+#define INLINE extern ap_inline __attribute__((gnu_­inline))
+#else
#define INLINE extern ap_inline
+#endif
+

INLINE int ap_os_is_path_absol­ute(const char *file);
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > Apache HTTP Server > PATCH for apache-1.3 when compiled with gcc 4.3 30 November 2008 03:54:54

see also:
External binaries changed Was…
CVS Problem
Sorry, no RC 2 build today.
pass tests:
Do you really know yourself?
see also:

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .