The R Project SVN R-packages

Rev

Rev 4647 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4647 Rev 5707
Line 25... Line 25...
25
 *  http://www.gnu.org/copyleft/gpl.html.  You can also obtain it by
25
 *  http://www.gnu.org/copyleft/gpl.html.  You can also obtain it by
26
 *  writing to the Free Software Foundation, Inc., 59 Temple Place,
26
 *  writing to the Free Software Foundation, Inc., 59 Temple Place,
27
 *  Suite 330, Boston, MA  02111-1307  USA.
27
 *  Suite 330, Boston, MA  02111-1307  USA.
28
 *
28
 *
29
 *  Created by Simon Urbanek on 4/14/05.
29
 *  Created by Simon Urbanek on 4/14/05.
30
 *  $Id: GlobalExHandler.m 4647 2007-07-19 21:30:22Z urbaneks $
30
 *  $Id: GlobalExHandler.m 5707 2011-03-14 22:00:36Z urbaneks $
31
 */
31
 */
32
 
32
 
33
#import "GlobalExHandler.h"
33
#import "GlobalExHandler.h"
34
#include <unistd.h>
34
#include <unistd.h>
35
#import "RGUI.h"
35
#import "RGUI.h"
Line 89... Line 89...
89
				if (c < cs && *c && d-c)
89
				if (c < cs && *c && d-c)
90
					fwrite(c, 1, d-c, stderr);
90
					fwrite(c, 1, d-c, stderr);
91
				lastWasNewline = (*(cs-1) == '\n') ? YES : NO;
91
				lastWasNewline = (*(cs-1) == '\n') ? YES : NO;
92
			}
92
			}
93
		}
93
		}
94
		[ls release];
-
 
95
		[sop release];
94
		[sop release];
96
	} else
95
	} else
97
	NSLog(@"Unable to find atos - symbols can't be dumped!");
96
	NSLog(@"Unable to find atos - symbols can't be dumped!");
-
 
97
        [ls release];
-
 
98
        
98
    [pool release];
99
        [pool release];
99
 
100
 
100
	return NO;
101
	return NO;
101
}
102
}
102
 
103
 
103
- (BOOL)exceptionHandler:(NSExceptionHandler *)sender shouldHandleException:(NSException *)exception mask:(unsigned int)aMask	// mask is NSHandle<exception type>Mask, exception's userInfo has stack trace for key
104
- (BOOL)exceptionHandler:(NSExceptionHandler *)sender shouldHandleException:(NSException *)exception mask:(unsigned int)aMask	// mask is NSHandle<exception type>Mask, exception's userInfo has stack trace for key