Attached is a tarball of patches from which I made some cleanups through the source for dbmail2.0-rc7. These patches were created with quilt, which was written for creating kernel patches. To apply untar this in your source dir, and do something like this

for patch in `cat patches/series`
do
        patch -p1 < patches/$patch
done

however, I do not reccomend the way above. Quilt is very small is merely a set of shell scripts, its syntax is easy. A complete diff can be found here.

http://mirrorlynx.com/~dan/mysql+typecast+emptyfunction.diff

The ChangeLog is below.

2004-07-01  Dan Weber <[EMAIL PROTECTED]>

        * auth/authsql.c, db.c: replaced function definitions with 0
        arguments with a void argument.

        * db.h, mysql/dbmysql.c, pgsql/dbpgsql.c (db_num_rows): changed
        type cast from unsigned to long long as suggested by Intel
        Compiler.

        * None: Made compatibility for more compilers, most notably tcc
        and icc.

        * Makefile.am, auth/Makefile.am, mysql/Makefile.am (AM_CFLAGS):
updated to pass a preprocessor definition at compile time if using mysql.

        * auth/authsql.c, db.c, db.h (db_insert_result): placed ifdef
statements around places where db_insert_result is being called in an effort to not pass an unused argument to dbmysql.c's
        db_insert_result.

* mysql/dbmysql.c (db_insert_result): replaced the UNUSED argument for db_insert_result with void, followed by changes with preprocessor to make compatibility through the source. For changes with preprocessor see above.


Attachment: dbmail-2.0rc-patches-r1.tar.bz2
Description: Binary data

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to