Bug 145511 - [patch] x11/gnome-terminal - patch typo
Summary: [patch] x11/gnome-terminal - patch typo
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 10:20 UTC by Pavel Plesov
Modified: 2010-05-10 22:30 UTC (History)
0 users

See Also:


Attachments
file.diff (770 bytes, patch)
2010-04-08 10:20 UTC, Pavel Plesov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!