Module: wine
Branch: master
Commit: 1984e86b44343c8f1cdb163b8481ab84ca9cd16a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1984e86b44343c8f1cdb163b8…
Author: Ken Thomases <ken(a)codeweavers.com>
Date: Thu Jun 1 14:48:06 2017 -0500
server: On macOS, don't use clock_gettime() even if it's available.
The problem is building against the 10.12 or later SDK but deploying to 10.11
or earlier. Support for clock_gettime() is new with 10.12 so configure finds
it and the code uses it, but the symbol is weak linked and resolves to NULL
when running on earlier versions.
Signed-off-by: Ken Thomases <ken(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
server/request.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/server/request.c b/server/request.c
index 781889c..6120bc5 100644
--- a/server/request.c
+++ b/server/request.c
@@ -518,7 +518,12 @@ int send_client_fd( struct process *process, int fd, obj_handle_t handle )
/* get current tick count to return to client */
unsigned int get_tick_count(void)
{
-#ifdef HAVE_CLOCK_GETTIME
+#ifdef __APPLE__
+ static mach_timebase_info_data_t timebase;
+
+ if (!timebase.denom) mach_timebase_info( &timebase );
+ return mach_absolute_time() * timebase.numer / timebase.denom / 1000000;
+#elif defined(HAVE_CLOCK_GETTIME)
struct timespec ts;
#ifdef CLOCK_MONOTONIC_RAW
if (!clock_gettime( CLOCK_MONOTONIC_RAW, &ts ))
@@ -526,11 +531,6 @@ unsigned int get_tick_count(void)
#endif
if (!clock_gettime( CLOCK_MONOTONIC, &ts ))
return ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
-#elif defined(__APPLE__)
- static mach_timebase_info_data_t timebase;
-
- if (!timebase.denom) mach_timebase_info( &timebase );
- return mach_absolute_time() * timebase.numer / timebase.denom / 1000000;
#endif
return (current_time - server_start_time) / 10000;
}
Module: wine
Branch: master
Commit: ebeefff87f48ceb4c6467376d9b32c971de158ac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebeefff87f48ceb4c6467376d…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Fri Jun 2 09:07:59 2017 +0300
po: Update Russian translation.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
po/ru.po | 40 +++++++++++-----------------------------
1 file changed, 11 insertions(+), 29 deletions(-)
diff --git a/po/ru.po b/po/ru.po
index ed60d7a..03a2543 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -5,7 +5,7 @@ msgstr ""
"Project-Id-Version: Wine\n"
"Report-Msgid-Bugs-To: http://bugs.winehq.org\n"
"POT-Creation-Date: N/A\n"
-"PO-Revision-Date: 2017-05-25 02:24+0300\n"
+"PO-Revision-Date: 2017-06-02 09:06+0300\n"
"Last-Translator: Nikolay Sivov <nsivov(a)codeweavers.com>\n"
"Language-Team: Russian\n"
"Language: ru\n"
@@ -11868,10 +11868,6 @@ msgid "Contains commands for accessing frequently used keys"
msgstr "Содержит команды для доступа к часто используемым разделам"
#: regedit.rc:165
-#, fuzzy
-#| msgid ""
-#| "Contains commands for displaying help and information about registry "
-#| "editor"
msgid ""
"Contains commands for displaying Help and information about Registry Editor"
msgstr ""
@@ -12113,8 +12109,6 @@ msgid "regedit: The line contains invalid syntax.\n"
msgstr "regedit: некорректный формат строки.\n"
#: regedit.rc:189
-#, fuzzy
-#| msgid "Quits the registry editor"
msgid "Quits the Registry Editor"
msgstr "Выход из редактора реестра"
@@ -12131,10 +12125,8 @@ msgid "Shows or hides the status bar"
msgstr "Показывает/скрывает строку состояния"
#: regedit.rc:193
-#, fuzzy
-#| msgid "Change position of split between two panes"
msgid "Changes the position of the split between two panes"
-msgstr "Перемещает разделитель между двумя панелями"
+msgstr "Перемещение разделителя панелей"
#: regedit.rc:194
msgid "Refreshes the window"
@@ -12166,21 +12158,19 @@ msgstr "Изменяет значение параметра"
#: regedit.rc:173
msgid "Adds a new key"
-msgstr "Добавляет новый раздел"
+msgstr "Добавление нового раздела"
#: regedit.rc:174
msgid "Adds a new string value"
-msgstr "Добавляет новый строковый параметр"
+msgstr "Добавление строкового параметра"
#: regedit.rc:175
msgid "Adds a new binary value"
-msgstr "Добавляет новый двоичный параметр"
+msgstr "Добавление двоичного параметра"
#: regedit.rc:176
-#, fuzzy
-#| msgid "Adds a new binary value"
msgid "Adds a new 32-bit value"
-msgstr "Добавляет новый двоичный параметр"
+msgstr "Добавление 32-битного параметра"
#: regedit.rc:179
msgid "Imports a text file into the registry"
@@ -12195,10 +12185,8 @@ msgid "Prints all or part of the registry"
msgstr "Печатает весь реестр или его часть"
#: regedit.rc:183
-#, fuzzy
-#| msgid "Registry Editor"
msgid "Opens Registry Editor Help"
-msgstr "Редактор реестра"
+msgstr "Отображение справки по редактору реестра"
#: regedit.rc:184
msgid "Displays program information, version number and copyright"
@@ -12241,26 +12229,20 @@ msgid "Unable to query the registry key '%1'."
msgstr "Не удалось прочитать ключ реестра «%1»."
#: regedit.rc:172
-#, fuzzy
-#| msgid "Modifies the value's data"
msgid "Modifies the value's data in binary form"
-msgstr "Изменяет значение параметра"
+msgstr "Изменение значения параметра в двоичном виде"
#: regedit.rc:177
msgid "Adds a new multi-string value"
-msgstr "Добавляет новое многостроковое значение"
+msgstr "Добавление многострочного параметра"
#: regedit.rc:200
-#, fuzzy
-#| msgid "Exports selected branch of the registry to a text file"
msgid "Exports the selected branch of the registry to a text file"
-msgstr "Экспортирует выделенную ветку реестра в текстовый файл"
+msgstr "Экспортирует выбранную ветку реестра в текстовый файл"
#: regedit.rc:178
-#, fuzzy
-#| msgid "Adds a new string value"
msgid "Adds a new expandable string value"
-msgstr "Добавляет новый строковый параметр"
+msgstr "Добавление расширяемого строкового параметра"
#: regedit.rc:213
msgid "Confirm Key Delete"