update to 1.1; maintainer timeout

This commit is contained in:
naddy 2004-06-26 05:00:25 +00:00
parent 61b26fbf46
commit e4b1b66267
3 changed files with 41 additions and 5 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2003/10/08 17:13:17 sturm Exp $
# $OpenBSD: Makefile,v 1.11 2004/06/26 05:00:25 naddy Exp $
COMMENT= "tails a given file anywhere on your X11 root window"
DISTNAME= root-tail-0.2
DISTNAME= root-tail-1.1
CATEGORIES= x11
HOMESITE= http://www.goof.com/pcg/marc

View File

@ -1,3 +1,3 @@
MD5 (root-tail-0.2.tar.gz) = 92c217c21c4388413b8fb3e0d9ffb6ac
RMD160 (root-tail-0.2.tar.gz) = 087140476d64c98991e31aaed44e43d1a815d144
SHA1 (root-tail-0.2.tar.gz) = ec046780f7f828fd84ac09c0b6050d8db4b9afcc
MD5 (root-tail-1.1.tar.gz) = adb925c2781892bb5dcbdf9d5e579032
RMD160 (root-tail-1.1.tar.gz) = 0e629a29a7a76c332595fb974ec088362b2b707f
SHA1 (root-tail-1.1.tar.gz) = bb09f4fd0fc7c4fdcd6ed5a20de091f7112b4825

View File

@ -0,0 +1,36 @@
$OpenBSD: patch-root-tail_c,v 1.1 2004/06/26 05:00:25 naddy Exp $
--- root-tail.c.orig 2004-06-20 11:05:55.000000000 -0600
+++ root-tail.c 2004-06-20 11:07:14.000000000 -0600
@@ -655,12 +655,12 @@ transform_line (char *s)
char *
concat_line (char *p1, const char *p2)
{
- assert(p2);
-
int l1 = p1 ? strlen (p1) : 0;
int l2 = strlen (p2);
char *r;
+ assert(p2);
+
if (p1)
r = xrealloc(p1, l1 + l2 + 1);
else
@@ -925,6 +925,8 @@ possibly_split_long_line (struct logfile
int wrapped = 0;
char *break_p = NULL;
int width_at_break_p = 0;
+ int prefix_len;
+
spaces = 0;
if (opt_justify)
@@ -992,8 +994,6 @@ possibly_split_long_line (struct logfile
if (!wrapped)
break;
- int prefix_len;
-
/* choose where to break the line */
if (opt_wordwrap && break_p && break_p != beg)
{