[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    dovecot-2.2: Fixed compiling with old gcc.
From:       dovecot () dovecot ! org (dovecot at dovecot ! org)
Date:       2013-08-28 21:57:25
Message-ID: hg.5d22d0c0b233.1377727045.6920021320469856403 () localhost ! localdomain
[Download RAW message or body]

details:   http://hg.dovecot.org/dovecot-2.2/rev/5d22d0c0b233
changeset: 16701:5d22d0c0b233
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 29 00:53:30 2013 +0300
description:
Fixed compiling with old gcc.

diffstat:

 src/log/log-error-buffer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f965670a7b69 -r 5d22d0c0b233 src/log/log-error-buffer.c
--- a/src/log/log-error-buffer.c	Tue Aug 27 04:06:43 2013 +0300
+++ b/src/log/log-error-buffer.c	Thu Aug 29 00:53:30 2013 +0300
@@ -10,7 +10,7 @@
 
 	enum log_type type;
 	time_t timestamp;
-	unsigned char prefix_text[];
+	unsigned char prefix_text[FLEXIBLE_ARRAY_MEMBER];
 };
 
 struct log_error_buffer {

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic