Linked regedit against msvcrt instead of the platform I/O library, so
it can handle full Windows paths.
This commit is contained in:
parent
befbb0e441
commit
fe61065cd7
|
@ -4,7 +4,8 @@ SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = regedit.exe
|
MODULE = regedit.exe
|
||||||
APPMODE = gui
|
APPMODE = gui
|
||||||
IMPORTS = advapi32 kernel32
|
IMPORTS = msvcrt advapi32 kernel32
|
||||||
|
EXTRAINCL = -I$(TOPSRCDIR)/include/msvcrt
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
regedit.c \
|
regedit.c \
|
||||||
|
|
|
@ -20,9 +20,6 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "wine/port.h"
|
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -1283,7 +1280,7 @@ void export_hkey(FILE *file, HKEY key,
|
||||||
CHAR buf[20];
|
CHAR buf[20];
|
||||||
int cur_pos;
|
int cur_pos;
|
||||||
|
|
||||||
if (value_type == REG_BINARY)
|
if (value_type == REG_BINARY)
|
||||||
{
|
{
|
||||||
hex_prefix = "hex:";
|
hex_prefix = "hex:";
|
||||||
} else {
|
} else {
|
||||||
|
@ -1574,4 +1571,3 @@ CHAR *getAppName()
|
||||||
{
|
{
|
||||||
return app_name;
|
return app_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue