Project

General

Profile

Misc #11789

[PATCH] Refactor File::Stat#world_readable? and #world_writable?

Added by ksss (Yuki Kurihara) over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:71949]

Description

I fix to call get_stat() only once.


Files

get_stat_once.patch (863 Bytes) get_stat_once.patch ksss (Yuki Kurihara), 12/08/2015 03:00 PM

Associated revisions

Revision 46df9c42
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 52970
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

Revision 52970
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

Revision 52970
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

Revision 52970
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

Revision 52970
Added by nobu (Nobuyoshi Nakada) over 3 years ago

file.c: call get_stat only once

  • file.c (rb_stat_wr, rb_stat_ww): call get_stat only once and reduce checking struct. patch by Yuki Kurihara in [ruby-core:71949]. [Misc #11789]

History

Updated by ksss (Yuki Kurihara) over 3 years ago

This patch was aleady applied.
Close?

Updated by usa (Usaku NAKAMURA) over 3 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF