Bug #27792 [Com]: [PATCH] Functions fail on large files (filesize,is_file,is_dir,readdir)

From: Date: Wed, 05 Jan 2011 03:46:23 +0000
Subject: Bug #27792 [Com]: [PATCH] Functions fail on large files (filesize,is_file,is_dir,readdir)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157602@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=27792&edit=1

 ID:                 27792
 Comment by:         marcb at voicemeup dot com
 Reported by:        kode at kodekrash dot com
 Summary:            [PATCH] Functions fail on large files
                     (filesize,is_file,is_dir,readdir)
 Status:             Critical
 Type:               Bug
 Package:            Filesystem function related
 Operating System:   * (LFS)
 PHP Version:        5.*, 6CVS (2009-04-30)
 Block user comment: N
 Private report:     N

 New Comment:

Is anyone able to confirm if this was fixed in any of the 5.X branch ?

This is a pretty stupid problem to have to deal with !


Previous Comments:
------------------------------------------------------------------------
[2009-11-12 10:27:45] boite dot pour dot spam at gmail dot com

The patch from Wez doesn't work, as it assumes size_t are 64 bits, which
is not the case, even when LFS is defined.

The patch from Mail Pourri works on 5.3.0 (I haven't tested in 5.3.1)

------------------------------------------------------------------------
[2009-09-14 08:59:36] jani@php.net

The latest patch for this:

  http://www.php.net/~wez/lfs.diff

------------------------------------------------------------------------
[2009-07-11 13:40:57] mail dot pourri at laposte dot net

Please see fix in http://bugs.php.net/bug.php?id=48886

------------------------------------------------------------------------
[2009-04-30 19:45:57] jani@php.net

And bug #45040

------------------------------------------------------------------------
[2009-04-30 19:45:19] jani@php.net

See also bug #48099 (NFS mounts misbehave also without the compile 
flags..)


------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=27792


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=27792&edit=1


Thread (46 messages)

« previous php.bugs (#157602) next »