https://git.reactos.org/?p=reactos.git;a=commitdiff;h=51b5d846e9f01782e3d72…
commit 51b5d846e9f01782e3d729a9a8e03c2a4df49cb4
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat May 20 21:08:58 2023 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri Nov 10 19:00:41 2023 +0200
[CRT] Define _NTSYSTEM_ in 2 files to force using import-stubs
This prevents the code from linking to __imp_*, which would pull in the symbol from the import library (e.g. kernel32), which creates problems with the GNU linker, which doesn't like to have the import and a static definition at the same time.
---
sdk/lib/crt/startup/crt_handler.c | 2 +-
sdk/lib/crt/startup/gs_support.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/lib/crt/startup/crt_handler.c b/sdk/lib/crt/startup/crt_handler.c
index a01ab8d7abf..5f102bb774a 100644
--- a/sdk/lib/crt/startup/crt_handler.c
+++ b/sdk/lib/crt/startup/crt_handler.c
@@ -11,7 +11,7 @@
#include <memory.h>
#include <signal.h>
#include <stdio.h>
-
+#define _NTSYSTEM_
#include <windef.h>
#include <winbase.h>
diff --git a/sdk/lib/crt/startup/gs_support.c b/sdk/lib/crt/startup/gs_support.c
index 1a6d70d38cd..a8027b38c7a 100644
--- a/sdk/lib/crt/startup/gs_support.c
+++ b/sdk/lib/crt/startup/gs_support.c
@@ -3,7 +3,7 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
-
+#define _NTSYSTEM_
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
@@ -116,7 +116,7 @@ __report_gsfailure (ULONG_PTR StackCookie)
RtlCaptureContext (&GS_ContextRecord);
controlPC = GS_ContextRecord.Rip;
- fctEntry = RtlLookupFunctionEntry (controlPC, &imgBase, NULL);
+ fctEntry = RtlLookupFunctionEntry(controlPC, &imgBase, NULL);
if (fctEntry != NULL)
{
RtlVirtualUnwind (UNW_FLAG_NHANDLER, imgBase, controlPC, fctEntry,
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=565bf9e340e288840ef6c…
commit 565bf9e340e288840ef6c651f30ab44af693c7c0
Author: Andrei Miloiu <miloiuandrei(a)gmail.com>
AuthorDate: Wed Nov 8 21:11:03 2023 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Nov 8 20:11:03 2023 +0100
[CMD] Update Romanian (ro-RO) translation (#5918)
---
base/shell/cmd/lang/ro-RO.rc | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/base/shell/cmd/lang/ro-RO.rc b/base/shell/cmd/lang/ro-RO.rc
index 097728b6cfe..e2b57adb494 100644
--- a/base/shell/cmd/lang/ro-RO.rc
+++ b/base/shell/cmd/lang/ro-RO.rc
@@ -1,4 +1,10 @@
-/* Translator: Ștefan Fulea (stefan dot fulea at mail dot com) */
+/*
+ * PROJECT: ReactOS Command Prompt
+ * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
+ * PURPOSE: Romanian resource file
+ * TRANSLATORS: Copyright 2011-2019 Ștefan Fulea <stefan.fulea(a)mail.com>
+ * Copyright 2023 Andrei Miloiu <miloiuandrei(a)gmail.com>
+ */
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
@@ -120,7 +126,7 @@ dispozitivul auxiliar."
DATE [/T][dată]\n\n\
/T doar afișează\n\n\
Tastați DATE fără argumente pentru a afișa data curentă urmată de\n\
-cerea modificării ei. Confirmați aceiași dată apăsând ENTER.\n"
+cerea modificării ei. Confirmați aceeași dată apăsând ENTER.\n"
STRING_DEL_HELP1 "Șterge unul sau mai multe fișiere.\n\n\
DEL [/N /P /T /Q /S /W /Y /Z /A[[:]atribute]] fișier ...\n\
DELETE [/N /P /T /Q /S /W /Y /Z /A[[:]atribute]] fișier ...\n\
@@ -428,7 +434,7 @@ TITLE [șir]\n\n\
TIME [/T][oră]\n\n\
/T Omite modificarea orei curente\n\n\
Tastați TIME fără perametri pentru a afișa ora curentă urmată de posibilitatea\n\
-de a introduce o nouă oră. Tastați ENTER pentru a păstra aceiași oră.\n"
+de a introduce o nouă oră. Tastați ENTER pentru a păstra aceeași oră.\n"
STRING_TIME_HELP2 "Introduceți noua oră: "
STRING_TIMER_HELP1 "Timp cronometrat: %d msec\n"
STRING_TIMER_HELP2 "Timp cronometrat: %02d%c%02d%c%02d%c%02d\n"