Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: has exited due to signal 10 (SIGBUS).



On Fri, 17 Dec 2004 10:50:51 +0530, Amit Kumar(R&D) <email@hidden> wrote:
>         unsigned long thePID = 0;

I was going to say:

the correct type of PIDs is pid_t. since this is a signed int, your
+[NSNumber numberWithInt:] call later in the code is correct, but this
declaration needs to be changed.

but then I realised that you're not talking about process IDs. a
better variable name would be 'productID'.

also, I second all the other complaints that have been raised about this code.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >RE: has exited due to signal 10 (SIGBUS). (From: "Amit Kumar(R&D)" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.