• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/core


Commit MetaInfo

Revisãoca11f4699ce3799cde02b456895ef31017978025 (tree)
Hora2019-06-18 07:56:11
AutorDongcheol Shin <dc.shin@lge....>
Commiterandroid-build-merger

Mensagem de Log

Merge "Support importing property file with expanded name" into qt-dev
am: fa94b8f96b

Change-Id: Iff4adad019e0f919536d1cce0ed55d536ea65e4e

Mudança Sumário

Diff

--- a/init/property_service.cpp
+++ b/init/property_service.cpp
@@ -642,8 +642,14 @@ static void LoadProperties(char* data, const char* filter, const char* filename,
642642 while (isspace(*key)) key++;
643643 }
644644
645- load_properties_from_file(fn, key, properties);
645+ std::string raw_filename(fn);
646+ std::string expanded_filename;
647+ if (!expand_props(raw_filename, &expanded_filename)) {
648+ LOG(ERROR) << "Could not expand filename '" << raw_filename << "'";
649+ continue;
650+ }
646651
652+ load_properties_from_file(expanded_filename.c_str(), key, properties);
647653 } else {
648654 value = strchr(key, '=');
649655 if (!value) continue;