SPUG: Fixing Cygwin broken links
Yitzchak Scott-Thoennes
sthoenna at efn.org
Thu Jul 21 13:58:02 PDT 2005
On Thu, Jul 21, 2005 at 12:11:27PM -0700, Michael R. Wolf wrote:
> 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.
& and | are bitwise, && and || are logical.
More information about the spug-list
mailing list