From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 26 Jun 2006 19:45:12 +0200 From: Christoph Lohmann <20h@r-36.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Plan 9 Ports rc under NetBSD Message-Id: <20060626194512.89fa4312.20h@r-36.net> In-Reply-To: <44A00A13.5000202@mteege.de> References: <44A00A13.5000202@mteege.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Mon__26_Jun_2006_19_45_12_+0200_iTX60haWFQGLzRTT" Topicbox-Message-UUID: 6dbdf820-ead1-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --Multipart=_Mon__26_Jun_2006_19_45_12_+0200_iTX60haWFQGLzRTT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Good day. Am Mon, 26 Jun 2006 18:23:47 +0200 schrieb Matthias Teege : > Moin, > > I've build p9p from CVS under NetBSD current. It compiles but break > during build the documentation because regular expressions in rc doesnt > work. I can run rio, acme, 9term and sam without problems but an 'ls *' > gives 'no such file ...'. The problem is a bit different. In NetBSD getdirentries() is obsolete, so $PLAN9/src/lib9/dirread.c is wrong. Here is a diff to get it to work with NetBSD. Attached is a diff to dirread.c, that gets it to work again. Russ, should I send a patch for p9p? Sincerely, Christoph --Multipart=_Mon__26_Jun_2006_19_45_12_+0200_iTX60haWFQGLzRTT Content-Type: application/octet-stream; name="dirread.diff" Content-Disposition: attachment; filename="dirread.diff" Content-Transfer-Encoding: base64 MjFjMjEKPCAjZWxpZiBkZWZpbmVkKF9fQVBQTEVfXykgfHwgZGVmaW5lZChfX0ZyZWVCU0RfXykg fHwgZGVmaW5lZChfX09wZW5CU0RfXykgfHwgZGVmaW5lZChfX05ldEJTRF9fKQotLS0KPiAjZWxp ZiBkZWZpbmVkKF9fQVBQTEVfXykgfHwgZGVmaW5lZChfX0ZyZWVCU0RfXykgfHwgZGVmaW5lZChf X09wZW5CU0RfXykKMjhjMjgKPCAjZWxpZiBkZWZpbmVkKF9fc3VuX18pCi0tLQo+ICNlbGlmIGRl ZmluZWQoX19zdW5fXykgfHwgZGVmaW5lZChfX05ldEJTRF9fKQo= --Multipart=_Mon__26_Jun_2006_19_45_12_+0200_iTX60haWFQGLzRTT--