* io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings.
* ext/socket/socket.c (unix_send_io, unix_recv_io): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f3999874e4
commit
7162db6632
@ -1,3 +1,9 @@
|
|||||||
|
Fri Aug 1 16:02:46 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings.
|
||||||
|
|
||||||
|
* ext/socket/socket.c (unix_send_io, unix_recv_io): ditto.
|
||||||
|
|
||||||
Fri Aug 1 15:53:24 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
Fri Aug 1 15:53:24 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/win32.c (isInternalCmd): shouldn't return if find end of str.
|
* win32/win32.c (isInternalCmd): shouldn't return if find end of str.
|
||||||
|
@ -1565,6 +1565,7 @@ unix_send_io(sock, val)
|
|||||||
return Qnil;
|
return Qnil;
|
||||||
#else
|
#else
|
||||||
rb_notimplement();
|
rb_notimplement();
|
||||||
|
return Qnil; /* not reached */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1656,6 +1657,7 @@ unix_recv_io(argc, argv, sock)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
rb_notimplement();
|
rb_notimplement();
|
||||||
|
return Qnil; /* not reached */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
io.c
2
io.c
@ -144,7 +144,7 @@ extern int ReadDataPending();
|
|||||||
|
|
||||||
#ifndef READ_DATA_PENDING_PTR
|
#ifndef READ_DATA_PENDING_PTR
|
||||||
# ifdef FILE_READPTR
|
# ifdef FILE_READPTR
|
||||||
# define READ_DATA_PENDING_PTR(fp) ((fp)->FILE_READPTR)
|
# define READ_DATA_PENDING_PTR(fp) ((char *)(fp)->FILE_READPTR)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user