~ubuntu-branches/ubuntu/raring/dovecot/raring

« back to all changes in this revision

Viewing changes to pigeonhole/src/sieve-tools/sievec.c

  • Committer: Package Import Robot
  • Author(s): Marco Nenciarini
  • Date: 2011-09-19 19:26:48 UTC
  • mfrom: (1.14.4 upstream)
  • mto: (4.8.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 86.
  • Revision ID: package-import@ubuntu.com-20110919192648-ri3sovtiz334yori
Tags: 1:2.0.15-1
* [a22575a] New upstream version 2.0.15: (Closes: #642045)
    + doveadm altmove: Added -r parameter to move mails back to primary
      storage.
    - v2.0.14: Index reading could have eaten a lot of memory in some
      situations
    - doveadm index no longer affects future caching decisions
    - mbox: Fixed crash during mail delivery when mailbox didn't yet have
      GUID assigned to it.
    - zlib+mbox: Fetching last message from compressed mailboxes crashed.
    - lib-sql: Fixed load balancing and error
* [8ce5abc] Update pigeonhole to release 0.2.4
* [87658d2] Add dovecot-solr to dovecot-core's Suggests line.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#include "sieve-script.h"
14
14
#include "sieve-tool.h"
15
15
 
16
 
#include "sieve-ext-debug.h"
17
 
 
18
16
#include <stdio.h>
19
17
#include <sys/types.h>
20
18
#include <sys/stat.h>
51
49
        int exit_status = EXIT_SUCCESS;
52
50
        int c;
53
51
 
54
 
        sieve_tool = sieve_tool_init("sievec", &argc, &argv, "dP:x:u:", FALSE);
 
52
        sieve_tool = sieve_tool_init("sievec", &argc, &argv, "DdP:x:u:", FALSE);
55
53
 
56
54
        scriptfile = outfile = NULL;
57
55
        while ((c = sieve_tool_getopt(sieve_tool)) > 0) {
82
80
 
83
81
        svinst = sieve_tool_init_finish(sieve_tool, FALSE);
84
82
 
85
 
        /* Register debug extension */
86
 
        (void) sieve_extension_register(svinst, &debug_extension, TRUE);
 
83
        /* Enable debug extension */
 
84
        sieve_enable_debug_extension(svinst);
87
85
 
88
86
        if ( stat(scriptfile, &st) == 0 && S_ISDIR(st.st_mode) ) {
89
87
                /* Script directory */