summaryrefslogtreecommitdiff
path: root/net-im/linpopup/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/linpopup/files/patch-ab')
-rw-r--r--net-im/linpopup/files/patch-ab30
1 files changed, 0 insertions, 30 deletions
diff --git a/net-im/linpopup/files/patch-ab b/net-im/linpopup/files/patch-ab
deleted file mode 100644
index d41f1d7cbd89..000000000000
--- a/net-im/linpopup/files/patch-ab
+++ /dev/null
@@ -1,30 +0,0 @@
---- send.c.orig Tue Mar 14 11:45:05 2000
-+++ send.c Sun Jun 24 00:06:25 2007
-@@ -70,7 +70,7 @@
-
-
-
-- (char *) header_end = (char *) (head_text + hlen);
-+ header_end = (gchar *) (head_text + hlen);
-
-
- /* -- destroy erroneous embedded single-quotes. -- */
-@@ -161,7 +161,7 @@
- gchar message_text[2048];
- guint message_length;
- char IS_TRUNCATED = FALSE;
-- char *temp_filename;
-+ static char temp_filename[]="/tmp/LinPopUpXXXXXX";
- int file_handle_temp;
- gchar new_header[256];
-
-@@ -201,8 +201,7 @@
-
-
- /* -- write message text to a tempory file -- */
-- temp_filename = tmpnam (NULL);
-- file_handle_temp = open (temp_filename, O_RDWR | O_CREAT | O_TRUNC, DATA_PERM);
-+ if ( (file_handle_temp = mkstemp(temp_filename)) == -1 ) return;
- write (file_handle_temp, message_text, strlen (message_text));
- close (file_handle_temp);
-