[pacman-dev] [PATCH] Re-enable --debug with -Sw and -Sp

Miklos Vajna vmiklos at frugalware.org
Mon Jul 21 10:58:12 EDT 2008


On Mon, Jul 21, 2008 at 02:03:57PM +0200, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> @@ -740,7 +740,7 @@ int pacman_sync(alpm_list_t *targets)
>  
>  	/* Display only errors with -Sp and -Sw operations */
>  	if(config->flags & (PM_TRANS_FLAG_DOWNLOADONLY | PM_TRANS_FLAG_PRINTURIS)) {
> -		config->logmask = PM_LOG_ERROR;
> +		config->logmask = config->logmask & ~PM_LOG_WARNING;
>  	}
>  
>  	/* clean the cache */

Minor nit: why not using &=?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080721/c6b3a494/attachment.pgp>


More information about the pacman-dev mailing list