• 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: "Ignore Ownership on this volume" check-box status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Ignore Ownership on this volume" check-box status


  • Subject: Re: "Ignore Ownership on this volume" check-box status
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 16 Apr 2004 16:27:32 -0400

On Apr 16, 2004, at 8:05 AM, Lorenzo wrote:

But [task terminationStatus] returns zero, either when the check-box is
marked or is not marked.

That does make sense, even though it's not very useful in this case. The task ran successfully, obtained and printed the information it was supposed to, so it returned a 0.

I would expect a non-zero return value if (and only if) the task were unable to check the status or otherwise failed for some reason. The return code only reflects whether or not the tool was able to check the status; it doesn't say anything about the status itself.

the log window they really seems to be equal, but the API
[enabledResultStr isEqualToString:enabledBaseStr] returns NO all the time.

There is probably a newline (\n) at the end of the output string, which isEqualToString isn't matching.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: "Ignore Ownership on this volume" check-box status (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: bindings and undo
  • Next by Date: Re: Simple question: getting 'locale' dictionary for NSCalendarDate class routine
  • Previous by thread: Re: "Ignore Ownership on this volume" check-box status
  • Next by thread: Re: Hyphenation?
  • Index(es):
    • Date
    • Thread