Displaying 20 results from an estimated 3000 matches similar to: "File.open on a directory?"
2004 Nov 06
3
Calling CreateFile on an instance of File - possible?
Hi all,
I''m going over win32-file this weekend. I''m creating instance methods for
setting (or unsetting) the various file attributes. So, you can do
something like:
f = File.open("foo.txt")
f.archive = true
f.hidden = true
f.close
This works for the basic attributes, but it requires extra work for others.
Specifically, I am having trouble trying to set the
2006 May 26
13
win32-dir, unicode
Hi,
I''ve got a preliminary version of the pure Ruby version of win32-dir in
CVS. However, I was hoping to work out the Unicode issue. Run this:
from = "C:\\test"
to = "?????"
Dir.mkdir(from) unless File.exists?(from)
Dir.create_junction(to, from)
It works, but my explorer (and dos) window shows the name garbled. I
don''t think it''s a font
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
2004 Mar 07
1
win32-mmap problem
Hi all,
Ruby 1.8.1 (hand built, not the installer)
Windows 2000
I was just playing with win32-mmap. I tried running the test_server.rb and
test_client.rb. I started the server, which seems to be fine, but when I
run the client I get this:
C:\eclipse\workspace\win32-mmap-0.1.0\test>ruby test_client.rb
C:/ruby/lib/ruby/1.8/ftools.rb:23:in `initialize'': Permission denied -
2006 Oct 14
4
1.0.rc9 released
http://dovecot.org/releases/dovecot-1.0.rc9.tar.gz
http://dovecot.org/releases/dovecot-1.0.rc9.tar.gz.sig
Most importantly this should fix the login process problems that people
have been reporting. There were also some bugs in the proxying feature.
Also note the 64bit change in dovecot.index.cache files. Unless you
delete dovecot.index.cache files manually, you'll these kind of error
2006 Oct 14
4
1.0.rc9 released
http://dovecot.org/releases/dovecot-1.0.rc9.tar.gz
http://dovecot.org/releases/dovecot-1.0.rc9.tar.gz.sig
Most importantly this should fix the login process problems that people
have been reporting. There were also some bugs in the proxying feature.
Also note the 64bit change in dovecot.index.cache files. Unless you
delete dovecot.index.cache files manually, you'll these kind of error
2008 Jun 09
1
v1.1.rc9 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc9.tar.gz
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc9.tar.gz.sig
Not many bug reports these last few days, so maybe this release will be
a good one.
+ Maildir: When hardlink-copying a file, copy the W=<vsize> in the
filename if it exists in the original filename.
- mbox: With rc8 empty lines were inserted in the middle of saved
2008 Jun 09
1
v1.1.rc9 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc9.tar.gz
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc9.tar.gz.sig
Not many bug reports these last few days, so maybe this release will be
a good one.
+ Maildir: When hardlink-copying a file, copy the W=<vsize> in the
filename if it exists in the original filename.
- mbox: With rc8 empty lines were inserted in the middle of saved
2004 Nov 11
3
File.nopen alpha
Hi all,
I''ve committed an alpha version of File.nopen (native open) to
win32-file. This is a wrapper for CreateFile(). A quick synopsis:
* File.nopen(file,access_mode,share_mode,creation_mode,flags)
*
* A ''native'' open method. This uses CreateFile() behind the scenes
instead of
* the _open() function. This allows much greater flexibility when it
comes
* to
2007 Sep 25
2
Using callbacks with ReadFileEx
Hi all,
First, I just realized I''ll need to go back and fix some of the
prototype declarations for windows-pr. The callback parameters will now
need to be set to ''K''. ReadFileEx is one example of this. For purposes
of my question, let''s assume ReadFileEx has been declared like so:
API.new(''ReadFileEx'', ''LPLPK'',
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all,
Looking at the IO.readlines source in io.c, it looks to me like they
grab 8k chunks, split on the input record separator, and buffer accordingly.
Since it looks like ReadFileScatter() does some of that work
automatically (in page file sized chunks), I thought I''d give it a try.
Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter
2006 Oct 15
2
1.0.rc10 released
http://dovecot.org/releases/dovecot-1.0.rc10.tar.gz
http://dovecot.org/releases/dovecot-1.0.rc10.tar.gz.sig
I've finally read all the mails in the mailing list and in my INBOX. If
I haven't replied to some of your mail, please resend it.
Remember that since 1.0.rc9 release dovecot.index.cache files will get
rebuilt in 64bit systems, and it's probably better to delete them
manually so
2006 Oct 15
2
1.0.rc10 released
http://dovecot.org/releases/dovecot-1.0.rc10.tar.gz
http://dovecot.org/releases/dovecot-1.0.rc10.tar.gz.sig
I've finally read all the mails in the mailing list and in my INBOX. If
I haven't replied to some of your mail, please resend it.
Remember that since 1.0.rc9 release dovecot.index.cache files will get
rebuilt in 64bit systems, and it's probably better to delete them
manually so
2006 Oct 16
1
LDAP Memory Leak
Hi Timo
I use LDAP auth on a system with around 2000 email account. I use dual
OpenLDAP servers.
I haven't noticed a leak of memory. Is there any more information and I
will have a look to see if I can see anything that might help. Is it only
affecting certain machines or all?
Regards
Daniel Rowe
Date: Mon, 16 Oct 2006 02:39:26 +0300
From: Timo Sirainen <tss at iki.fi>
Subject:
2006 Oct 14
1
failed authentication with digest-md5 (rc9)
Hi!
I'm using rc9 and DIGEST-MD5 passwords. Sometimes it works, sometimes
it's not...
When failed, I get this in the logs:
12:45:11 Info: auth(default): client in: AUTH 1 DIGEST-MD5 \
service=POP3 secured lip=<lip> rip=<rip> resp=<something_long>
12:45:11 Info: auth(default): client out: CONT 1 <something_long>
12:45:11 Info: auth(default): client in: CONT 1
2008 Jun 13
2
configure error on HP-UX: C99 compatible vsnprintf() call
Hi All,
I tried to build dovecot-1.1.rc9 on a HP-UX machine, but failed to configure with the following message:
configure: error: You don't appear to have C99 compatible vsnprintf() call
The environment is like the following:
- command: ./configure
- uname: HP-UX B.11.23 U ia64
- aCC version: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]
Also, I tried to run `./configure CC=c99'
2006 Oct 15
1
Dovecot rc9 error
Hi
Am getting this error with Dovecot rc9 on a imap account.
Oct 15 10:55:28 bajor dovecot: imap-login: Login: user=<rachele>,
method=plain, rip=192.168.1.1, lip=192.168.1.254
Oct 15 10:55:28 bajor dovecot: IMAP(rachele): file
mail-cache-transaction.c: line 709 (mail_cache_add): assertion failed:
(fixed_size == (unsigned int)-1 || fixed_size == data_size)
Oct 15 10:55:28 bajor dovecot:
2004 Nov 14
0
Sanity re-checked
Hi all,
Windows 2000
VC++ 6
Well, it turns out I''m not insane. The rb_class_new_instance() chokes with
RC9. However, when I rolled back to RC7, it worked fine.
So, either something is broken in RC9 or this is some sort of VC6 vs VC7
issue.
Can anyone else confirm?
Regards,
Dan
2007 Mar 13
1
imap connection problems
Hi,
Have encountered some strange behavior of dovecot: after few days of
work (5-7 days, ~50 users, imap over ssl or tls) dovecot stops respond
with "* OK Dovecot ready.". I.e. connection gets accepted, but no
response from dovecot:
[ivan at dyn-226 bin]$ telnet imap 143
Trying 192.168.100.9...
Connected to imap.n-ix.com.ua (192.168.100.9).
Escape character is '^]'.
while
2006 Oct 15
0
Dovecot rc9 error (More information)
Hi
This happens when email is copied/moved from the inbox to another folder
on the same imap account. The mail client goes into a loop with the
below errors logged. This is on a 64bit Linux machine using the Maildir
storage format. After doing a 'rm dovecot*' from the Maildir folder of
the account having the problem the client can log in again but if the
client tries to copy again it