develooper Front page | perl.perl5.porters | Postings from November 2000

Re: [ID 20001114.002] Code-Cleanups concerning SOCKS5 and Solaris

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
November 14, 2000 07:27
Subject:
Re: [ID 20001114.002] Code-Cleanups concerning SOCKS5 and Solaris
Message ID:
20001114092710.A1983@chaos.wustl.edu
> *** perlsdio.h.FCS	Tue Nov 14 10:50:12 2000
> ! #define PerlIO_set_ptrcnt(f,p,c)      STMT_START {FILE_ptr(f) = (p), PerlIO_set_cnt(f,c);} STMT_END
>   /* assert() may pre-process to ""; potential syntax error (FILE_ptr(), ) */
> ! #define PerlIO_set_ptrcnt(f,p,c)      STMT_START {FILE_ptr(f) = (p); assert(FILE_cnt(f) == (c));} STMT_END

Could you explain the reason for these added assert()s a little bit more...?

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About