[hackers] [9base] better patch || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sun, 13 Sep 2009 19:34:47 +0000 (UTC)

changeset: 47:deca4d73dd68
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sun Sep 13 21:34:44 2009 +0100
files: troff/fns.h troff/mbwc.c troff/mbwc.h
description:
better patch

diff -r ef1fba028a1c -r deca4d73dd68 troff/fns.h
--- a/troff/fns.h Sun Sep 13 21:28:18 2009 +0100
+++ b/troff/fns.h Sun Sep 13 21:34:44 2009 +0100
@@ -1,10 +1,6 @@
 #define getline p9getline
 
-#define mblen p9mblen
-#define mbtowc p9mbtowc
-#define mbstowcs p9mbstowcs
-#define wctomb p9wctomb
-#define wcstombs p9wcstombs
+#include "mbwc.h"
 
 /*
  * other
diff -r ef1fba028a1c -r deca4d73dd68 troff/mbwc.c
--- a/troff/mbwc.c Sun Sep 13 21:28:18 2009 +0100
+++ b/troff/mbwc.c Sun Sep 13 21:34:44 2009 +0100
@@ -1,4 +1,5 @@
 #include <stdlib.h>
+#include "mbwc.h"
 
 /*
  * Use the FSS-UTF transformation proposed by posix.
diff -r ef1fba028a1c -r deca4d73dd68 troff/mbwc.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/troff/mbwc.h Sun Sep 13 21:34:44 2009 +0100
@@ -0,0 +1,5 @@
+#define mblen p9mblen
+#define mbtowc p9mbtowc
+#define mbstowcs p9mbstowcs
+#define wctomb p9wctomb
+#define wcstombs p9wcstombs
Received on Sun Sep 13 2009 - 19:34:47 UTC

This archive was generated by hypermail 2.2.0 : Sun Sep 13 2009 - 19:36:06 UTC