SQLite

Check-in [ffd05de8a3]
Login

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

Overview
Comment:Update jimsh0.c from upstream autosetup to address autosetup ticket #75, triggered by this build in the Gentoo project.
Timelines: family | ancestors | descendants | both | configure-dll-support
Files: files | file ages | folders
SHA3-256: ffd05de8a3b7cab1b8e91b99da74b43ec5a7b91c78dcfd7cf338b66126e30a56
User & Date: stephan 2025-02-24 04:47:34
Context
2025-02-24
05:10
Add some internal notes about potential changes for the rpath flag handling. (check-in: 6f904f0695 user: stephan tags: configure-dll-support)
04:47
Update jimsh0.c from upstream autosetup to address autosetup ticket #75, triggered by this build in the Gentoo project. (check-in: ffd05de8a3 user: stephan tags: configure-dll-support)
2025-02-23
17:55
Add (disabled) infrastructure for disabling use of the rpath linker flag. This is a proactive precautionary measure because how the rpath is used does not match up with what the unix-on-windows environments do with their DLLs. (check-in: 38ba8e837c user: stephan tags: configure-dll-support)
Changes
Unified Diff Ignore Whitespace Patch
Changes to autosetup/jimsh0.c.
1248
1249
1250
1251
1252
1253
1254








1255
1256
1257
1258
1259
1260
1261

    #ifndef O_TEXT
        #define O_TEXT 0
    #endif

#endif










int Jim_FileStoreStatData(Jim_Interp *interp, Jim_Obj *varName, const jim_stat_t *sb);

#endif
int Jim_bootstrapInit(Jim_Interp *interp)
{
	if (Jim_PackageProvide(interp, "bootstrap", "1.0", JIM_ERRMSG))







>
>
>
>
>
>
>
>







1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269

    #ifndef O_TEXT
        #define O_TEXT 0
    #endif

#endif

# ifndef MAXPATHLEN
# ifdef PATH_MAX
# define MAXPATHLEN PATH_MAX
# else
# define MAXPATHLEN JIM_PATH_LEN
# endif
# endif


int Jim_FileStoreStatData(Jim_Interp *interp, Jim_Obj *varName, const jim_stat_t *sb);

#endif
int Jim_bootstrapInit(Jim_Interp *interp)
{
	if (Jim_PackageProvide(interp, "bootstrap", "1.0", JIM_ERRMSG))
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
#endif
#if defined(HAVE_SYS_UN_H) && defined(PF_UNIX)
#define UNIX_SOCKETS 1
#else
#define UNIX_SOCKETS 0
#endif

#ifndef MAXPATHLEN
#define MAXPATHLEN JIM_PATH_LEN
#endif




static int JimReadableTimeout(int fd, long ms)
{
#ifdef HAVE_SELECT
    int retval;







<
<
<
<







2092
2093
2094
2095
2096
2097
2098




2099
2100
2101
2102
2103
2104
2105
#endif
#if defined(HAVE_SYS_UN_H) && defined(PF_UNIX)
#define UNIX_SOCKETS 1
#else
#define UNIX_SOCKETS 0
#endif








static int JimReadableTimeout(int fd, long ms)
{
#ifdef HAVE_SELECT
    int retval;
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
#define F_OK 0
#define W_OK 2
#define R_OK 4
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif

# ifndef MAXPATHLEN
# ifdef PATH_MAX
# define MAXPATHLEN PATH_MAX
# else
# define MAXPATHLEN JIM_PATH_LEN
# endif
# endif

#if defined(__MINGW32__) || defined(__MSYS__) || defined(_MSC_VER)
#define ISWINDOWS 1

#undef HAVE_SYMLINK
#else
#define ISWINDOWS 0
#endif







<
<
<
<
<
<
<
<







4173
4174
4175
4176
4177
4178
4179








4180
4181
4182
4183
4184
4185
4186
#define F_OK 0
#define W_OK 2
#define R_OK 4
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif









#if defined(__MINGW32__) || defined(__MSYS__) || defined(_MSC_VER)
#define ISWINDOWS 1

#undef HAVE_SYMLINK
#else
#define ISWINDOWS 0
#endif