#39486 [Bgs]: --with-imap and uw-imap 2006d purge_mail_full

From: Date: Mon, 13 Nov 2006 18:28:03 +0000
Subject: #39486 [Bgs]: --with-imap and uw-imap 2006d purge_mail_full
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104924@lists.php.net to get a copy of this message
ID: 39486 User updated by: casterln at nature dot berkeley dot edu Reported By: casterln at nature dot berkeley dot edu Status: Bogus Bug Type: Compile Failure Operating System: Solaris 9 PHP Version: 5.2.0 New Comment: I thought this would be the right place to report it since it looks so similar to the issues resolved in bug 39486 stemming from the newer versions of the c-client library. Previous Comments: ------------------------------------------------------------------------ [2006-11-13 12:00:29] tony2001@php.net Please report this problem to IMAP cclient developers, PHP itself doesn't use this function, so there must be some problem in the underlying library. Thank you. ------------------------------------------------------------------------ [2006-11-13 06:18:57] casterln at nature dot berkeley dot edu Description: ------------ I got an error: Undefined first referenced symbol in file mail_expunge_full ext/imap/.libs/php_imap.o ld: fatal: Symbol referencing errors. No output written to sapi/cli/php make: *** [sapi/cli/php] Error 1 imap-2006d.DEV.SNAP-0611062033. My workaround was to add the following to ext/imap/php_imap.c +/* Mail expunge mailbox + * Accepts: mail stream + * sequence to expunge if non-NIL + * expunge options + * Returns: T on success, NIL on failure + */ + +long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options) +{ + /* do the driver's action */ + return stream->dtb ? (*stream->dtb->expunge) (stream,sequence,options) : NIL; +} + + ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39486&edit=1

« previous php.bugs (#104924) next »