git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-08-18 16:46:18 +00:00
Родитель 468df0e2d4
Коммит a85a9d31db
2 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -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>
* 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.
* If we fail anywhere, undo everything, return NULL.
*/
#ifdef MSDOS
flags |= O_BINARY;
#endif
if ((db->pagf = open(pagname, flags, mode)) > -1) {
if ((db->dirf = open(dirname, flags, mode)) > -1) {
/*
@ -361,7 +359,7 @@ int need;
{
long newp;
char twin[PBLKSIZ];
#ifdef MSDOS
#if defined MSDOS || (defined _WIN32 && !defined __CYGWIN__)
char zer[PBLKSIZ];
long oldtail;
#endif
@ -388,7 +386,7 @@ int need;
* 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.
* (hole is NOT read as 0)