Displaying 20 results from an estimated 200 matches similar to: "File.nopen alpha"
2004 Nov 11
0
File.nopen alpha - another followup
Hi all,
> fh = File.nopen("C:\\temp.txt",File::WRITE_ATTRIBUTES)
> fh.hidden = true
> fh.close
>
> I get "test.rb:16:in `hidden='': cannot convert nil into
> String (TypeError)"
It looks like this line is the culprit:
rbPath = rb_funcall(self,rb_intern("path"),0,0);
Hm...we could use GetFullPathName() if rbPath is nil. That, however,
2004 Nov 16
2
win32-file: nread and nwrite
Hi all,
I''ve got alpha versions of nread and nwrite now added to the win32-file
class in CVS. They seem to work fine, although I''ve noticed one bug in
the File#read method. Let''s say we have a text file with "hello world"
in it. If I call nread with no arguments, it works fine:
fh = File.nopen("C:\\test.txt")
p fh.nread -> "hello
2005 Feb 14
8
DONT_RESOLVE_DLL_REFERENCES info
For future reference, it looks like we should avoid
DONT_RESOLVE_DLL_REFERENCES in any extensions.
http://weblogs.asp.net/oldnewthing/archive/2005/02/14/372266.aspx
Regards,
Dan
2012 Jul 18
2
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
Hi all,
Thanks for response. Will this be fixed sometime soon?
Is there anything I can do to make it work in my copy of the latest llvm source?
Best,
Nobu
2012/7/17 jj <h59213 at rtrtr.com>:
> 片山 伸彦 <nobu.katayama <at> ipmu.jp> writes:
>
>>
>> Dear llvm developers,
>>
>> I am trying to run clang assembler to use avx instructions on Mac.
>>
2012 Jul 15
3
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
Dear llvm developers,
I am trying to run clang assembler to use avx instructions on Mac.
I use gcc 4.7.1 to generate .s files from .c files. I can assemble foo.s by
clang -c -x assembler foo.s
to get foo.o but
clang -c -x assembler foo_long.s
fails with
$clang -x assembler foo_long.s
foo_long.s:27:2: error: invalid instruction mnemonic 'vcvttsd2siq'
vcvttsd2siq %xmm0,
2012 Jul 19
0
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
Hi Nobu,
> Thanks for response. Will this be fixed sometime soon?
did you open a bug report?
> Is there anything I can do to make it work in my copy of the latest llvm source?
Are you sure that
vcvttsd2siq %xmm0, %rax
is correct and this isn't a gcc bug?
Ciao, Duncan.
>
> Best,
> Nobu
>
> 2012/7/17 jj <h59213 at rtrtr.com>:
>> 片山 伸彦
2012 Jul 16
0
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
片山 伸彦 <nobu.katayama <at> ipmu.jp> writes:
>
> Dear llvm developers,
>
> I am trying to run clang assembler to use avx instructions on Mac.
>
> I use gcc 4.7.1 to generate .s files from .c files. I can assemble foo.s by
>
> clang -c -x assembler foo.s
>
> to get foo.o but
>
> clang -c -x assembler foo_long.s
>
> fails with
>
>
2011 Sep 14
1
Unexpected "Access Denied"
Background:
This situation is using Rational ClearCase in a situation with server on
Solaris 10
and clients on a mixture of Windows XP and Windows 7, with access to the
VOB (repository) enabled via Samba version: 3.4.9
Users are getting a consistent error with a specific ClearCase operation
(Add to Source Control), which we have traced to a Samba interaction.
The issue:
For the interaction
2006 Jun 18
7
[Fwd: Ruby Win32-Service]
Thoughts?
Dan
-------------- next part --------------
An embedded message was scrubbed...
From: "Patrick Hurley" <phurley at gmail.com>
Subject: Ruby Win32-Service
Date: Sun, 18 Jun 2006 12:46:01 -0400
Size: 2863
Url: http://rubyforge.org/pipermail/win32utils-devel/attachments/20060618/cc346796/attachment.eml
2012 Feb 07
5
Table rearranging
I have a table that looks like this:
measurement?? ?date??? door ?? color
0.93529385?? ?513?? ?open?? ?red
0.97419293?? ?420??? open ?? red
0.962053514?? ?513?? ?closed?? ?red
0.963909937?? ?1230?? ?open?? ?blue
0.97652034?? ?1230?? ?open?? ?green
0.989310795?? ?1230?? ?closed?? ?blue
0.9941022?? ?917?? ?closed?? ?yellow
I would like to create a table that has: Open measurement, Closed
2010 Sep 10
1
Can I save my console contents automatically?
Dear All,
I'm using R for Mac OS X Cocoa GUI R version 2.11.1.
I can save contents of my console window by using "command + s", but I
would like to do same thing using R commands.
My question is can I save the contents automatically by using R editor
with some R commands.
Thank you.
Nobu
2004 Nov 13
0
Sanity check for win32-file
Hi all,
The code that I checked in yesterday that seemed to work just fine now
fails. When I run this:
require "win32/file"
fh = File.nopen("C:\\test.txt")
fh.close
I now get:
test.rb:12:in `initialize'': Invalid argument (Errno::EINVAL)
from test.rb:12:in `nopen''
Specifically, it''s failing on this in file.c:
args[0] =
2004 Nov 16
0
Re: Win32, file descriptors and rb_io_check_writable()
Hi,
>
>Thank you very much Park. There is one curious difference I noticed
>with the write operations. It seems that there is a line ending issue
>between a file descriptor opened with File.open vs File.nopen. You
>can see this easily enough by doing something like this:
>
>fh1 = File.open("test1.txt","w+")
>fh1.print "hello\nworld\n"
2009 Jul 26
0
server response does not appear to correspond to request
Here is a second, somewhat related question to my last one. When
looking over the network trace I have ran into something I cannot
explain. It may be quite proper, in which case I am misreading the
trace. But I would appreciate it if someone would explain this to me.
In packet 109 of the trace (during a login with no profile on the
server), I see a "NT Create AndX request"
2006 Sep 23
8
svn problems
I can consistently segfault the 0.10.4 gem, so I''m trying to get the
subversion version working with hopes towards tracking the problem down.
I have a fresh SVN checkout but:
a) the version (in ferret.rb) claims to be 0.9.6; and
b) Ferret::Index::FieldInfos and a couple other classes are missing at
run time. It looks like this is because they''re not exported in the C
2008 Dec 15
5
Apple patches 1-5
Here are the first few simple patches from Apple, based on
dovecot-1.1.7. The comments with "APPLE" in them helped us merge in
your new releases; feel free to remove them. Please let me know if
you want subsequent patches in a different format, or if you have any
questions.
Patch #1. Some versions of Mac OS X have buggy CMSG_* macros.
-------------- next part --------------
A
2004 May 20
0
Latest win32-file commit
All,
I''ve committed an alpha version of a win32-file that supports a native
open, close and write. I''ve got a couple issues that I was hoping you
could help with.
First, should we overload these methods? In other words, for the open
method, if it''s 1 argument use the default Ruby method, but if it''s 5
arguments (the number of arguments that CreateFile()
2015 Jul 09
2
Constant error messages about failure to remove oplock
Hi All,
Need your help/inputs on what could be the probable cause/how to debug
this further.
We are using samba-4.0.25 & expose a share that has oplocks enabled & no
kernel-oplocks set. We constantly see these messages in samba logs
[2015/06/25 03:05:30.593150, 0, pid=1581, class=locking]
../source3/smbd/oplock_linux.c:184(linux_release_kernel_oplock)
linux_release_kernel_oplock:
2004 Sep 03
1
rsync 2.6.2 with Posix socket on HP-UX
Hi,
I tried to compile rsync 2.6.2 as a 64-bit application
on HP-UX 11.23.
$ CC=cc CFLAGS="-Ae +DD64" configure
$ make
$ make check
'make check' fails with daemon mode tests with the
following error message.
rsync: socketpair_tcp failed (Address family not supported by protocol family).
There seems to be a problem with the mixture of BSD
and Posix socket specification.
2006 Jun 09
0
Ruby-GetText-Package-1.6.0
Hi,
Ruby-GetText-Package-1.6.0 is now available.
Chinese(zh_CN), Italian(it) are supported.
Screenshots in 13 language (Sample Rails blog) are:
http://www.yotabanana.com/hiki/?ruby-gettext-screenshot
Since this release, you can localize your rails plugin
easily with gettext.
I wrote a small example. If you''re interested in it,
check the file in the released tar-ball.
# See