Fossil

Check-in [a27b3364]
Login

Check-in [a27b3364]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make sure the pikchr() function has a prototype(). MSVC generates incorrect code (and does not give a warning) if the prototype is missing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a27b3364e3eba1004a7c5a33db0131fd01e819500e9a8ae57f6ab90e5073fab1
User & Date: drh 2022-01-27 03:57:27
Context
2022-01-27
04:34
Fix an off by 1 bug in "win32_http_request()" which was causing POST request to fail on windows. (e.g. wikiedit preview or upload of a file on the chat) Problem appear in checkin [7a3bf55f5489f534] ... (check-in: e4b49ce3 user: mgagnon tags: trunk)
03:57
Make sure the pikchr() function has a prototype(). MSVC generates incorrect code (and does not give a warning) if the prototype is missing. ... (check-in: a27b3364 user: drh tags: trunk)
2022-01-26
18:22
Make sure stdin and stdout are set to binary mode in Windows for the "fossil http" command. ... (check-in: be1c4d47 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/config.h.
273
274
275
276
277
278
279


280
281
** and later.  Make calls to fossil_pledge() no-ops on all platforms
** that omit the HAVE_PLEDGE configuration parameter.
*/
#if !defined(HAVE_PLEDGE)
# define fossil_pledge(A)
#endif




#endif /* _RC_COMPILE_ */






>
>


273
274
275
276
277
278
279
280
281
282
283
** and later.  Make calls to fossil_pledge() no-ops on all platforms
** that omit the HAVE_PLEDGE configuration parameter.
*/
#if !defined(HAVE_PLEDGE)
# define fossil_pledge(A)
#endif

/* Need a prototype for pikchr() */
extern char *pikchr(const char*,const char*,unsigned in, int*,int*);

#endif /* _RC_COMPILE_ */