If the pPlayer pointer is invalid (not initialized) but not NULL then it
can cause a crash.

On Sat, 7 Jun 2003 17:51:38 -0700, James Couzens <[EMAIL PROTECTED]>
wrote:

All I know, is that, that line of code is littered throughout the SDK in
the
util functions, so I figured it was safe to use, but after some looking,
its
definately the guilty party, but only on my linux bins.  There are of
course
other ways around it, but just frustrating to have that code fail when it
appears to be widely (and without problems) used in the dmc code.

James

---
James Couzens
ClanMod Dev Team
WWW: http://unitedadmins.com/clanmod.php
UA LISTS: http://list.unitedadmins.com/mailman/listinfo
----- Original Message -----
From: "MoD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 6:43 PM
Subject: Re: [hlcoders] SDK line crashing linux servers




> No, the C++ specification is such that it always evaluates conditions
in a
> lazy manner from left to right.
>
> Persuter
>

How about, try it his way, and if it works, curse the specification?

--

MoD.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders






_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to