mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
DOS/Windows 'shells' eat echoed percent sign characters unless escaped.
This commit is contained in:
parent
14a5596346
commit
e1ab7db87d
@ -212,9 +212,11 @@ endif
|
||||
ifeq ($(findstring linux,$(OSTYPE)),linux)
|
||||
DL = '
|
||||
DS = /
|
||||
PCT = %
|
||||
#-include $(NDKBASE)/nlmconv/ncpfs.inc
|
||||
else
|
||||
DS = \\
|
||||
PCT = %%
|
||||
endif
|
||||
|
||||
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||
@ -596,7 +598,7 @@ ifeq ($(LIBARCH),LIBC)
|
||||
@echo $(DL)#define CURL_OFF_T long long$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FMT_OFF_T "lld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FMT_OFF_TU "llu"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FORMAT_OFF_T "%lld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FORMAT_OFF_T "$(PCT)lld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SIZEOF_CURL_OFF_T 8$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_T LL$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_TU ULL$(DL) >> $@
|
||||
@ -604,7 +606,7 @@ else
|
||||
@echo $(DL)#define CURL_OFF_T long$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FMT_OFF_T "ld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FMT_OFF_TU "lu"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FORMAT_OFF_T "%ld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_FORMAT_OFF_T "$(PCT)ld"$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SIZEOF_CURL_OFF_T 4$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_T L$(DL) >> $@
|
||||
@echo $(DL)#define CURL_SUFFIX_CURL_OFF_TU UL$(DL) >> $@
|
||||
|
Loading…
Reference in New Issue
Block a user