mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Scrollback shrinking code forgets to close(), bump the PORTREVISION.
Obtained from: http://xchat.org/files/source/2.8/patches/
This commit is contained in:
parent
f2e4afd4ae
commit
208d15ac2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203183
@ -8,7 +8,7 @@
|
||||
|
||||
PORTNAME= xchat
|
||||
PORTVERSION= 2.8.4
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= irc gnome ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
|
||||
|
14
irc/xchat/files/patch-xc284-fix-scrollbfdleak
Normal file
14
irc/xchat/files/patch-xc284-fix-scrollbfdleak
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Scrollback shrinking code forgets to close().
|
||||
#
|
||||
--- src/common/text.c 2007-06-13 19:59:56.000000000 +1000
|
||||
+++ src/common/text.c 2007-11-02 23:52:57.000000000 +1100
|
||||
@@ -141,6 +146,7 @@
|
||||
}
|
||||
|
||||
*len = st.st_size;
|
||||
+ close (fh);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user