Bug 145511

Summary: [patch] x11/gnome-terminal - patch typo
Product: Ports & Packages Reporter: Pavel Plesov <pavel.plesov>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Pavel Plesov 2010-04-08 10:20:05 UTC
Revision 1.7 of patch-src_terminal-screen.c.diff have a typo: it uses not-initialized variable fgpid and fails to get cwd every time.

According to original gnome-terminal code changes it should contains value of "pid" argument of cwd_of_pid().

Please find the patch attached.

Fix: Patch attached with submission follows:
How-To-Repeat: Try to open new tab - working directory will != working directory of previously active tab.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-08 10:20:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2010-04-29 02:47:43 UTC
State Changed
From-To: open->patched

Committed in the MarcusCom CVS that will be merged into FreeBSD ports. Thanks!
Comment 3 Koop Mast freebsd_committer freebsd_triage 2010-05-10 22:30:21 UTC
State Changed
From-To: patched->closed

Committed, thanks!