Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2000 18:51:39 +0100
From:      Marcel Moolenaar <marcel@scc.nl>
To:        current@FreeBSD.org
Subject:   Re: current hangs in make world (softupdates on ccd on ata)
Message-ID:  <387A1C2B.75AFE94A@scc.nl>
References:  <57326.947517897@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 
> Make world hangs reliably for me right now:
[snip]
> |yacc -d -o c-parse.c c-parse.y
> +--------
> 
>     0 19921     1  83  -2  0  1276  932 getblk D     p0    0:00.09 yacc -d -o c-parse.c c-parse.y
> 
> This is a softupdates filesystem on a ccd on ata...

The format used for mkstemp has been changed (4 chars. longer). Does the
following patch work?

Index: main.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/yacc/main.c,v
retrieving revision 1.11
diff -u -r1.11 main.c
--- main.c      2000/01/10 08:54:09     1.11
+++ main.c      2000/01/10 17:47:33
@@ -304,7 +304,7 @@
     if (tmpdir == 0) tmpdir = "/tmp";
 
     len = strlen(tmpdir);
-    i = len + 13;
+    i = len + 17;
     if (len && tmpdir[len-1] != '/')
        ++i;
 
-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?387A1C2B.75AFE94A>