CVS: winex/dlls/dbghelp minidump.c,1.2,1.3

[email protected] 30 Aug 2007 14:18:32 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/dbghelp minidump.c,1.2,1.3Update of /var/lib/cvsd/cvsroot/winex/dlls/dbghelp
In directory agravaine:/tmp/cvs-serv19215/dlls/dbghelp

Modified Files:
	minidump.c 
Log Message:

- added an error message to the minidump writing function if it has to bail out early (which it is right now)


Index: minidump.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/dbghelp/minidump.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- minidump.c	30 Aug 2007 14:16:43 -0000	1.2
+++ minidump.c	30 Aug 2007 14:18:30 -0000	1.3
@@ -704,7 +704,12 @@
     dc.num_mem = 0;
     dc.rva = 0;
 
-    if (!fetch_process_info(&dc)) return FALSE;
+    if (!fetch_process_info(&dc)){
+        ERR("could not retrieve my process info! {pid = %d}\n", pid);
+
+        return FALSE;
+    }
+
     fetch_module_info(&dc);
 
     /* 1) init */