Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Tell file_issocket() to always return 0 on Windows builds, as reported in [forum:a41fe3d6d0c97b43|forum post a41fe3d6d0c97b43]. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
ba884453e5cf7a2c12ad74b03dd3b31b |
| User & Date: | stephan 2024-08-09 12:13:25.752 |
Context
|
2024-08-10
| ||
| 17:49 | Update the built-in SQLite to the latest version 3.47.0 alpha. This SQLite has all of the fixes that are going into the 3.46.1 release, and so the purpose of this update is to beta test those fixes. check-in: dc15083b9a user: drh tags: trunk | |
|
2024-08-09
| ||
| 12:13 | Tell file_issocket() to always return 0 on Windows builds, as reported in [forum:a41fe3d6d0c97b43|forum post a41fe3d6d0c97b43]. check-in: ba884453e5 user: stephan tags: trunk | |
| 10:32 | Doc touchups in /chat. No code changes. check-in: 7141427370 user: stephan tags: trunk | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
return getStat(zFilename, eFType) ? 0 : S_ISREG(fx.fileStat.st_mode);
}
/*
** Return TRUE if zFilename is a socket.
*/
int file_issocket(const char *zFilename){
if( getStat(zFilename, ExtFILE) ){
return 0; /* stat() failed. Return false. */
}
return S_ISSOCK(fx.fileStat.st_mode);
}
/*
** Create a symbolic link named zLinkFile that points to zTargetFile.
**
** If allow-symlinks is off, create an ordinary file named zLinkFile
** with the name of zTargetFile as its content.
| > > > > | 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 |
return getStat(zFilename, eFType) ? 0 : S_ISREG(fx.fileStat.st_mode);
}
/*
** Return TRUE if zFilename is a socket.
*/
int file_issocket(const char *zFilename){
#ifdef _WIN32
return 0;
#else
if( getStat(zFilename, ExtFILE) ){
return 0; /* stat() failed. Return false. */
}
return S_ISSOCK(fx.fileStat.st_mode);
#endif
}
/*
** Create a symbolic link named zLinkFile that points to zTargetFile.
**
** If allow-symlinks is off, create an ordinary file named zLinkFile
** with the name of zTargetFile as its content.
|
| ︙ | ︙ |