~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to alpine/signal.c

  • Committer: Package Import Robot
  • Author(s): Asheesh Laroia
  • Date: 2013-05-19 16:15:01 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130519161501-epf6pfldn07xnd11
Tags: 2.10+dfsg-1
* New upstream release.
* This release ships a fix for an issue where the PREFDATETIME token
  was always set to "Sun" incorrectly. (Closes: #692870)
* This release ships a fix for IMAP-encoded non-ASCII folder names.
  (Closes: #674067)
* This release simplifies (and corrects) S/MIME handling for messages
  that encrypted *and* signed. (Closes: #653420)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
/* ========================================================================
6
6
 * Copyright 2006-2008 University of Washington
 
7
 * Copyright 2013 Eduardo Chappa
7
8
 *
8
9
 * Licensed under the Apache License, Version 2.0 (the "License");
9
10
 * you may not use this file except in compliance with the License.
819
820
#else
820
821
    if(F_ON(F_SUSPEND_SPAWNS, ps_global)){
821
822
        PIPE_S *syspipe;
 
823
        int flag = some_stream_is_locked() ? PIPE_NONEWMAIL : 0;
822
824
 
823
 
        if((syspipe = open_system_pipe(NULL, NULL, NULL, PIPE_USER|PIPE_RESET,
 
825
        flag |= PIPE_USER|PIPE_RESET;
 
826
        if((syspipe = open_system_pipe(NULL, NULL, NULL, flag,
824
827
                                      0, pipe_callback, pipe_report_error)) != NULL){
825
828
            suspend_notice("exit");
826
829
#ifndef SIGCHLD
867
870
                        _("Error loading \"%s\""), shell);
868
871
#endif
869
872
 
870
 
    if(isremote && !pine_mail_ping(ps_global->mail_stream))
 
873
    if(isremote && !ps_global->mail_stream->lock 
 
874
                && !pine_mail_ping(ps_global->mail_stream))
871
875
      q_status_message(SM_ORDER | SM_DING, 4, 9,
872
876
                       _("Suspended for too long, IMAP connection broken"));
873
877