[hackers] [wmii] Add regexp error handler. Fixes issue #152. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Wed, 4 Nov 2009 01:51:33 +0000 (UTC)

changeset: 2585:a6a9a0026604
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Tue Nov 03 20:51:17 2009 -0500
files: cmd/wmii/main.c
description:
Add regexp error handler. Fixes issue #152.

diff -r b5707c828c91 -r a6a9a0026604 cmd/wmii/main.c
--- a/cmd/wmii/main.c Tue Nov 03 20:48:55 2009 -0500
+++ b/cmd/wmii/main.c Tue Nov 03 20:51:17 2009 -0500
@@ -157,6 +157,11 @@
 };
 
 void
+regerror(char *err) {
+ fprint(2, "%s: %s\n", argv0, err);
+}
+
+void
 init_screens(void) {
         Rectangle *rects;
         View *v;
Received on Wed Nov 04 2009 - 01:51:33 UTC

This archive was generated by hypermail 2.2.0 : Wed Nov 04 2009 - 02:00:09 UTC