SPUG: Fixing Cygwin broken links

Michael R. Wolf MichaelRWolf at att.net
Thu Jul 21 12:11:27 PDT 2005


What are the S_* constants?  How did you get them loaded?



>       if ($size < 200 && (($mode & (S_IFREG | S_IFLNK)) == S_IFREG) )

A DeMorgan equivalent should be:
        if ($size < 200 && $mode & S_IFREG )

But that doesn't seem to be saying what you claim that it's doing.






More information about the spug-list mailing list