r9p

git clone git://oldgit.suckless.org/r9p/
Log | Files | Refs

commit cd08ce80d861614b2538efe3eacc3f60915dae2c
parent e20d530e92407be21a5bfad63fa3491433f947cc
Author: Kris Maglione <jg@suckless.org>
Date:   Sat, 31 Mar 2007 04:08:52 -0400

Add disclaimers to license file. Fix a bug that I fixed ages ago.

Diffstat:
r9p/PERMISSIONS | 8++++++++
r9p/client.rb | 3++-
2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/r9p/PERMISSIONS b/r9p/PERMISSIONS @@ -10,3 +10,11 @@ the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/r9p/client.rb b/r9p/client.rb @@ -54,8 +54,9 @@ module R9P end end return - ensure + rescue @mux.fd.close if @mux + raise end def cleanup