diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-09-04 13:50:38 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-09-04 13:50:38 +0000 |
commit | 4a1ca49acb7fc232ead4adfddec016afab1f3a98 (patch) | |
tree | 84a386a016257758fa632c9ed1543baef1fafa67 | |
parent | 2dd9fdfd858ad00ddb7af62a17ffafd49a5bfa32 (diff) | |
download | php-git-4a1ca49acb7fc232ead4adfddec016afab1f3a98.tar.gz |
Taking out the PWRITE functions 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 39537c3d51..1e86d6d4f8 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -282,12 +282,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); |