We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6312c40 commit 34af499Copy full SHA for 34af499
time.c
@@ -4061,7 +4061,9 @@ time_init_copy(VALUE copy, VALUE time)
4061
if (!OBJ_INIT_COPY(copy, time)) return copy;
4062
GetTimeval(time, tobj);
4063
GetNewTimeval(copy, tcopy);
4064
- MEMCPY(tcopy, tobj, struct time_object, 1);
+
4065
+ time_set_timew(copy, tcopy, tobj->timew);
4066
+ time_set_vtm(copy, tcopy, tobj->vtm);
4067
4068
return copy;
4069
}
0 commit comments