[Win32utils-devel] Need some help with pureRubywin32-changenotify

Heesob Park phasis at gmail.com
Mon Aug 6 21:18:57 EDT 2007


Hi,

2007/8/7, Berger, Daniel <Daniel.Berger at qwest.com>:
>
> Hi,
>
> > > On 8/5/07, Heesob Park <phasis at gmail.com> wrote:
>
> <snip>
>
> > > Oh, one thing that I've noticed is that it sometimes returns the
> > > filename as "4913". I know I've seen this issue come up at
> > some point
> > > before (with the C code, too), but I can't remember what the answer
> > > was, and my Google skills are failing me.
> > >
> > > Do you happen to remember what causes that?
> > >
> > Sorry, I don't remember that issue. and I never met such case.
>
> I was able to see this just by setting up monitoring on the current
> directory, creating a file via gvim, and editing that file while that
> directory was being watched.


If "4913" file already exists, the filename would be "5036".

I investigate the gvim source code, and I found "4913" in fileio.c.
It generate temporary file starting from 4913 increasing by 123.

So the "4913" is just a filename generated by gvim.

Regards,

Park Heesob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/win32utils-devel/attachments/20070807/af2307c2/attachment.html 


More information about the win32utils-devel mailing list