General

Profile

docwhat (Christian Höltje)

  • Login: docwhat
  • Email: docwhat@gmail.com
  • Registered on: 06/24/2009
  • Last sign in: 01/17/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 9 9

Activity

01/17/2018

06:12 PM Ruby Bug #14369: Win32::Resolv.get_hosts_path may return nil, causing Resolv to fail
Added [GitHub PR #1791](https://github.com/ruby/ruby/pull/1791) docwhat (Christian Höltje)
05:56 PM Ruby Bug #14369 (Closed): Win32::Resolv.get_hosts_path may return nil, causing Resolv to fail
[Win32::Resolv.get_hosts_path()](https://github.com/ruby/ruby/blob/e0468f5ce87ef77c1ad08bc0d107a967e4906783/ext/win32/lib/win32/resolv.rb#L14) may return `nil`.
The `Resolv` class uses that [to get the hosts filename](https://github.c...
docwhat (Christian Höltje)

10/05/2015

08:12 PM Ruby Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
I found an alternative code version here: http://stackoverflow.com/questions/4514027/createprocessw-acess-violation-in-rtlinitunicodestring
~~~
//I'm copying the string here because CreateProcessW mutates its arguments
wchar_t *tmpC...
docwhat (Christian Höltje)
01:30 PM Ruby Bug #11515: CreateProcessW() can cause "Invalid access to memory location"
Nobuyoshi Nakada wrote:
> `CreateChild` is never called with a constant `cmd`, as it is build at the runtime.
Am I reading the code wrong then? The function declaration says `prog` is a `const WCHAR *`.
~~~
CreateChild(const WCH...
docwhat (Christian Höltje)

09/08/2015

04:09 PM Ruby Bug #11515 (Rejected): CreateProcessW() can cause "Invalid access to memory location"
The second argument for `CreateProcessW()` needs to *not* be a constant because it may be modified:
From https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx :
> The Unicode version of this function, Crea...
docwhat (Christian Höltje)

02/25/2014

11:38 PM Ruby Feature #9439: Remove OpenSSL from stdlib
I like Aaron Patterson (TenderLove's) suggestion in #25: Split it into a gem and include the gem in ruby-core by default (like JSON).
It would solve the chicken-and-the-egg problem, keep rubygems happy, and allow upgrading.
At som...
docwhat (Christian Höltje)

10/07/2010

11:46 PM Ruby Feature #3916 (Closed): Add flag to ruby to make warnings fatal.
=begin
I have a feature request: Please add a flag to the ruby command line to make warnings fatal.

It would be really handy when debugging and testing to make warnings fatal.

It's not always obvious what bit of code is causi...
docwhat (Christian Höltje)

05/28/2010

01:42 AM Ruby Feature #3356 (Feedback): Add GetShortPathName to ruby
=begin
Hi!

I use Ruby on windows and it would be really useful to have access to GetShortPathName in ruby.

I have a monkey-patch to add Pathname.shortpath (attached) to demonstrate it. Probably realpath, etc. should take thi...
docwhat (Christian Höltje)

03/25/2010

03:49 AM Ruby Bug #3008: Can't compile ruby without ruby
=begin
Okay. It seems the problem was that my sources didn't have their proper timestamps. I worked around this by adding this step *prior* to running configure && make && make install

This "fixes" the timestamps for the files th...
docwhat (Christian Höltje)
03:05 AM Ruby Bug #3008: Can't compile ruby without ruby
=begin
I'm not using "trunk".

I'm using ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.bz2
^

I jus...
docwhat (Christian Höltje)

Also available in: Atom