similar to: Curious win32-changenotify behavior - numbers instead of names

Displaying 20 results from an estimated 2000 matches similar to: "Curious win32-changenotify behavior - numbers instead of names"

2005 Jan 06
0
Some thoughts on win32-changenotify
Hi all, As things stand now, you can do something like this with win32-changenotify: require "win32/changenotify" include Win32 filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME | ChangeNotify::LAST_WRITE cn = ChangeNotify.new("c:\\",false,filter){ puts "Something changed" } cn.wait You can pass a block that''s executed when a change occurs, but
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
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
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
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
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
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.
2020 May 24
0
Clients send tons of Notiftication requests
I am still fighting with this issue. I did the following: I connected to the NAS with a read-only account called kodi. I traversed various folders and I finally opened an image. Everything went fine. Looking at the logs, the get_entry mask file only shows the final folder: smbd_dirptr_get_entry mask=[Anhelina Viber] found Users/luca/Pictures/Canon/Alessandro/Amici/Anhelina Viber fname=Anhelina
2009 Nov 03
3
Weird operator behaviour
Hi, I have a dataset called 'fish'. fish$Species returns extract 1. When I use fish$Species != c("CRA","PHC"), i.e. I want all species except "CRA" and "PHC", I get extract 2 which is blatantly wrong. Can anyone see what I'm doing wrong? Regards, James EXTRACT 1 > fish$Species [1] ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB
2023 Jul 07
0
Very strange issue copying only certain files to a share
I've been troubleshooting this issue for over a week and am running out of ideas. Generally everything works fine. I can copy files into the share, create and delete files and folders. However when copying *some* files from windows specifically it will say "The destination already has a file named "a"". A size 0 file by that name is then created. No files exist in the
2009 Feb 19
0
Mac OS X file copy error in samba share on a samba-share
I have an issue with mac os x 2.5.6 who is trying to put a file on a samba share. Samba (3.0.28) is running on a CentOS 5.2 (2.6.18-92.1.13.el5). I put a file "users.txt" as user "carlo.maesen" and have the following Mac-error: "You cannot copy some of these items to the destination because their names are too long or contain invalid characters for the destination. Do
2020 Aug 24
0
[PATCH v2v] Add ALT support
From: Mikhail Gordeev <obirvalger@altlinux.org> --- v2v/convert_linux.ml | 49 +++++++++++++++++++++++++++++++++++++++++++ v2v/convert_linux.mli | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml index a871d754f4..5ae83a2f66 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -52,6 +52,7 @@ let convert (g :
2016 Jan 26
2
Notification of file modification in subdirectories not working
I have output of another test with exactly the same behaviour This time I have pcap files from Samba and client PC. CHange to the file subfile.txt was made on another PC Looks like Samba sees change to the file but does not send it as a notification [2016/01/26 10:09:15.590689, 10, pid=12027, effective(1001, 1006), real(1001, 0)] ../source3/smbd/notify_internal.c:615(notify_trigger)
2020 Aug 25
2
Re: [PATCH v2v] Add ALT support
On Monday, 24 August 2020 19:48:07 CEST Richard W.M. Jones wrote: > From: Mikhail Gordeev <obirvalger@altlinux.org> > It would be nicer to have few more details in the commit message and/or comments in the code, as there are things that definitely deserve explanations. Also, IMHO, it would be nice to have it split in different parts: 1) a simple patch that adds the ALT_family, in
2015 Jun 17
0
gvim current directory
On Tue, June 16, 2015 15:15, Jonathan Billings wrote: > On Tue, Jun 16, 2015 at 11:56:58AM -0500, Michael Hennebry wrote: >> When I gvim a file from gnome, >> gvim's working directory is always my home directory. >> [snip] >> I am looking for a way to give gvim the correct working directory. >> Is this a gnome thing? > > No, it's not a GNOME thing. I
2020 Nov 06
0
GVIM annoyances
On Fri, 6 Nov 2020 at 06:11, Gary Stainburn <gary.stainburn at ringways.co.uk> wrote: > I've just upgraded from my old F9 box to C7, which of course means lots > of changes. However, the ones are are annoying me most are with VIM. > > No matter what I do I can't get gvim to open in a reasonable size. I > have a dual headed setup (laptop + external) and every time
2020 Nov 06
3
GVIM annoyances
I've just upgraded from my old F9 box to C7, which of course means lots of changes.? However, the ones are are annoying me most are with VIM. No matter what I do I can't get? gvim to open in a reasonable size. I have a dual headed setup (laptop + external) and every time gvim opens it takes up both screens. I've tried a few suggestions including the one below without success.? In
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
2015 Jun 16
2
gvim current directory
When I gvim a file from gnome, gvim's working directory is always my home directory. That is not what I want. It is inconvenient for :vi , :r and :w something.else . Is there a way to automatically cause gvim's current directory to be the directory of the edited file? I am aware of workarounds involving the command line. I am aware of gedit. I am looking for a way to give gvim the correct