diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3d9868ef8e65..02fc607e328d 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2009-07-28 David Daney + + * gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as + dump file name base. + 2009-07-27 Andrew John Hughes PR libgcj/40616 diff --git a/libjava/gnu/gcj/util/natGCInfo.cc b/libjava/gnu/gcj/util/natGCInfo.cc index a9240961f8b0..a5936174da7f 100644 --- a/libjava/gnu/gcj/util/natGCInfo.cc +++ b/libjava/gnu/gcj/util/natGCInfo.cc @@ -407,7 +407,7 @@ nomem_handler(size_t size) if (oomDumpName) { char temp[strlen(oomDumpName) + 20]; - sprintf(temp, "%s%03d", temp, GC_dump_count++); + sprintf(temp, "%s%03d", oomDumpName, GC_dump_count++); printf("nomem_handler(%zd) called\n", size); gc_ok--; GC_enumerator x(temp);