diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2005-01-21 15:36:45 +0000 |
commit | 7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch) | |
tree | 22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /net-im/linpopup/files/patch-ab | |
parent | Now buildable on 4.x, still broken on >= 5.x. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'net-im/linpopup/files/patch-ab')
-rw-r--r-- | net-im/linpopup/files/patch-ab | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net-im/linpopup/files/patch-ab b/net-im/linpopup/files/patch-ab deleted file mode 100644 index 02d7dcd5c34e..000000000000 --- a/net-im/linpopup/files/patch-ab +++ /dev/null @@ -1,21 +0,0 @@ ---- send.c.orig Mon Nov 20 16:07:54 2000 -+++ send.c Mon Nov 20 16:18:43 2000 -@@ -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); - |