Bug 2639

Summary: The MSGBUFSIZE definition collides with a definition of OpenBSD
Product: Claws Mail (GTK 2) Reporter: madroach+claws
Component: SMTPAssignee: users
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P3    
Version: 3.8.1   
Hardware: PC   
OS: OpenBSD   
Attachments:
Description Flags
rename MSGBUFSIZE none

Description madroach+claws 2012-04-03 10:29:16 UTC
Created attachment 1099 [details]
rename MSGBUFSIZE

attached is a patch that renames MSGBUFSIZE. This would make maintaining the OpenBSD port easier.
Comment 1 wwp 2012-04-03 10:34:31 UTC
BTW, what's MSGBUFSIZE's purpose on OpenBSD? And what is its value?
Comment 2 madroach+claws 2012-06-27 19:10:39 UTC
options MSGBUFSIZE=integer
     This option sets the size of the kernel message buffer.  This buffer
     holds the kernel output of printf() when not (yet) read by syslogd(8).
     This is particularly useful when the system has crashed and you wish to
     lookup the kernel output from just before the crash.  Also, since the
     autoconfig output becomes more and more verbose, it sometimes happens
     that the message buffer overflows before syslogd(8) was able to read it.
     Note that not all systems are capable of obtaining a variable sized mes-
     sage buffer.  There are also some systems on which memory contents are
     not preserved across reboots.l
Comment 3 users 2012-10-10 10:13:34 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.claws-mail.org/tracker/

2012-10-10 [colin]	3.8.1cvs90

	* src/inc.c
	* src/mbox.c
	* src/common/smtp.c
	* src/common/smtp.h
		Fix bug #2639, "The MSGBUFSIZE definition collides with a definition of OpenBSD"
		Patch by "madroach"