[kaffe] CVS kaffe (doogie): s/null/NULL/, I hand-applied a diff.
Kaffe CVS
cvs-commits at kaffe.org
Thu Dec 9 00:28:46 PST 2004
PatchSet 5582
Date: 2004/12/09 05:46:02
Author: doogie
Branch: HEAD
Tag: (none)
Log:
s/null/NULL/, I hand-applied a diff.
Members:
ChangeLog:1.3128->1.3129
kaffe/xprof/debugFile.c:1.5->1.6
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3128 kaffe/ChangeLog:1.3129
--- kaffe/ChangeLog:1.3128 Thu Dec 9 05:24:09 2004
+++ kaffe/ChangeLog Thu Dec 9 05:46:02 2004
@@ -1,5 +1,9 @@
2004-12-08 Adam Heath <doogie at brainfood.com>
+ * kaffe/xprof/debugFile.c: s/null/NULL/, I hand-applied a diff.
+
+2004-12-08 Adam Heath <doogie at brainfood.com>
+
* kaffe/xprof/debugFile.c: When printing out the DIA_SourceFile
record, if addr is null, hard-code 0 as the value; otherwise,
fprintf prints '(nil)', and ld complains when linking.
Index: kaffe/kaffe/xprof/debugFile.c
diff -u kaffe/kaffe/xprof/debugFile.c:1.5 kaffe/kaffe/xprof/debugFile.c:1.6
--- kaffe/kaffe/xprof/debugFile.c:1.5 Thu Dec 9 05:24:08 2004
+++ kaffe/kaffe/xprof/debugFile.c Thu Dec 9 05:46:01 2004
@@ -545,7 +545,7 @@
case DIA_SourceFile:
name = va_arg(args, char *);
addr = va_arg(args, char *);
- if (addr != null)
+ if (addr != NULL)
fprintf(df->df_file,
"\n\n.stabs \"%s\",%d,0,0,%p\n",
name,
More information about the kaffe
mailing list