Hi everyone,
The file sieve/bc_emit.c contains an inline function declaration in line
48 (version cyrus-imap-2.2.13):
inline int write_int (int fd, int x)
{
int y=htonl(x);
return (write(fd, &y, sizeof(int)));
}
I would like to suggest turning this into a 'static inline', for
portability. The current bc_emit.c causes linker problems when building
it with the Sun Studio compiler. As the function is only used in this
single c-file, using static should not make a difference.
Regards, Paul Boven.
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html