sendfile 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/ChangeLog +4 -0
  2. data/ext/sendfile.c +2 -2
  3. data/sendfile.gemspec +1 -1
  4. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ * sendfile 0.9.2 - 2006.03.27 <toby@cbcg.net>
2
+
3
+ - Fixed typo: s/rv_sys_fail/rb_sys_fail
4
+
1
5
  * sendfile 0.9.1 - 2006.03.24 <toby@cbcg.net>
2
6
 
3
7
  - Improved interface with non-blocking sockets
data/ext/sendfile.c CHANGED
@@ -29,7 +29,7 @@
29
29
  * Original Author: Toby DiPasquale <toby@cbcg.net>
30
30
  * Current Maintainer: Toby DiPasquale <toby@cbcg.net>
31
31
  *
32
- * $Id: sendfile.c,v 1.3 2006/03/26 16:03:59 codeslinger Exp $
32
+ * $Id: sendfile.c,v 1.4 2006/03/27 19:14:53 codeslinger Exp $
33
33
  */
34
34
  #include "ruby.h"
35
35
  #include "rubyio.h"
@@ -68,7 +68,7 @@ static off_t __sendfile( int out, int in, off_t off, size_t count, struct timeva
68
68
  off += written;
69
69
  count -= written;
70
70
  if (rv < 0 && errno != EAGAIN)
71
- rv_sys_fail( "sendfile");
71
+ rb_sys_fail( "sendfile");
72
72
  if (!rv)
73
73
  break;
74
74
  rb_thread_select( 0, NULL, NULL, NULL, tv);
data/sendfile.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  spec = Gem::Specification.new do |gs|
4
4
  gs.name = 'sendfile'
5
- gs.version = '0.9.1'
5
+ gs.version = '0.9.2'
6
6
  gs.summary = 'Ruby interface to sendfile(2) system call'
7
7
  gs.description = <<-EOF
8
8
  Allows Ruby programs to access sendfile(2) functionality on
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: sendfile
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.1
7
- date: 2006-03-26 00:00:00 -05:00
6
+ version: 0.9.2
7
+ date: 2006-03-27 00:00:00 -05:00
8
8
  summary: Ruby interface to sendfile(2) system call
9
9
  require_paths:
10
10
  - lib