Bug#519960: readahead: MAXPATH set to 2048 instead of PATH_MAX

2009-03-29 Thread Julian Andres Klode
tag 519960 upstream
forwarded 519960 robb...@orbis-terrarum.net
thanks

On Mon, Mar 16, 2009 at 02:18:44PM +0100, Mathieu Malaterre wrote:
 Package: readahead
 Version: 1:1.20060421.1016-4
 Severity: normal
 
 
 For some reason readahead-list.c makes use of a custom:
 
 #define MAXPATH 2048
 
 instead of using the UNIX recommended: PATH_MAX (#include limits.h)
 which is set to 4096 on most linux station.
 
 Thanks
I have asked the upstream author about this. If there is no reason,
we can patch it in the next upload.

-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juli...@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/


signature.asc
Description: Digital signature


Bug#519960: readahead: MAXPATH set to 2048 instead of PATH_MAX

2009-03-16 Thread Mathieu Malaterre
Package: readahead
Version: 1:1.20060421.1016-4
Severity: normal


For some reason readahead-list.c makes use of a custom:

#define MAXPATH 2048

instead of using the UNIX recommended: PATH_MAX (#include limits.h)
which is set to 4096 on most linux station.

Thanks

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (50, 'testing'), (40, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages readahead depends on:
ii  debconf [debconf-2.0]1.5.11etch2 Debian configuration management sy
ii  libc62.7-10  GNU C Library: Shared libraries

readahead recommends no packages.

-- debconf information:
  readahead/profile-once: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org