Changeset 58 for trunk/pbs_drmaa


Ignore:
Timestamp:
01/08/12 19:13:15 (12 years ago)
Author:
mmamonski
Message:

on site fixies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_drmaa/session.c

    r53 r58  
    3030#include <sys/types.h> 
    3131#include <fcntl.h> 
     32#include <signal.h> 
    3233 
    3334#include <pbs_ifl.h> 
     
    125126                        int tries_left = self->max_retries_count; 
    126127                        int sleep_time = 1; 
     128                        /*ignore SIGPIPE - otheriwse pbs_disconnect cause the program to exit */ 
     129                        signal(SIGPIPE, SIG_IGN); 
    127130retry_connect: /* Life... */ 
    128131                        self->pbs_conn = pbs_connect( self->super.contact ); 
Note: See TracChangeset for help on using the changeset viewer.