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

Daniel Berger djberg96 at gmail.com
Mon Aug 6 21:54:17 EDT 2007


On 8/6/07, Heesob Park <phasis at gmail.com> wrote:
> 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.

Oh, heh, good to know.

Thanks,

Dan


More information about the win32utils-devel mailing list