|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] Re: Use PATH_MAX for pathname char arrays.
 
Hello,
Using PATH_MAX is not a good idea: POSIX says that that definition
is facultative, in case the system does not impose any limit on path
length.  Some systems may also set PATH_MAX to a quite high value, and
we would hence consume a lot of stack.
Samuel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] Re: Use PATH_MAX for pathname char arrays.,
Samuel Thibault <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |