aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/ncurses/base/lib_newwin.c
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-02-11 13:37:14 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-02-11 13:37:14 +0000
commitd8977eaf361f5fdc1261c3f3524988f661ed926e (patch)
tree6e13b0d70c904118d1734988696458ad468a00f1 /contrib/ncurses/ncurses/base/lib_newwin.c
parent536bf19adc224388608d1ed2df0b31b9dd159c3f (diff)
downloadsrc-d8977eaf361f5fdc1261c3f3524988f661ed926e.tar.gz
src-d8977eaf361f5fdc1261c3f3524988f661ed926e.zip
Import ncurses 5.6-20080209 snapshot onto the vender branchvendor/ncurses/5.6-20080209
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=176187 svn path=/vendor/ncurses/5.6-20080209/; revision=176189; tag=vendor/ncurses/5.6-20080209
Diffstat (limited to 'contrib/ncurses/ncurses/base/lib_newwin.c')
-rw-r--r--contrib/ncurses/ncurses/base/lib_newwin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ncurses/ncurses/base/lib_newwin.c b/contrib/ncurses/ncurses/base/lib_newwin.c
index b0f4603ae7ab..21ba95f34ed6 100644
--- a/contrib/ncurses/ncurses/base/lib_newwin.c
+++ b/contrib/ncurses/ncurses/base/lib_newwin.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -41,7 +41,7 @@
#include <curses.priv.h>
-MODULE_ID("$Id: lib_newwin.c,v 1.42 2007/12/22 23:20:18 tom Exp $")
+MODULE_ID("$Id: lib_newwin.c,v 1.44 2008/01/13 00:28:13 tom Exp $")
static WINDOW *
remove_window_from_screen(WINDOW *win)
@@ -234,7 +234,7 @@ _nc_makenew(int num_lines, int num_columns, int begy, int begx, int flags)
{
pthread_mutexattr_t recattr;
memset(&recattr, 0, sizeof(recattr));
- pthread_mutexattr_settype(&recattr, PTHREAD_MUTEX_RECURSIVE);
+ pthread_mutexattr_settype(&recattr, PTHREAD_MUTEX_NORMAL);
pthread_mutex_init(&(wp->mutex_use_window), &recattr);
}
#endif