• 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: UKKQueue and CVS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UKKQueue and CVS


  • Subject: Re: UKKQueue and CVS
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 24 Dec 2010 00:22:54 +0100

On 21.12.2010, at 11:58, Martin Hewitson wrote:
> I have implemented an editor where I use UKKQueue to handle changes to the file by other apps. The problem is that I don't get a notification if the file is committed to a CVS repository (or an SVN repository, for that matter).

 Many applications create a second file, write to that, then swap the two out afterwards. That way, if the write fails, you don't lose the file. Since kqueues work at a low level, you'll get a 'delete' or 'rename/move' notification in that case only. Have you checked if that's the case?

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UKKQueue and CVS
      • From: Martin Hewitson <email@hidden>
References: 
 >UKKQueue and CVS (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: Colored Pattern example problems
  • Next by Date: Re: UIActionSheet: Odd behavior / appearance
  • Previous by thread: UKKQueue and CVS
  • Next by thread: Re: UKKQueue and CVS
  • Index(es):
    • Date
    • Thread