mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
468df0e2d4
commit
a85a9d31db
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Sat Aug 19 01:34:02 2000 WATANABE Hirofumi <eban@os.rim.or.jp>
|
||||||
|
|
||||||
|
* ext/sdbm/_sdbm.c (sdbm_prep): flags should be or-ed by O_BINARY on
|
||||||
|
Win32 too.
|
||||||
|
|
||||||
|
* ext/sdbm/_sdbm.c (makroom): fill hole with 0 on Win32 too.
|
||||||
|
|
||||||
Thu Aug 17 04:26:31 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
|
Thu Aug 17 04:26:31 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
|
||||||
|
|
||||||
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27.
|
* lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27.
|
||||||
|
|
|
@ -206,9 +206,7 @@ int mode;
|
||||||
* open the files in sequence, and stat the dirfile.
|
* open the files in sequence, and stat the dirfile.
|
||||||
* If we fail anywhere, undo everything, return NULL.
|
* If we fail anywhere, undo everything, return NULL.
|
||||||
*/
|
*/
|
||||||
#ifdef MSDOS
|
|
||||||
flags |= O_BINARY;
|
flags |= O_BINARY;
|
||||||
#endif
|
|
||||||
if ((db->pagf = open(pagname, flags, mode)) > -1) {
|
if ((db->pagf = open(pagname, flags, mode)) > -1) {
|
||||||
if ((db->dirf = open(dirname, flags, mode)) > -1) {
|
if ((db->dirf = open(dirname, flags, mode)) > -1) {
|
||||||
/*
|
/*
|
||||||
|
@ -361,7 +359,7 @@ int need;
|
||||||
{
|
{
|
||||||
long newp;
|
long newp;
|
||||||
char twin[PBLKSIZ];
|
char twin[PBLKSIZ];
|
||||||
#ifdef MSDOS
|
#if defined MSDOS || (defined _WIN32 && !defined __CYGWIN__)
|
||||||
char zer[PBLKSIZ];
|
char zer[PBLKSIZ];
|
||||||
long oldtail;
|
long oldtail;
|
||||||
#endif
|
#endif
|
||||||
|
@ -388,7 +386,7 @@ int need;
|
||||||
* here, as sdbm_store will do so, after it inserts the incoming pair.
|
* here, as sdbm_store will do so, after it inserts the incoming pair.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef MSDOS
|
#if defined MSDOS || (defined _WIN32 && !defined __CYGWIN__)
|
||||||
/*
|
/*
|
||||||
* Fill hole with 0 if made it.
|
* Fill hole with 0 if made it.
|
||||||
* (hole is NOT read as 0)
|
* (hole is NOT read as 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue