* add cputbuf which outputs a StrBuf to the client
authorWilfried Göesgens <willi@citadel.org>
Sat, 2 Jan 2010 23:22:37 +0000 (23:22 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 2 Jan 2010 23:22:37 +0000 (23:22 +0000)
citadel/sysdep.c
citadel/sysdep_decls.h

index 13c5c908928ba9b9948154f1c86e3de2be41a829..137e9c59b06075ca824ab855cc2e389649b4e0fc 100644 (file)
@@ -518,6 +518,10 @@ int client_write(char *buf, int nbytes)
        return 0;
 }
 
+void cputbuf(const StrBuf *Buf) {   
+       client_write(ChrPtr(Buf), StrLength(Buf)); 
+}   
+
 
 /*
  * cprintf()   Send formatted printable data to the client.
@@ -826,6 +830,8 @@ void checkcrash(void)
                        " For more information, please see:\n \n"
                        " http://citadel.org/doku.php/faq:mastering_your_os:gdb#how.do.i.make.my.system.produce.core-files"
                        "\n \n"
+"http://www.4players.de/4players.php/walkthrough/Wii/9298/24733/Die_Chroniken_von_Narnia_Prinz_Kaspian_von_Narnia.html"
+
                        " If you have already done this, the core dump is likely to be found at %score.%d\n"
                        ,
                        ctdl_run_dir, ForkedPid);
index e61cc4096026391040f16351959ebb772f9baa42..13e9bcfc68e06a2b02c9f18f386c89fc5bf44be0 100644 (file)
@@ -40,6 +40,8 @@
 #define SIZE_T_FMT "%ld"
 #endif
 
+void cputbuf(const StrBuf *Buf);
+
 #ifdef __GNUC__
 void cprintf (const char *format, ...) __attribute__((__format__(__printf__,1,2)));
 #else