/ Check-in [a7126a4f]
Login

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

Overview
Comment:Use _strdup() instead of strdup() on Windows builds of the CLI, to avoid a compiler warning reported on the mailing list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a7126a4f4fb4e3e25be95d673323f835252bb2b427469616046a90b2acf64071
User & Date: drh 2019-01-22 16:44:59
Context
2019-01-22
20:18
Do not run shmlock.test as part of the journaltest permutation. check-in: 5b7d0c78 user: dan tags: trunk
16:44
Use _strdup() instead of strdup() on Windows builds of the CLI, to avoid a compiler warning reported on the mailing list. check-in: a7126a4f user: drh tags: trunk
16:43
Fix the SQLITE_DESERIALIZE_READONLY feature so that it does not cause an assertion fault in the pager. check-in: b9eccef7 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

134
135
136
137
138
139
140



141
142
143
144
145
146
147
# define isatty(h) _isatty(h)
# ifndef access
#  define access(f,m) _access((f),(m))
# endif
# ifndef unlink
#  define unlink _unlink
# endif



# undef popen
# define popen _popen
# undef pclose
# define pclose _pclose
#else
 /* Make sure isatty() has a prototype. */
 extern int isatty(int);







>
>
>







134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# define isatty(h) _isatty(h)
# ifndef access
#  define access(f,m) _access((f),(m))
# endif
# ifndef unlink
#  define unlink _unlink
# endif
# ifndef strdup
#  define strdup _strdup
# endif
# undef popen
# define popen _popen
# undef pclose
# define pclose _pclose
#else
 /* Make sure isatty() has a prototype. */
 extern int isatty(int);