Changeset 16 for trunk/pbs_drmaa/util.c


Ignore:
Timestamp:
04/21/11 18:28:03 (9 years ago)
Author:
mmamonski
Message:

painfull copy/paste bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pbs_drmaa/util.c

    r13 r16  
    8484 
    8585        _pbs_errno = pbs_errno; 
    86         /* 
    87          * Gathering error messages differ between PBS forks. 
    88          * - OpenPBS - ... 
    89          * - Torque - pbse_to_txt takes PBS error code (stored in pbs_errno) 
    90          *  and returns corresponding error message. 
    91          * - PBS Pro - stores errno of last operation inside pbs_errno variable; 
    92          *  pbse_to_txt always return NULL. 
    93          * All of them define pbs_geterrmsg which returns last error message 
    94          * for given connection. 
    95          */ 
    96         /* XXX: PBSPro has some link problems with pbse_to_txt function */ 
    97 #if PBS_PROFESSIONAL_NO_LOG 
     86 
     87#ifndef PBS_PROFESSIONAL_NO_LOG 
    9888        message = pbse_to_txt( pbs_errno ); 
    9989#else 
    10090        message = "pbs error"; 
    10191#endif 
    102  
    10392 
    10493        fsd_errno = pbsdrmaa_map_pbs_errno( _pbs_errno ); 
Note: See TracChangeset for help on using the changeset viewer.