|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 Patchesreadfile_largefile.patch (last revision 2016-06-27 13:52 UTC by cschneid@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits              [2016-06-27 12:48 UTC] mueller at search dot ch
  [2016-06-27 12:49 UTC] mueller at relog dot ch
 
-: mueller at search dot ch
+: mueller at relog dot ch
  [2016-06-27 12:49 UTC] mueller at relog dot ch
  [2016-06-27 13:19 UTC] mueller at relog dot ch
  [2016-06-27 13:52 UTC] cschneid@php.net
  [2016-06-28 03:12 UTC] laruence@php.net
  [2016-06-28 03:12 UTC] laruence@php.net
 
-Status: Open
+Status: Closed
  [2016-07-06 05:47 UTC] davey@php.net
  [2016-07-20 11:30 UTC] davey@php.net
  [2016-09-13 11:45 UTC] cmb@php.net
 
-Type:        Documentation Problem
+Type:        Bug
-Assigned To:
+Assigned To: cmb
  [2016-09-13 13:50 UTC] cmb@php.net
  [2016-09-16 12:57 UTC] laruence@php.net
  [2016-10-17 10:08 UTC] bwoebi@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ when readfile() is used to output a file larger than 2G, the output is not identical with the input. Test script: --------------- # output mangled for files larger than 2G bash:> dd if=largefile of=aa bs=1M count=2049 2>/dev/null; php -r 'readfile("aa");' >bb; crc32 aa bb b5c09ad4 aa 2e905867 bb Expected result: ---------------- same crc32 for aa and bb (which is the case if you use count=2047) Actual result: -------------- different crc32 for aa and bb