Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fixed Win32 build breakage |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
dbb2cee11315443a63540a760d2215bc |
| User & Date: | mjanssen 2008-03-11 19:21:57.000 |
Context
|
2008-03-11
| ||
| 20:00 | make test should find test script relative to the SRCDIR so it will work when run from a separate build directory. This also allows 'make test' to run with Makefile.w32 check-in: 7c0bd3ee08 user: mjanssen tags: trunk | |
| 19:21 | Fixed Win32 build breakage check-in: dbb2cee113 user: mjanssen tags: trunk | |
|
2008-03-10
| ||
| 16:46 | Fix a bug introduced by recent optimization efforts. check-in: f763b84198 user: drh tags: trunk | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
** for directories, devices, fifos, symlinks, etc.
*/
int file_isexe(const char *zFilename){
struct stat buf;
if( stat(zFilename, &buf)!=0 ){
return 0;
}
return ((S_IXUSR|S_IXGRP|S_IXOTH)&buf.st_mode)!=0;
}
/*
** Set or clear the execute bit on a file.
*/
void file_setexe(const char *zFilename, int onoff){
#ifndef __MINGW32__
| > > > > | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
** for directories, devices, fifos, symlinks, etc.
*/
int file_isexe(const char *zFilename){
struct stat buf;
if( stat(zFilename, &buf)!=0 ){
return 0;
}
#ifdef __MINGW32__
return ((S_IXUSR)&buf.st_mode)!=0;
#else
return ((S_IXUSR|S_IXGRP|S_IXOTH)&buf.st_mode)!=0;
#endif
}
/*
** Set or clear the execute bit on a file.
*/
void file_setexe(const char *zFilename, int onoff){
#ifndef __MINGW32__
|
| ︙ | ︙ |