Re: tar "features"

From: Liviu Daia (daiaat_private)
Date: Sat Sep 26 1998 - 21:00:44 PDT

  • Next message: Max Schau (Noc-Wage): "1+2=3, +++ATH0=Old school DoS"

    On 26 September 1998, Kragen <kragenat_private> wrote:
    [...]
    > Or is ISLNK not portable?
    
        Good point, at least HP-UX, ConvexOS and UNIXware don't have
    S_ISLNK.  But you can always do something like
    
            #ifndef S_ISLNK
            #define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK ? 1 : 0)
            #endif
    
        Regards,
    
        Liviu
    
    --
    Dr. Liviu Daia                   e-mail:   daiaat_private
    Institute of Mathematics         web page: http://www.imar.ro/~daia
    of the Romanian Academy          PGP key:  finger daiaat_private
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:17:51 PDT