[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: value of dangling pointer
From: |
Thomas Bushnell, BSG |
Subject: |
Re: value of dangling pointer |
Date: |
20 Aug 2001 14:00:59 -0700 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Adam Olsen <rhamph@d2dc.net> writes:
> I think that because C uses pass-by-value, there's no way for the
> pointer to be changed and thus invalidate the comparison. But I also
> think it's implimentation specific and thus they should be swapped on
> principle if nothing else.
It's not implementation specific at all; the code as it sat was
perfectly fine.