diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-04-18 21:37:32 +0000 |
commit | 01a9f79f0a3692d8148990805beabc8593d3596d (patch) | |
tree | 99d1ef5788fc9e55b6948a7d4951ac4a315f63bf /net-im/linpopup/files/patch-ac | |
parent | New index, rebuilt due to samba changes. (Gee, how many things (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_3_0'.release/4.3.0
Diffstat (limited to 'net-im/linpopup/files/patch-ac')
-rw-r--r-- | net-im/linpopup/files/patch-ac | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net-im/linpopup/files/patch-ac b/net-im/linpopup/files/patch-ac deleted file mode 100644 index a784074a2126..000000000000 --- a/net-im/linpopup/files/patch-ac +++ /dev/null @@ -1,21 +0,0 @@ ---- recept.c.orig Mon Nov 20 16:20:24 2000 -+++ recept.c Mon Nov 20 16:22:04 2000 -@@ -359,7 +359,7 @@ - delete_showed_message (void) - { - struct linpopup_message this_message; -- char *temp_filename; -+ static char temp_filename[]="/tmp/LinPopUpXXXXXX"; - int file_handle_temp, file_handle_data; - int f; - -@@ -370,8 +370,7 @@ - return; - } - -- temp_filename = tmpnam (NULL); -- file_handle_temp = open (temp_filename, O_RDWR | O_CREAT, DATA_PERM); -+ if ( (file_handle_temp = mkstemp(temp_filename)) == -1 ) return; - file_handle_data = open (DATA_FILE, O_RDONLY, DATA_PERM); - /* lock it for reading .. */ - (void) lock_reg (file_handle_data, F_SETLKW, F_RDLCK, 0, SEEK_SET, 0); |