mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix a couple of problems on 64 bit platforms by importing 2.5:
Summary: o Call va_start/va_end for each call to va_arg(). I have no idea why this works on i386 but it shouldn't. This un-busts termlog on 64 bit platforms. o When allocating snp descriptors, allocate the proper size. Currently we are allocating sizeof(struct utmp) when we really should be allocating sizeof(struct snp_d). I can only imagine how this happen, but I am going to guess it was a cut-and-paste-o. This helps un-busts termlog on 64 bit architectures. Fixes Submitted by: Eirik ?verby While we are here: o Open tty line with O_NONBLOCK o Close the line fd after we attach to it as we dont need it. This closes an fd leak. o Remove comment about fd leak Approved by: kris
This commit is contained in:
parent
d4de0a6540
commit
de9a1cf4dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145062
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= termlog
|
||||
PORTVERSION= 2.4
|
||||
PORTVERSION= 2.5
|
||||
CATEGORIES= security sysutils
|
||||
MASTER_SITES= http://www.seccuris.com/documents/downloads/
|
||||
MASTER_SITE_SUBDIR= termlog
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (termlog-2.4.tar.gz) = 7ea26eec2118d98b5511bdee656446e2
|
||||
SIZE (termlog-2.4.tar.gz) = 9839
|
||||
MD5 (termlog-2.5.tar.gz) = ffca397f74ab264ac2760daa0baadd02
|
||||
SIZE (termlog-2.5.tar.gz) = 9818
|
||||
|
Loading…
Reference in New Issue
Block a user