help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 486-Hurd (was Re: Cygwin bug? Anyone got any ideas?)


From: Marcus Brinkmann
Subject: Re: 486-Hurd (was Re: Cygwin bug? Anyone got any ideas?)
Date: Tue, 28 Nov 2000 16:44:52 +0100
User-agent: Mutt/1.1.4i

On Tue, Nov 28, 2000 at 02:59:07AM -0500, Erik Hunger wrote:
> I did have one question, though. I was testing out the size limits after
> all the MAXPATHLEN, etc. stuff was mentioned. When I run 'touch' with more
> than 255 characters (touch ALT+256 z, for example), it locks up. Was I
> misunderstanding the limits? I'm running off of the Sept 25th, 2000
> tarball. If gdb is involved in a solution, please give me a quick line to
> use with it so I don't muck it up. Thanks! :)

PATH_MAX (which is the POSIX equivalent to BSD MAXPATHLEN) is umlimited on
the Hurd, but the individual path components are limited to NAME_MAX ==
MAXNAMLEN, which is 255 on linux and hurd (defined in <dirent.h>).

However, it shouldn't crash! You have found a bug.

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]