[tor/master] Define O_NOFOLLOW on platforms that do not have it
 
            
            
            
            
                22 Feb
                
                    2016
                
            
            
                22 Feb
                
                '16
                
            
            
            
        
    
                9:28 p.m.
            
        commit 1e9950847c1035244b0c15c50276b06014286e6b Author: cypherpunks <cypherpunks@torproject.org> Date: Fri Feb 19 12:45:36 2016 +0000 Define O_NOFOLLOW on platforms that do not have it Fixes #18339 --- src/common/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/util.h b/src/common/util.h index d05ffa7..d42b5b2 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -29,6 +29,9 @@ #ifndef O_TEXT #define O_TEXT 0 #endif +#ifndef O_NOFOLLOW +#define O_NOFOLLOW 0 +#endif /* Replace assert() with a variant that sends failures to the log before * calling assert() normally.
        3533
        
      
          Age (days ago)
        
      
        3533
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 nickm@torproject.org nickm@torproject.org