- fix segfault due to null pointer dereference occasionally seen while

building OOo.
- sync patches
This commit is contained in:
kurt 2006-12-02 14:36:23 +00:00
parent 26075e9de6
commit f62cb747e7
4 changed files with 23 additions and 12 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.38 2006/02/10 11:33:17 espie Exp $
# $OpenBSD: Makefile,v 1.39 2006/12/02 14:36:23 kurt Exp $
COMMENT= "extended C-shell with many useful features"
DISTNAME= tcsh-6.14.00
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= shells
MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-config_f_h,v 1.1 2004/10/11 02:08:53 jolan Exp $
--- config_f.h.orig Sun Mar 21 10:48:14 2004
+++ config_f.h Sun Oct 10 21:06:52 2004
@@ -61,7 +61,11 @@
$OpenBSD: patch-config_f_h,v 1.2 2006/12/02 14:36:23 kurt Exp $
--- config_f.h.orig Fri Mar 4 08:46:04 2005
+++ config_f.h Thu Nov 30 21:16:44 2006
@@ -69,7 +69,11 @@
* if you don't have <nl_types.h>, you don't want
* to define this.
*/
@ -13,7 +13,7 @@ $OpenBSD: patch-config_f_h,v 1.1 2004/10/11 02:08:53 jolan Exp $
/*
* LOGINFIRST Source ~/.login before ~/.cshrc
@@ -88,12 +92,12 @@
@@ -96,12 +100,12 @@
/*
* DOTLAST put "." last in the default path, for security reasons
*/
@ -28,7 +28,7 @@ $OpenBSD: patch-config_f_h,v 1.1 2004/10/11 02:08:53 jolan Exp $
/*
* AUTOLOGOUT tries to determine if it should set autologout depending
@@ -139,7 +143,7 @@
@@ -149,7 +153,7 @@
* This can be much slower and no memory statistics will be
* provided.
*/

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-host_defs,v 1.2 2006/01/15 13:58:39 sturm Exp $
--- host.defs.orig Thu Mar 3 19:49:15 2005
+++ host.defs Sun Dec 18 22:00:52 2005
@@ -510,6 +510,36 @@
$OpenBSD: patch-host_defs,v 1.3 2006/12/02 14:36:23 kurt Exp $
--- host.defs.orig Thu Mar 3 11:49:15 2005
+++ host.defs Thu Nov 30 21:16:44 2006
@@ -510,6 +510,36 @@ machtype: defined(vax) : "vax"
machtype: defined(alpha) : "alpha"
enddef :

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-sh_proc_c,v 1.1 2006/12/02 14:36:23 kurt Exp $
--- sh.proc.c.orig Thu Nov 30 21:19:19 2006
+++ sh.proc.c Thu Nov 30 21:19:34 2006
@@ -396,6 +396,7 @@ found:
#ifdef notdef
jobflags & PAEXITED ||
#endif /* notdef */
+ fp->p_cwd == NULL ||
!eq(dcwd->di_name, fp->p_cwd->di_name))) {
/* PWP: print a newline after ^C */
if (jobflags & PINTERRUPTED) {