Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- R-3.2.1/src/main/memory.c.orig 2015-07-31 23:15:07.017151621 -0700 | |
+++ R-3.2.1/src/main/memory.c 2015-07-31 23:17:10.185150073 -0700 | |
@@ -3724,11 +3724,21 @@ | |
static FILE *R_MemReportingOutfile; | |
static R_size_t R_MemReportingThreshold; | |
+static void printLineNum(FILE *file, SEXP srcref) { | |
+ if (srcref && !isNull(srcref)) { | |
+ int line = asInteger(srcref); | |
+ fprintf(file, "#%d ", line); |