Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
v8
v8_deprecated_readdir_r.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File v8_deprecated_readdir_r.patch of Package v8
From 38c57c5ddb34581370279f13ecf131247b4357d0 Mon Sep 17 00:00:00 2001 From: rmcilroy <rmcilroy@chromium.org> Date: Fri, 30 Sep 2016 04:05:17 -0700 Subject: [PATCH] [Test] Don't call deprecated readdir_r in generate-bytecode-expectations. Review-Url: https://codereview.chromium.org/2385653002 Cr-Commit-Position: refs/heads/master@{#39911} --- test/cctest/interpreter/generate-bytecode-expectations.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) Index: v8-5.3.332.47/test/cctest/interpreter/generate-bytecode-expectations.cc =================================================================== --- v8-5.3.332.47.orig/test/cctest/interpreter/generate-bytecode-expectations.cc +++ v8-5.3.332.47/test/cctest/interpreter/generate-bytecode-expectations.cc @@ -174,15 +174,14 @@ bool CollectGoldenFiles(std::vector<std: DIR* directory = opendir(directory_path); if (!directory) return false; - dirent entry_buffer; - dirent* entry; - - while (readdir_r(directory, &entry_buffer, &entry) == 0 && entry) { + dirent* entry = readdir(directory); + while (entry) { if (StrEndsWith(entry->d_name, ".golden")) { std::string golden_filename(kGoldenFilesPath); golden_filename += entry->d_name; golden_file_list->push_back(golden_filename); } + entry = readdir(directory); } closedir(directory);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor