Re: non-linux support

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

 



Hi,

Mike Frysinger, le Sun 12 Aug 2007 10:07:01 -0400, a écrit :
> > The above patch is just to avoid the risky exercice which is rewriting
> > of code into length-unlimited loop. But MAXPATHLEN & such should really
> > used as "oops, the system is limited to this", not as "how much memory
> > should I allocate for my path?". Some system may very well define
> > MAXPATHLEN to MAXINT...
> 
> ah, i missed the statement in POSIX where these defines may be omitted ... may 
> be worthwhile i think to go through the code and just get rid of usage of all 
> of these _MAX defines by querying the actual limits at runtime ...

There may be no runtime limit either actually.

Samuel
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux