mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Remove an unnecessaty patch.
Submitted by: Guido Falsi <mad (at) madpilot.net>
This commit is contained in:
parent
95bf33f1bd
commit
b5cfa28280
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288434
@ -1,12 +0,0 @@
|
||||
--- libptytty/src/logging.C.orig 2011-12-03 09:58:20.000000000 +0100
|
||||
+++ libptytty/src/logging.C 2011-12-22 21:20:55.000000000 +0100
|
||||
@@ -264,7 +264,8 @@
|
||||
// posix says that ut_line is not meaningful for DEAD_PROCESS
|
||||
// records, but most implementations of last use ut_line to
|
||||
// associate records in wtmp file
|
||||
- strncpy (utx->ut_line, line, sizeof (utx->ut_line));
|
||||
+ if(line)
|
||||
+ strncpy (utx->ut_line, line, sizeof (utx->ut_line));
|
||||
fill_id (utx->ut_id, line, sizeof (utx->ut_id));
|
||||
utx->ut_pid = pid;
|
||||
utx->ut_type = login ? USER_PROCESS : DEAD_PROCESS;
|
Loading…
Reference in New Issue
Block a user