summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-22 02:07:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-22 02:07:42 +0000
commit3f25c4f65e37c30482c326148202510a7858df74 (patch)
treec1511aceb89542fb662f7e76d4b61e9aac655171 /process.c
parent25408d0ee356004c1614bf2acfd792e2ca734d71 (diff)
* process.c (rb_f_fork): fix for indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/process.c b/process.c
index ba02685ca2..5dea97f4a6 100644
--- a/process.c
+++ b/process.c
@@ -1333,12 +1333,12 @@ rb_f_fork(obj)
#ifdef __NetBSD__
before_exec();
+#endif
pid = fork();
+#ifdef __NetBSD__
after_exec();
- switch (pid) {
-#else
- switch (pid = fork()) {
#endif
+ switch (pid) {
case 0:
#ifdef linux
after_exec();