search for: changenotifi

Displaying 20 results from an estimated 34 matches for "changenotifi".

Did you mean: changenotify
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all, I know it''s deprecated, but people seem to still be using win32-changenotify, so I thought I''d see if I could make it pure Ruby. Also, I thought it would be a good opportunity to test passing a custom Win32::Event object. I''m mostly done I think, but I''m having trouble unraveling the FILE_NOTIFY_INFORMATION struct buffer. Please check out the
2005 Jan 06
0
Some thoughts on win32-changenotify
...E | ChangeNotify::DIR_NAME | ChangeNotify::LAST_WRITE cn = ChangeNotify.new("c:\\",false,filter){ |cns| puts "File changed: " + cns.file_name puts "Action: " + cns.action } cn.wait That means altering changenotify.c to use ReadDirectoryChangesW() instead of FindFirstChangeNotification(). Our Ruby ChangeNotifyStruct would contain two members, "action" and "file_name" that would be the Action and FileName members of the FILE_NOTIFY_INFORMATION structure. I''ve tinkered around with this but I''m having a couple issues. I can open a direc...
2006 Nov 17
2
[ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
Bugs item #6722, was opened at 2006-11-17 05:17 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=6722&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: win32-changenotify fails on Ruby 1.8.4 Initial Comment: throws an exception when loading, roughly
2007 Aug 06
0
win32-changenotify and events
Hi all, I''ve made some changes to the way that events are handled in win32-changenotify, and I wanted to verify that they were both appropriate and sensical. First, win32-changenotify now requires win32-event. In the constructor, if an event isn''t explicitly passed, a new Win32::Event object is created (instead of calling CreateEvent directly). Then, in the
2006 Dec 21
0
Curious win32-changenotify behavior - numbers instead of names
Hi all, Ruby 1.8.5 win32-ipc 0.4.2 (or 0.5.0 in cvs) win32-changenotify 0.4.2 I noticed something strange tonight while tinkering with win32-changenotify. Here''s my sample script: # cntest.rb require ''win32/changenotify'' include Win32 path = "C:\\test" filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME cn = ChangeNotify.new(path, true, filter)
2005 Jan 20
1
ChangeNotify help wanted
Hi all, I''ve checked in some code to win32-changenotify. Unfortunately, it doesn''t work right. I need some help. I don''t understand what, exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd argument, nor how to read the data back out. There''s also a WCHAR issue that needs to be worked out with regards to the FileName
2005 Apr 21
3
win32-changejournal modification
Hi all, Should we make the same change for win32-changejournal that we made for win32-changenotify (i.e yield an array of structs rather than a single struct)? Any objections? Dan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2007 Aug 09
0
win32-changenotify 0.5.0 nearing release
Hi all, I made some minor final changes to the win32-changenotify code (added accessors I forgot, updated the test suite, explicit type checking in the constructor, etc). The only somewhat major change that I made is that I now have the constructor yield/close if a block is given. Unless anyone objects to that, it''s going into 0.5.0. Otherwise, I''ll put 0.5.0 out tonight.
2005 Jan 25
3
Change Journals
Hi, I''ve released win32-changenotify 0.3.0 today. Take a look. Park and I have discussed a Ruby interface to change journals a little bit: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/creating_modifying_and_deleting_a_change_journal.asp Park, would you like to do this, or did you want me to? I wasn''t sure from your RubyForge post. Also, do
1999 Jan 20
1
JBuilder Reload buffers? confusion (any update?) (PR#12876)
aideen@persimmon.co.uk wrote: > > Hi, > > We've got some Java projects that are being developed on both Unix and > NT and we're struggling with JBuilder 2.0 and its "File has been > externally updated, reload buffers?" messages. Has anyone found a fix? > Is it a bug in JBuilder? i.e should I save my hair and not spend any > more time investigating/trying
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all, I decided to check the responsiveness of the pure Ruby vs C extension versions of win32-changenotify. I setup this little file generator program: a = [] 10.times{ |n| a << Thread.new{ File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" } } } a.each{ |t| t.join } The pure Ruby version did not do so well. In some cases it
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements --------------------- These are a security releases in order to address the following defects: o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify. o CVE-2020-14323: Unprivileged user can crash winbind. o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily crafted records. ======= Details ======= o CVE-2020-14318:
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements --------------------- These are a security releases in order to address the following defects: o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify. o CVE-2020-14323: Unprivileged user can crash winbind. o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily crafted records. ======= Details ======= o CVE-2020-14318:
2016 Jan 30
2
Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Hi Folks, We are seeing an issues where two OS X El Capitan clients opened a folder and one of them creates a "New Folder" (untitled folder) and renames it, on the other MAC client explorer the "unititled folder" remains same and unable to access it. Note: The samba version is 4.1.19 and we have not used the vfs_fruit module. attached packet capture where the SMB2 Find
2005 Feb 04
0
RE: Bug fix
> -----Original Message----- > From: CT [mailto:demerzel@gmail.com] > Sent: Friday, February 04, 2005 3:42 PM > To: Berger, Daniel > Subject: Re: Bug fix > Okay, I tried 0.3.1, and the wait call blocks till a change > occurs. So it''s working:) > > But I would still need a loop to get a daemon-like behaviour, > since the wait terminates when a change
2004 May 07
2
New packages?
Hi, I should have win32-changenotify and win32-semaphore out this weekend at some point. Then, the next version of win32-file. And after that? I don''t know. What do you think we should tackle next? What interests you? Different mutex flavors? IE controllers? Exchange interfaces? I think we should probably look a little more at what Python has going forward, too. Just a
2004 Apr 29
3
win32-ipc bug?
Either I''ve been up too late, or the timeout value passed to Ipc.new isn''t actually saved anywhere. Am I wrong? Anyway, I''ve added docs and a test suite for win32-ipc. Feel free to take a look and make sure there aren''t any glaring errors. Thanks. Dan PS - I''m hoping to release win32-event 0.2.0 and win32-ipc 0.1.0 this weekend unless there are
2016 Jan 30
0
Fwd: Change notify/Directory enumeration issue with two MAC OS X El Capitan accessing same folder
Thanks Jeremy/Ralph, for the quick response. Please see my in-line answers On Sat, Jan 30, 2016 at 1:13 AM, Ralph Boehme <rb at sernet.de> wrote: > Hi! > > On Sat, Jan 30, 2016 at 08:49:59AM +0100, Jeremy Allison wrote: > > On Fri, Jan 29, 2016 at 05:28:22PM -0800, Partha Sarathi wrote: > > > Hi Folks, > > > > > > We are seeing an issues where two
2005 Feb 04
7
FW: Bug fix
Forwarded, because I don''t think he''s subscribed and I''m not getting an email notification in my Yahoo account. Dan -----Original Message----- From: CT [mailto:demerzel@gmail.com] Sent: Friday, February 04, 2005 4:17 PM To: Berger, Daniel Cc: win32utils-devel@rubyforge.org Subject: Re: Bug fix On Fri, 4 Feb 2005 16:53:17 -0600, Berger, Daniel
2005 Apr 19
1
Bug 1806
Hi all, I''m trying to get new tracker items to automatically send an email to this list, so I may run a couple of tests this week. You can ignore them. Heesob, can you please take a look at Bug 1806? I''m not sure if it''s possible or not, but it seems like a reasonable idea if it is. Regards, Dan __________________________________ Do you Yahoo!? Plan great