Fossil SCM

Another coding style (whitespace) fix.

mistachkin 2016-10-01 03:39 trunk
Commit 2ccd046de2dad793e31677b0a7a12983ea43a379
1 file changed +2 -2
+2 -2
--- src/file.c
+++ src/file.c
@@ -471,16 +471,16 @@
471471
#if !defined(_WIN32)
472472
struct stat buf;
473473
if( fossil_stat(zFilename, &buf, 1)!=0 || S_ISLNK(buf.st_mode) ) return 0;
474474
if( onoff ){
475475
int targetMode = (buf.st_mode & 0444)>>2;
476
- if( (buf.st_mode & 0100) == 0 ){
476
+ if( (buf.st_mode & 0100)==0 ){
477477
chmod(zFilename, buf.st_mode | targetMode);
478478
rc = 1;
479479
}
480480
}else{
481
- if( (buf.st_mode & 0100) != 0 ){
481
+ if( (buf.st_mode & 0100)!=0 ){
482482
chmod(zFilename, buf.st_mode & ~0111);
483483
rc = 1;
484484
}
485485
}
486486
#endif /* _WIN32 */
487487
--- src/file.c
+++ src/file.c
@@ -471,16 +471,16 @@
471 #if !defined(_WIN32)
472 struct stat buf;
473 if( fossil_stat(zFilename, &buf, 1)!=0 || S_ISLNK(buf.st_mode) ) return 0;
474 if( onoff ){
475 int targetMode = (buf.st_mode & 0444)>>2;
476 if( (buf.st_mode & 0100) == 0 ){
477 chmod(zFilename, buf.st_mode | targetMode);
478 rc = 1;
479 }
480 }else{
481 if( (buf.st_mode & 0100) != 0 ){
482 chmod(zFilename, buf.st_mode & ~0111);
483 rc = 1;
484 }
485 }
486 #endif /* _WIN32 */
487
--- src/file.c
+++ src/file.c
@@ -471,16 +471,16 @@
471 #if !defined(_WIN32)
472 struct stat buf;
473 if( fossil_stat(zFilename, &buf, 1)!=0 || S_ISLNK(buf.st_mode) ) return 0;
474 if( onoff ){
475 int targetMode = (buf.st_mode & 0444)>>2;
476 if( (buf.st_mode & 0100)==0 ){
477 chmod(zFilename, buf.st_mode | targetMode);
478 rc = 1;
479 }
480 }else{
481 if( (buf.st_mode & 0100)!=0 ){
482 chmod(zFilename, buf.st_mode & ~0111);
483 rc = 1;
484 }
485 }
486 #endif /* _WIN32 */
487

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button