From: "Berger, Daniel" Date: 2003-09-05T06:19:12+09:00 Subject: [ANN] sys-win32etc 0.0.4 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3732A.2AE0B118 Content-Type: text/plain Hi all, I'm happy to announce the release of sys-win32etc 0.0.4. This module provides Etc module functionality for Win32. What's significant about this release? The last of the memory leaks have been cleaned up! In addition, server names (if provided) are now automatically prepended with a '\\'. So now you only need provide "\\some_server <\\some_server> " instead of "\\\\some_server <\\\\some_server> ". However, there is still one issue to work out. See the "Help Wanted" section below. Synopsis ======= require "win32etc" p Win32Etc.login p Win32Etc.getpwnam("Guest") p Win32Etc.getpwuid(500) p Win32Etc.getgrnam("Guests") p Win32Etc.getgrgid(512) Win32Etc.group{ |g| p g } Win32Etc.passwd{ |pw| p pw } HELP WANTED ============ Testing is much appreciated, especially for the optional server name. Contrary to what I said in the docs, there is still one remaining issue. For reasons I cannot determine, the current code results in a segfault when run in conjunction with TestUnit (at least, it does on my WinXP Pro box). However, the vanilla test script (test.rb) works fine. Help on this peculiarity is definitely wanted. Meanwhile, enjoy! Regards, Dan ------_=_NextPart_001_01C3732A.2AE0B118 Content-Type: text/html Content-Transfer-Encoding: quoted-printable [ANN] sys-win32etc 0.0.4

Hi all,

I'm happy to announce the release of = sys-win32etc 0.0.4.  This module provides Etc module functionality = for Win32.

What's significant about this = release?  The last of the memory leaks have been cleaned up!  = In addition, server names (if provided) are now automatically prepended = with a '\\'.  So now you only need provide "\\some_server" instead of "\\\\some_server".

However, there is still one issue to = work out.  See the "Help Wanted" section below.

Synopsis
=3D=3D=3D=3D=3D=3D=3D
require "win32etc"

p Win32Etc.login
p = Win32Etc.getpwnam("Guest")
p Win32Etc.getpwuid(500)
p = Win32Etc.getgrnam("Guests")
p Win32Etc.getgrgid(512)

Win32Etc.group{ |g|
   p g
}

Win32Etc.passwd{ |pw|
   p pw
}

HELP WANTED
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Testing is much appreciated, = especially for the optional server name.

Contrary to what I said in the docs, = there is still one remaining issue.  For reasons I cannot = determine, the current code results in a segfault when run in = conjunction with TestUnit (at least, it does on my WinXP Pro = box).  However, the vanilla test script (test.rb) works = fine.  Help on this peculiarity is definitely wanted.

Meanwhile, enjoy!

Regards,

Dan

------_=_NextPart_001_01C3732A.2AE0B118--