Re: [dev] [st][PATCH] unsigned function tdefcolor returns -1 on error

2013-08-05 Thread Roberto E. Vargas Caballero
On Sun, Aug 04, 2013 at 08:54:35AM -0400, Eon S. Jeon wrote: Hi I found that tdefcolor returns -1 on error, while its return type is unsigned long. At the same time, line 1724 and 1731 are checking the positivity of its unsigned return value. @@ -1721,14 +1721,14 @@ tsetattr(int *attr,

[dev] [sbase] [patch] Implement -m for who

2013-08-05 Thread sin
Hi, Implemented -m for who. No manpage update yet. Thanks, sin From ae65cd3af60fafd309a5c84c6c79a157354d4a02 Mon Sep 17 00:00:00 2001 From: sin s...@2f30.org Date: Mon, 5 Aug 2013 15:59:49 +0100 Subject: [PATCH] Implement -m for who --- who.c | 15 ++- 1 file changed, 14

[dev] [sbase] [patch] No need to cast to (char *)

2013-08-05 Thread sin
From 173b8b4b409bc1d0222f8cfe8a1275ef8a52a39f Mon Sep 17 00:00:00 2001 From: sin s...@2f30.org Date: Mon, 5 Aug 2013 16:04:49 +0100 Subject: [PATCH] No need to cast to (char *) --- who.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/who.c b/who.c index 3d0c5db..aee4f76

[dev] [sbase] [patch] Ignore tilde in ut_line

2013-08-05 Thread sin
From ee914584f00e32d7e63203fac76a549ba462a2ee Mon Sep 17 00:00:00 2001 From: sin s...@2f30.org Date: Mon, 5 Aug 2013 16:12:01 +0100 Subject: [PATCH] Ignore tilde in ut_line --- who.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/who.c b/who.c index aee4f76..ec4accc 100644 --- a/who.c

[dev] [sbase] [patch v2] Ignore tilde in ut_line

2013-08-05 Thread sin
From 07206a797fbf4c88bd2f75581250f6cd5b642188 Mon Sep 17 00:00:00 2001 From: sin s...@2f30.org Date: Mon, 5 Aug 2013 16:12:01 +0100 Subject: [PATCH] Ignore tilde in ut_line --- who.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/who.c b/who.c index aee4f76..92c7124

Re: [dev] [st][PATCH] unsigned function tdefcolor returns -1 on error

2013-08-05 Thread Eon S. Jeon
On Mon, 5 Aug 2013 08:18:38 +0200 Roberto E. Vargas Caballero k...@shike2.com wrote: On Sun, Aug 04, 2013 at 08:54:35AM -0400, Eon S. Jeon wrote: Hi I found that tdefcolor returns -1 on error, while its return type is unsigned long. At the same time, line 1724 and 1731 are checking the