pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/totd/patches totd: remove patches.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52e3c490e1eb
branches:  trunk
changeset: 313387:52e3c490e1eb
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Sep 29 10:54:17 2018 +0000

description:
totd: remove patches.

diffstat:

 net/totd/patches/patch-aa |  24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diffs (28 lines):

diff -r 51df766da2d9 -r 52e3c490e1eb net/totd/patches/patch-aa
--- a/net/totd/patches/patch-aa Sat Sep 29 10:52:55 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2006/06/26 11:20:47 rillig Exp $
-
-Fixed gcc warning: subscript has type `char'.
-
---- totd.c.orig        2005-02-02 12:10:31.000000000 +0100
-+++ totd.c     2006-06-26 13:18:42.000000000 +0200
-@@ -167,7 +167,7 @@ int main (int argc, char **argv) {
-       }
- 
-       if (T.user) {
--                if (isdigit(T.user[0])) {
-+                if (isdigit((unsigned char)(T.user[0]))) {
-                       T.uid = atoi(T.user);
-                       pwd_p = NULL;
-               } else {
-@@ -191,7 +191,7 @@ to: %s", T.user);
-       }
- 
-       if (T.group) {
--              if (isdigit(T.group[0])) {
-+              if (isdigit((unsigned char)(T.group[0]))) {
-                       T.gid = atoi(T.group);
-               } else {
-                       struct group *grp_p;



Home | Main Index | Thread Index | Old Index