mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
Try #2
# aka, flying blind in a shitstorm, but it shouldn't hurt anything
This commit is contained in:
@@ -288,7 +288,7 @@ PS_WRITE_FUNC(files)
|
||||
* the existing data set.
|
||||
*/
|
||||
|
||||
if ((int) vallen < data->st_size)
|
||||
if (vallen < (int) data->st_size)
|
||||
ftruncate(data->fd, 0);
|
||||
|
||||
#ifdef HAVE_PWRITE
|
||||
|
||||
Reference in New Issue
Block a user