[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/50166: [PATCH] MAXPATHLEN / PATH_MAX definitions (for GNU/Hurd support in Rump)
>Synopsis: [PATCH] MAXPATHLEN / PATH_MAX definitions (for GNU/Hurd support in Rump)
>Arrival-Date: Mon Aug 24 17:55:00 +0000 2015
>Originator: Robert Millan
GNU/Hurd doesn't have PATH_MAX or MAXHOSTNAMELEN (arbitrarily long strings can be used). Since attempting to replace every instance of static allocation with dynamic buffer management would make for a very intrusive patch, I'm proposing to just define the limits as alternative.
I took care to use the same limits Rump namespace has, just to avoid accidental cross-definition of a different value causing damage somewhere (e.g. overflows or such).
Main Index |
Thread Index |