diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-09-04 13:51:08 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-09-04 13:51:08 +0000 |
commit | 65df9d5127ce33c27bb57bce8b152bceb88081a6 (patch) | |
tree | 35f89acea9c93a89c81a379a2ee254536042a535 | |
parent | 31fe6a549ff71076c5b0042f49e9266220277d7b (diff) | |
download | php-git-65df9d5127ce33c27bb57bce8b152bceb88081a6.tar.gz |
taking out the PWRITE calls too
-rw-r--r-- | ext/session/mod_files.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 4f59969bea..2fce69d792 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -294,12 +294,8 @@ PS_WRITE_FUNC(files) if (vallen < (int)data->st_size) ftruncate(data->fd, 0); -#ifdef HAVE_PWRITE - n = pwrite(data->fd, val, vallen, 0); -#else lseek(data->fd, 0, SEEK_SET); n = write(data->fd, val, vallen); -#endif if (n != vallen) { php_error(E_WARNING, "write failed: %s (%d)", strerror(errno), errno); |