Permalink
Browse files

Implement gethostname()

Squashed commit of #221

Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information...
1 parent 0e8a78f commit ec29c0f9c26e1f26aa222abf0a0fdc42978af67a @retupmoca retupmoca committed with moritz Oct 26, 2013
Showing with 6 additions and 1 deletion.
  1. +3 −0 src/core/OS.pm
  2. +1 −0 tools/build/Makefile-JVM.in
  3. +1 −0 tools/build/Makefile-Parrot.in
  4. +1 −1 tools/build/NQP_REVISION
View
@@ -0,0 +1,3 @@
+sub gethostname( --> Str){
+ return nqp::p6box_s(nqp::gethostname());
+}
@@ -197,6 +197,7 @@ J_CORE_SOURCES = \
src/vm/jvm/core/Threading.pm \
src/core/IO/Socket.pm \
src/core/IO/Socket/INET.pm \
+ src/core/OS.pm \
src/core/core_epilogue.pm \
J_CLEANUPS = \
@@ -238,6 +238,7 @@ P_CORE_SOURCES = \
src/core/precedence.pm \
src/core/terms.pm \
src/core/Deprecations.pm \
+ src/core/OS.pm \
src/core/core_epilogue.pm \
DOCS = README CREDITS LICENSE docs/*
View
@@ -1 +1 @@
-2013.10-129-g3ea0dd4
+2013.10-134-g9fcd736

0 comments on commit ec29c0f

Please sign in to comment.