• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: has exited due to signal 10 (SIGBUS).
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: has exited due to signal 10 (SIGBUS).
  • From: Mac-arena the Bored Zo <email@hidden>
  • Date: Thu, 16 Dec 2004 22:35:51 -0800

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:

This email sent to email@hidden

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

  • Prev by Date: Re: has exited due to signal 10 (SIGBUS).
  • Next by Date: Re: NSFilePromisePboardType
  • Previous by thread: Re: has exited due to signal 10 (SIGBUS).
  • Next by thread: Quitting one application from within another
  • Index(es):
    • Date
    • Thread