diff options
author | Patrick Li <pat@FreeBSD.org> | 2003-06-12 18:58:52 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2003-06-12 18:58:52 +0000 |
commit | 0308b478dde6155fd62ad3d1fc7f38ab17b25437 (patch) | |
tree | 21334a9462cc1b9f46c6581371ac59ba61cbefbd /misc/wmessage/files/patch-panel.c | |
parent | Upgrade to 2.1.1 and change MAINTAINER. (diff) |
Repo-copyed to a more accurate category:
ports/misc/wmessage -> ports/x11/wmessage
Repo-copyed by: joe (cvs)
Approved by: lioux (portmgr)
PR: ports/52979
Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
Diffstat (limited to 'misc/wmessage/files/patch-panel.c')
-rw-r--r-- | misc/wmessage/files/patch-panel.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/misc/wmessage/files/patch-panel.c b/misc/wmessage/files/patch-panel.c deleted file mode 100644 index b903693ca5ad..000000000000 --- a/misc/wmessage/files/patch-panel.c +++ /dev/null @@ -1,26 +0,0 @@ ---- panel.c.orig Sun Dec 16 19:11:01 2001 -+++ panel.c Mon Dec 17 20:28:33 2001 -@@ -221,7 +221,7 @@ - char *data; - - strcpy (tmpname, "/tmp/wmessage.XXXXXX"); /* last 6 chars must be X */ -- mktemp (tmpname); -+ mkstemp (tmpname); - - if (!tmpname) - return NULL; /* couldn't generate unique name */ -@@ -344,12 +344,12 @@ - int i, j=0, lines=0, longest=0; - - msg = readFile (panel, settings); -- if (msg == NULL) -+ if (msg == NULL) { - if ((settings->reload > 0) && (settings->force == True)) - msg = wstrdup ("Cannot open file -- will keep trying.\n"); - else - return NULL; -- -+ } - for (i = 0; i < strlen (msg); i++) /* count lines */ - if ((*(msg+i)) == '\n') { - lines++; |