[haiku-commits] Re: r39148 - haiku/trunk/src/add-ons/input_server/filters/shortcut_catcher

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 26 Oct 2010 20:39:13 +0200

jonas@xxxxxxxxxxx wrote:
> +     if (!fileEntry.Exists())
> +             BFile file(fFileName, B_READ_ONLY|B_CREATE_FILE);

While this also introduces a style violation, why not also monitoring 
its directory?
Creating files that aren't needed isn't really the way to go IMO.

Bye,
   Axel.


Other related posts: