Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
208ca071
Commit
208ca071
authored
Feb 19, 2015
by
Jonathan Vollebregt
Committed by
Alexandre Julliard
Feb 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reg: Add sane_path function to do preliminary key validation.
parent
b7664e60
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
117 additions
and
58 deletions
+117
-58
ar.po
po/ar.po
+3
-1
bg.po
po/bg.po
+1
-1
ca.po
po/ca.po
+3
-1
cs.po
po/cs.po
+3
-1
da.po
po/da.po
+3
-1
de.po
po/de.po
+3
-1
el.po
po/el.po
+1
-1
en.po
po/en.po
+2
-2
en_US.po
po/en_US.po
+2
-2
eo.po
po/eo.po
+1
-1
es.po
po/es.po
+3
-1
fa.po
po/fa.po
+1
-1
fi.po
po/fi.po
+3
-1
fr.po
po/fr.po
+3
-1
he.po
po/he.po
+3
-1
hi.po
po/hi.po
+1
-1
hr.po
po/hr.po
+1
-1
hu.po
po/hu.po
+3
-1
it.po
po/it.po
+3
-1
ja.po
po/ja.po
+3
-1
ko.po
po/ko.po
+3
-1
lt.po
po/lt.po
+3
-1
ml.po
po/ml.po
+1
-1
nb_NO.po
po/nb_NO.po
+3
-1
nl.po
po/nl.po
+3
-1
or.po
po/or.po
+1
-1
pa.po
po/pa.po
+1
-1
pl.po
po/pl.po
+3
-1
pt_BR.po
po/pt_BR.po
+3
-1
pt_PT.po
po/pt_PT.po
+3
-1
rm.po
po/rm.po
+1
-1
ro.po
po/ro.po
+3
-1
ru.po
po/ru.po
+3
-1
sk.po
po/sk.po
+4
-2
sl.po
po/sl.po
+3
-1
sr_RS@cyrillic.po
po/sr_RS@cyrillic.po
+1
-1
sr_RS@latin.po
po/sr_RS@latin.po
+1
-1
sv.po
po/sv.po
+3
-1
te.po
po/te.po
+1
-1
th.po
po/th.po
+1
-1
tr.po
po/tr.po
+1
-1
uk.po
po/uk.po
+3
-1
wa.po
po/wa.po
+1
-1
wine.pot
po/wine.pot
+1
-1
zh_CN.po
po/zh_CN.po
+3
-1
zh_TW.po
po/zh_TW.po
+3
-1
reg.c
programs/reg/reg.c
+13
-8
reg.rc
programs/reg/reg.rc
+1
-1
No files found.
po/ar.po
View file @
208ca071
...
...
@@ -11522,7 +11522,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "خطأ : معاملات سطر الاوامر غير سليمة\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "خطأ : تعذر إضافة المفاتيح للجهاز البعيد\n"
#: reg.rc:38
...
...
po/bg.po
View file @
208ca071
...
...
@@ -11347,7 +11347,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/ca.po
View file @
208ca071
...
...
@@ -11747,7 +11747,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Error: Paràmetres de línia d'ordres no vàlids\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Error: No es pot afegir els claus a un equip remot\n"
#: reg.rc:38
...
...
po/cs.po
View file @
208ca071
...
...
@@ -11398,7 +11398,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Chyba: Neplatné parametry příkazové řádky\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Chyba: Nepodařilo se přidat klíče na vzdálený stroj\n"
#: reg.rc:38
...
...
po/da.po
View file @
208ca071
...
...
@@ -11655,7 +11655,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Fejl: Ugyldige kommando linje parametre\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Fejl: Kunne ikke tilføje nøgler til fjern maskinen\n"
#: reg.rc:38
...
...
po/de.po
View file @
208ca071
...
...
@@ -11577,7 +11577,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Fehler: Ungültige Befehlszeilenargumente\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Fehler: Konnte Schlüssel nicht zum Remoterechner hinzufügen\n"
#: reg.rc:38
...
...
po/el.po
View file @
208ca071
...
...
@@ -11141,7 +11141,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/en.po
View file @
208ca071
...
...
@@ -11500,8 +11500,8 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Error: Invalid command line parameters\n"
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgstr "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr "Error: Unable to a
ccess
remote machine\n"
#: reg.rc:38
msgid ""
...
...
po/en_US.po
View file @
208ca071
...
...
@@ -11500,8 +11500,8 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Error: Invalid command line parameters\n"
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgstr "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr "Error: Unable to a
ccess
remote machine\n"
#: reg.rc:38
msgid ""
...
...
po/eo.po
View file @
208ca071
...
...
@@ -11033,7 +11033,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/es.po
View file @
208ca071
...
...
@@ -11735,7 +11735,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Error: parámetros de línea de comandos inválidos\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Error: No se puede agregar claves al equipo remoto\n"
#: reg.rc:38
...
...
po/fa.po
View file @
208ca071
...
...
@@ -11140,7 +11140,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/fi.po
View file @
208ca071
...
...
@@ -11486,7 +11486,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Virhe: Viallisia komentoriviparametreja\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Virhe: Etäkoneelle ei voitu lisätä avaimia\n"
#: reg.rc:38
...
...
po/fr.po
View file @
208ca071
...
...
@@ -11642,7 +11642,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Erreur : paramètre de ligne de commande invalide\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Erreur : impossible d'ajouter des clés à une machine distante\n"
#: reg.rc:38
...
...
po/he.po
View file @
208ca071
...
...
@@ -11716,7 +11716,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Error: Invalid command line parameters\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Error: Unable to add keys to remote machine\n"
#: reg.rc:38
...
...
po/hi.po
View file @
208ca071
...
...
@@ -10953,7 +10953,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/hr.po
View file @
208ca071
...
...
@@ -11218,7 +11218,7 @@ msgstr ""
"Greška: uneseni su nepoznati ili neispravni parametri naredbene linije\n"
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/hu.po
View file @
208ca071
...
...
@@ -11659,7 +11659,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Hiba: Érvénytelen parancssor paraméterek\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Hiba: nem lehet kulcsokat hozzáadni a távoli gépnél\n"
#: reg.rc:38
...
...
po/it.po
View file @
208ca071
...
...
@@ -11736,7 +11736,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Errore: parametri della linea di comando non validi\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Errore: impossibile aggiungere chiavi alla macchina remota\n"
#: reg.rc:38
...
...
po/ja.po
View file @
208ca071
...
...
@@ -11492,7 +11492,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "エラー: コマンド ライン引数が無効です\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "エラー: リモート マシンにキーを追加できませんでした\n"
#: reg.rc:38
...
...
po/ko.po
View file @
208ca071
...
...
@@ -11546,7 +11546,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "오류:올바르지 않은 명령라인 매개변수\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "오류: 원격 머신에 키를 더하는 것은 가능하지 않습니다\n"
#: reg.rc:38
...
...
po/lt.po
View file @
208ca071
...
...
@@ -11507,7 +11507,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Klaida: Netinkami komandos eilutės parametrai\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Klaida: Negalima pridėti raktų nuotoliniame kompiuteryje\n"
#: reg.rc:38
...
...
po/ml.po
View file @
208ca071
...
...
@@ -10953,7 +10953,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/nb_NO.po
View file @
208ca071
...
...
@@ -11561,7 +11561,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Feil: Ugyldige parametere på kommandolinjen\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Feil: Kan ikke legge til nøkler på ekstern maskin\n"
#: reg.rc:38
...
...
po/nl.po
View file @
208ca071
...
...
@@ -11702,7 +11702,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Fout: Foutieve commandoregel-parameters\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Fout: Sleutels konden niet toegevoegd worden aan de remote machine\n"
#: reg.rc:38
...
...
po/or.po
View file @
208ca071
...
...
@@ -10953,7 +10953,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/pa.po
View file @
208ca071
...
...
@@ -10953,7 +10953,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/pl.po
View file @
208ca071
...
...
@@ -11555,7 +11555,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Błąd: Niewłaściwe parametry wiersza poleceń\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Błąd: Nie można dodać kluczy do zdalnej maszyny\n"
#: reg.rc:38
...
...
po/pt_BR.po
View file @
208ca071
...
...
@@ -11560,7 +11560,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Erro: Parâmetros da linha de comandos inválidos\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Erro: Incapaz de adicionar chaves à máquina remota\n"
#: reg.rc:38
...
...
po/pt_PT.po
View file @
208ca071
...
...
@@ -11529,7 +11529,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Erro: Parâmetros da linha de comandos inválidos\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Erro: Incapaz de adicionar chaves à máquina remota\n"
#: reg.rc:38
...
...
po/rm.po
View file @
208ca071
...
...
@@ -11031,7 +11031,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/ro.po
View file @
208ca071
...
...
@@ -11743,7 +11743,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Eroare: Parametri nevalizi pentru linia de comandă\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Eroare: Nu se pot adăuga chei pe calculatorul de la distanță\n"
#: reg.rc:38
...
...
po/ru.po
View file @
208ca071
...
...
@@ -11512,7 +11512,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Ошибка: неправильные параметры командной строки\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Ошибка: нельзя добавлять разделы на удалённом компьютере\n"
#: reg.rc:38
...
...
po/sk.po
View file @
208ca071
...
...
@@ -11181,8 +11181,10 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
msgstr ""
#, fuzzy
#| msgid "Error: Unable to terminate process \"%1\".\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Chyba: Nemožno ukončiť proces \"%1\".\n"
#: reg.rc:38
msgid ""
...
...
po/sl.po
View file @
208ca071
...
...
@@ -11686,7 +11686,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Napaka: neveljaven parameter v ukazni vrstici\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Napaka: ni mogoče dodati ključa na oddaljen računalnik\n"
#: reg.rc:38
...
...
po/sr_RS@cyrillic.po
View file @
208ca071
...
...
@@ -11584,7 +11584,7 @@ msgstr ""
"Грешка: унесени су непознати или неисправни параметри наредбене линије\n"
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/sr_RS@latin.po
View file @
208ca071
...
...
@@ -11722,7 +11722,7 @@ msgstr ""
"Greška: uneseni su nepoznati ili neispravni parametri naredbene linije\n"
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/sv.po
View file @
208ca071
...
...
@@ -11452,7 +11452,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Fel: Ogiltiga kommandoradsparametrar\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Fel: Kan inte lägga till nycklar till fjärrmaskin\n"
#: reg.rc:38
...
...
po/te.po
View file @
208ca071
...
...
@@ -10953,7 +10953,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/th.po
View file @
208ca071
...
...
@@ -11178,7 +11178,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/tr.po
View file @
208ca071
...
...
@@ -11514,7 +11514,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/uk.po
View file @
208ca071
...
...
@@ -11594,7 +11594,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "Помилка: неправильні параметри командного рядка\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "Помилка: неможливо додати ключі на віддаленій машині\n"
#: reg.rc:38
...
...
po/wa.po
View file @
208ca071
...
...
@@ -11083,7 +11083,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/wine.pot
View file @
208ca071
...
...
@@ -10892,7 +10892,7 @@ msgid "Error: Invalid command line parameters\n"
msgstr ""
#: reg.rc:37
msgid "Error: Unable to a
dd keys to
remote machine\n"
msgid "Error: Unable to a
ccess
remote machine\n"
msgstr ""
#: reg.rc:38
...
...
po/zh_CN.po
View file @
208ca071
...
...
@@ -11044,7 +11044,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "错误:命令行参数无效\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "错误:无法将键添加到远程机器\n"
#: reg.rc:38
...
...
po/zh_TW.po
View file @
208ca071
...
...
@@ -11431,7 +11431,9 @@ msgid "Error: Invalid command line parameters\n"
msgstr "錯誤:無效的命令列參數\n"
#: reg.rc:37
msgid "Error: Unable to add keys to remote machine\n"
#, fuzzy
#| msgid "Error: Unable to add keys to remote machine\n"
msgid "Error: Unable to access remote machine\n"
msgstr "錯誤:無法加入索引鍵到遠端機器\n"
#: reg.rc:38
...
...
programs/reg/reg.c
View file @
208ca071
...
...
@@ -179,6 +179,17 @@ static LPBYTE get_regdata(LPWSTR data, DWORD reg_type, WCHAR separator, DWORD *r
return
out_data
;
}
static
BOOL
sane_path
(
const
WCHAR
*
key
)
{
if
(
key
[
0
]
==
'\\'
&&
key
[
1
]
==
'\\'
&&
key
[
2
]
!=
'\\'
)
{
reg_message
(
STRING_NO_REMOTE
);
return
FALSE
;
}
return
TRUE
;
}
static
int
reg_add
(
WCHAR
*
key_name
,
WCHAR
*
value_name
,
BOOL
value_empty
,
WCHAR
*
type
,
WCHAR
separator
,
WCHAR
*
data
,
BOOL
force
)
{
...
...
@@ -189,11 +200,8 @@ static int reg_add(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
reg_printfW
(
stubW
,
key_name
,
value_name
,
value_empty
,
type
,
data
,
force
);
if
(
key_name
[
0
]
==
'\\'
&&
key_name
[
1
]
==
'\\'
)
{
reg_message
(
STRING_NO_REMOTE
);
if
(
!
sane_path
(
key_name
))
return
1
;
}
p
=
strchrW
(
key_name
,
'\\'
);
if
(
!
p
)
...
...
@@ -262,11 +270,8 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
,
0
};
reg_printfW
(
stubW
,
key_name
,
value_name
,
value_empty
,
value_all
,
force
);
if
(
key_name
[
0
]
==
'\\'
&&
key_name
[
1
]
==
'\\'
)
{
reg_message
(
STRING_NO_REMOTE
);
if
(
!
sane_path
(
key_name
))
return
1
;
}
p
=
strchrW
(
key_name
,
'\\'
);
if
(
!
p
)
...
...
programs/reg/reg.rc
View file @
208ca071
...
...
@@ -33,6 +33,6 @@ STRINGTABLE
STRING_SUCCESS, "The operation completed successfully\n"
STRING_INVALID_KEY, "Error: Invalid key name\n"
STRING_INVALID_CMDLINE, "Error: Invalid command line parameters\n"
STRING_NO_REMOTE, "Error: Unable to a
dd keys to
remote machine\n"
STRING_NO_REMOTE, "Error: Unable to a
ccess
remote machine\n"
STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value\n"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment