Skip to content

Instantly share code, notes, and snippets.

@mrkn
Created February 28, 2014 05:30
Show Gist options
  • Save mrkn/9265862 to your computer and use it in GitHub Desktop.
Save mrkn/9265862 to your computer and use it in GitHub Desktop.
--- hash.c.orig 2014-02-28 14:05:25.000000000 +0900
+++ hash.c 2014-02-28 14:06:08.000000000 +0900
@@ -1178,7 +1178,7 @@
#endif
}
}
-#if HASH_REJECT_COPY_MISC_ATTRIBUTES
+#if HASH_REJECT_COPY_EXTRA_STATES
result = rb_hash_dup_empty(hash);
#else
result = rb_hash_new();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment