Bug 2982

Summary: problem with variable declaration behind flock conditional on systems without flock (like SunOS)
Product: Claws Mail (GTK 2) Reporter: richard <richard>
Component: OtherAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: other   
Hardware: PC   
OS: Solaris   
Attachments:
Description Flags
unhide variable declaration behind flock conditional. none

Description richard 2013-07-24 22:26:37 UTC
Created attachment 1284 [details]
unhide variable declaration behind flock conditional.

see attached patch which deplaces variable `ret` declaration outside of conditional...
Comment 1 users 2013-07-25 13:15:06 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=7aa5fcbf3d01efdc5fb9afe795b295d138f84f5c
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu Jul 25 13:10:15 2013 +0200

    Fix bug #2982 'variable declaration behind FLOCK conditional'
    
    Patch by Richard Palo <richard@NetBSD.org>, added to AUTHORS.
    Also synchronize authors.h with AUTHORS while we're at it.