Commit Briefs

David du Colombier

vacfs: fix create srv with ORCLOSE on plan 9

In the current code, the srv file is removed just after the main thread exits, while the srv thread is still running, which is not the expected behavior. We moved the srv creation just before the procrfork, in order that the srv file will not be removed until the srv thread exits. R=rsc http://codereview.appspot.com/6397047


David du Colombier

dial(3): update dialparse

R=rsc http://codereview.appspot.com/6455083


Russ Cox

devdraw: make it 3 times faster on OS X

This patch reverts the recent patch named "devdraw: fix for OS X 10.8", and fixes redrawing on OSX 10.8 differently, making scrolling under Acme 3 times faster. R=rsc, mirtchovski CC=plan9port.codebot http://codereview.appspot.com/6452087


Russ Cox

devdraw: fix for OS X 10.8 (Mountain Lion)

In MacOS 10.8, the NSBitmapImageRep class appears to cache the specified image data at the time of construction. As a result updates to the backing memimage object do not get pushed to the screen in flushimg. This patch creates the NSBitmapImageRep object over again for each flushimg which would appear to fix the problem. R=rsc CC=plan9port.codebot http://codereview.appspot.com/6443063


Russ Cox

libventi: fix segfault in vtgetreq

Don't call vtlog() when _vtqrecv() returns nil on queue hangup, as reported on http://bitbucket.org/rsc/plan9port/issue/102/ R=rsc http://codereview.appspot.com/6373046


Russ Cox

disk/mkfs, disk/mkext: add from Plan 9

R=rsc, rsc http://codereview.appspot.com/6405057


Russ Cox

9l: remove debug print

R=rsc http://codereview.appspot.com/6402049


Russ Cox

openbsd updates (thanks Pascal Stumpf)

R=rsc http://codereview.appspot.com/6401049


Russ Cox

libmach: remove debug print

R=rsc http://codereview.appspot.com/6395048


Russ Cox

9l: fix for Linux 3.x (thanks Christopher Brannon)

R=rsc http://codereview.appspot.com/6395047


Russ Cox

auth/factotum: fix flush (thanks Erik Quanstrom)

R=rsc http://codereview.appspot.com/6402044


Russ Cox

lib/codereview: update from Go

R=rsc http://codereview.appspot.com/6396045


Russ Cox

venti(8): fix discussion of variables

R=rsc http://codereview.appspot.com/6397046


David du Colombier

lib9: fix openbsd build

Fix build error and warning on OpenBSD 5.1, as reported by Dimitri Sokolyuk. R=rsc http://codereview.appspot.com/6350044


David du Colombier

lib9/dial: add support for IPv6

The function p9dialparse() returns the host as a sockaddr_storage structure instead of a u32int, to be able to handle both IPv4 and IPv6 addresses. Because the sockaddr_storage structure also handle port numbers and Unix path names, there is no longer need to set them in the calling functions. However, these values are still returned for convenience. The sockaddr_in and sockaddr_un structures have been replaced by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets. Names and addresses are resolved using either gethostbyname() or getaddrinfo() functions. The getaddrinfo() function is documented in RFC2553 and standardized since POSIX.1-2001. It supports both IPv4 and IPv6 addresses. The gethostbyname() function is deprecated since POSIX.1-2008. However, some libc implementations don't handle getaddrinfo() properly, thus we preferred to try gethostbyname() first. I've tried to preserve most of the old code logic to prevent from surprising or unwanted behavior. R=rsc http://codereview.appspot.com/6255068