The branch, master has been updated
       via  5e7f1b9f0a5bcff8f9ba410c17de4e822428614c (commit)
      from  16670410ca24e43eff88824aacb988432afc8691 (commit)

- Log -----------------------------------------------------------------
commit 5e7f1b9f0a5bcff8f9ba410c17de4e822428614c
Author: Nicholas Marriott <nicholas.marri...@gmail.com>
Commit: Nicholas Marriott <nicholas.marri...@gmail.com>

    Don't close random file descriptor on error, from J Raynor.
---
 compat/forkpty-hpux.c  |    2 +-
 compat/forkpty-sunos.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compat/forkpty-hpux.c b/compat/forkpty-hpux.c
index 90452f8..c72e096 100644
--- a/compat/forkpty-hpux.c
+++ b/compat/forkpty-hpux.c
@@ -29,7 +29,7 @@
 pid_t
 forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
 {
-       int     slave;
+       int     slave = -1;
        char   *path;
        pid_t   pid;
 
diff --git a/compat/forkpty-sunos.c b/compat/forkpty-sunos.c
index 7b254d8..0015bf4 100644
--- a/compat/forkpty-sunos.c
+++ b/compat/forkpty-sunos.c
@@ -30,7 +30,7 @@
 pid_t
 forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
 {
-       int     slave;
+       int     slave = -1;
        char   *path;
        pid_t   pid;
 


-----------------------------------------------------------------------

Summary of changes:
 compat/forkpty-hpux.c  |    2 +-
 compat/forkpty-sunos.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to