9fans archive / 2000 / 10 / 21 /    prev next

From: okamoto@gra...
Subject: Re: [9fans] Postgres client monitor, pg9mon
Date: Wed, 4 Oct 2000 10:09:30 0900

Oops!

An older version file of monitor.c was included in fail.
The diff for it is as follows:

diff monitor.c.orig monitor.c
393c393,394
< 	tmon_temp = create(tmon_temp_filename, ORDWR, CHAPPEND|0666);
---
> 	if(tmon_temp = open(tmon_temp_filename, ORDWR) <0)
> 		tmon_temp = create(tmon_temp_filename, ORDWR, 0666);
439c440,441
<    tmon_temp = create(tmon_temp_filename, ORDWR, CHAPPEND|0666);
---
>     if(tmon_temp = open(tmon_temp_filename, ORDWR) <0)
> 	create(tmon_temp_filename, ORDWR, 0666);;

I also replaced our web page (http://basalt.cias.osakafu-u.ac.jp/plan9).

Kenji