Fossil

Check-in [d9dfe11d]
Login

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

Overview
Comment:Workaround for recently introduced Cygwin bug: group permission is always set! This was the cause of the "execute permission" trouble in my recent commits. :-(
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d9dfe11d0c8f8591a5fd50988d5864b64b723d07
User & Date: jan.nijtmans 2015-02-06 15:34:22
Context
2015-02-06
19:56
Better comment why the group executable bit cannot be used on Cygwin, and possibly other IEEE 1003.1 ("POSIX.1") compliant systems, which support ACL's check-in: 9c3b544e user: jan.nijtmans tags: trunk
19:35
Minor revisions to the timeline controls to permit for easier reading. check-in: 7d20d72a user: mistachkin tags: timelineMods
15:38
Merge trunk check-in: 1be2eb05 user: jan.nijtmans tags: svn-import
15:34
Workaround for recently introduced Cygwin bug: group permission is always set! This was the cause of the "execute permission" trouble in my recent commits. :-( check-in: d9dfe11d user: jan.nijtmans tags: trunk
15:06
Now really fix execute permissions to what they were before check-in: 596e7a9c user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

.dockerignore became a regular file.

.fossil-settings/clean-glob became a regular file.

.fossil-settings/encoding-glob became a regular file.

.fossil-settings/ignore-glob became a regular file.

.fossil-settings/keep-glob became a regular file.

.project became a regular file.

.settings/org.eclipse.core.resources.prefs became a regular file.

.settings/org.eclipse.core.runtime.prefs became a regular file.

BUILD.txt became a regular file.

COPYRIGHT-BSD2.txt became a regular file.

Dockerfile became a regular file.

Makefile.classic became a regular file.

Makefile.in became a regular file.

VERSION became a regular file.

ajax/README became a regular file.

ajax/index.html became a regular file.

ajax/wiki-editor.html became a regular file.

art/CollRev1.dia became a regular file.

art/CollRev2.dia became a regular file.

art/CollRev3.dia became a regular file.

art/CollRev4.dia became a regular file.

art/branching.odp became a regular file.

cannot compute difference between binary files

art/concept1.dia became a regular file.

cannot compute difference between binary files

art/concept2.dia became a regular file.

cannot compute difference between binary files

art/delta1.dia became a regular file.

art/delta2.dia became a regular file.

art/delta3.dia became a regular file.

art/delta4.dia became a regular file.

art/delta5.dia became a regular file.

art/delta6.dia became a regular file.

art/encode1.tex became a regular file.

art/encode10.dia became a regular file.

art/encode2.tex became a regular file.

art/encode3.tex became a regular file.

art/encode4.tex became a regular file.

art/encode5.tex became a regular file.

art/encode6.tex became a regular file.

art/encode7.tex became a regular file.

art/encode8.tex became a regular file.

art/encode9.tex became a regular file.

auto.def became a regular file.

autosetup/LICENSE became a regular file.

autosetup/README.autosetup became a regular file.

autosetup/cc-db.tcl became a regular file.

autosetup/cc-lib.tcl became a regular file.

autosetup/cc-shared.tcl became a regular file.

autosetup/cc.tcl became a regular file.

autosetup/default.auto became a regular file.

autosetup/jimsh0.c became a regular file.

autosetup/local.tcl became a regular file.

autosetup/system.tcl became a regular file.

debian/makedeb.sh became a regular file.

setup/fossil.iss became a regular file.

setup/fossil.nsi became a regular file.

skins/README.md became a regular file.

src/Makefile became a regular file.

src/add.c became a regular file.

src/allrepo.c became a regular file.

src/attach.c became a regular file.

src/bag.c became a regular file.

src/bisect.c became a regular file.

src/blob.c became a regular file.

src/branch.c became a regular file.

src/browse.c became a regular file.

src/builtin.c became a regular file.

src/bundle.c became a regular file.

src/cache.c became a regular file.

src/captcha.c became a regular file.

src/cgi.c became a regular file.

src/checkin.c became a regular file.

src/checkout.c became a regular file.

src/clearsign.c became a regular file.

src/clone.c became a regular file.

src/codecheck1.c became a regular file.

src/comformat.c became a regular file.

src/config.h became a regular file.

src/configure.c became a regular file.

src/content.c became a regular file.

src/cson_amalgamation.c became a regular file.

src/cson_amalgamation.h became a regular file.

src/cygsup.h became a regular file.

src/db.c became a regular file.

src/delta.c became a regular file.

src/deltacmd.c became a regular file.

src/descendants.c became a regular file.

src/diff.c became a regular file.

src/diff.tcl became a regular file.

src/diffcmd.c became a regular file.

src/doc.c became a regular file.

src/encode.c became a regular file.

src/event.c became a regular file.

src/export.c became a regular file.

Changes to src/file.c.

227
228
229
230
231
232
233







234
235
236
237
238
239
240
*/
void symlink_copy(const char *zFrom, const char *zTo){
  Blob content;
  blob_read_link(&content, zFrom);
  symlink_create(blob_str(&content), zTo);
  blob_reset(&content);
}








/*
** Return file permissions (normal, executable, or symlink):
**   - PERM_EXE if file is executable;
**   - PERM_LNK on Unix if file is symlink and allow-symlinks option is on;
**   - PERM_REG for all other cases (regular file, directory, fifo, etc).
*/







>
>
>
>
>
>
>







227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
*/
void symlink_copy(const char *zFrom, const char *zTo){
  Blob content;
  blob_read_link(&content, zFrom);
  symlink_create(blob_str(&content), zTo);
  blob_reset(&content);
}

#ifdef __CYGWIN__
/* Workaround for recently introduced Cygwin bug: group execute */
/* permission is always set, so it cannot be relied upon! */
# undef S_IXGRP
# define S_IXGRP 0
#endif

/*
** Return file permissions (normal, executable, or symlink):
**   - PERM_EXE if file is executable;
**   - PERM_LNK on Unix if file is symlink and allow-symlinks option is on;
**   - PERM_REG for all other cases (regular file, directory, fifo, etc).
*/

src/finfo.c became a regular file.

src/foci.c became a regular file.

src/fusefs.c became a regular file.

src/glob.c became a regular file.

src/graph.c became a regular file.

src/gzip.c became a regular file.

src/http.c became a regular file.

src/http_socket.c became a regular file.

src/http_ssl.c became a regular file.

src/http_transport.c became a regular file.

src/import.c became a regular file.

src/info.c became a regular file.

src/json.c became a regular file.

src/json_artifact.c became a regular file.

src/json_branch.c became a regular file.

src/json_config.c became a regular file.

src/json_detail.h became a regular file.

src/json_diff.c became a regular file.

src/json_dir.c became a regular file.

src/json_finfo.c became a regular file.

src/json_login.c became a regular file.

src/json_query.c became a regular file.

src/json_report.c became a regular file.

src/json_status.c became a regular file.

src/json_tag.c became a regular file.

src/json_timeline.c became a regular file.

src/json_user.c became a regular file.

src/json_wiki.c became a regular file.

src/leaf.c became a regular file.

src/loadctrl.c became a regular file.

src/login.c became a regular file.

src/lookslike.c became a regular file.

src/main.c became a regular file.

src/main.mk became a regular file.

src/makeheaders.c became a regular file.

src/makeheaders.html became a regular file.

src/makemake.tcl became a regular file.

src/manifest.c became a regular file.

src/markdown.c became a regular file.

src/markdown.md became a regular file.

src/markdown_html.c became a regular file.

src/md5.c became a regular file.

src/merge.c became a regular file.

src/merge3.c became a regular file.

src/miniz.c became a regular file.

src/mkbuiltin.c became a regular file.

src/mkindex.c became a regular file.

src/mkversion.c became a regular file.

src/moderate.c became a regular file.

src/name.c became a regular file.

src/path.c became a regular file.

src/pivot.c became a regular file.

src/popen.c became a regular file.

src/pqueue.c became a regular file.

src/printf.c became a regular file.

src/publish.c became a regular file.

src/purge.c became a regular file.

src/rebuild.c became a regular file.

src/regexp.c became a regular file.

src/report.c became a regular file.

src/rss.c became a regular file.

src/schema.c became a regular file.

src/search.c became a regular file.

src/setup.c became a regular file.

src/sha1.c became a regular file.

src/shell.c became a regular file.

src/shun.c became a regular file.

src/sitemap.c became a regular file.

src/skins.c became a regular file.

src/sqlcmd.c became a regular file.

src/sqlite3.c became a regular file.

src/sqlite3.h became a regular file.

src/stash.c became a regular file.

src/stat.c became a regular file.

src/statrep.c became a regular file.

src/style.c became a regular file.

src/sync.c became a regular file.

src/tag.c became a regular file.

src/tar.c became a regular file.

src/th.c became a regular file.

src/th.h became a regular file.

src/th_lang.c became a regular file.

src/th_main.c became a regular file.

src/th_tcl.c became a regular file.

src/timeline.c became a regular file.

src/tkt.c became a regular file.

src/tktsetup.c became a regular file.

src/translate.c became a regular file.

src/undo.c became a regular file.

src/unicode.c became a regular file.

src/update.c became a regular file.

src/url.c became a regular file.

src/user.c became a regular file.

src/utf8.c became a regular file.

src/util.c became a regular file.

src/verify.c became a regular file.

src/vfile.c became a regular file.

src/wiki.c became a regular file.

src/wikiformat.c became a regular file.

src/winfile.c became a regular file.

src/winhttp.c became a regular file.

src/wysiwyg.c became a regular file.

src/xfer.c became a regular file.

src/xfersetup.c became a regular file.

src/zip.c became a regular file.

test/Greek-Lipsum-1.txt became a regular file.

test/Greek-Lipsum-2.txt became a regular file.

test/cmdline.test became a regular file.

test/comment.test became a regular file.

test/delta1.test became a regular file.

test/diff-test-1.wiki became a regular file.

test/file1.test became a regular file.

test/glob.test became a regular file.

test/graph-test-1.wiki became a regular file.

test/many-www.tcl became a regular file.

test/markdown-test1.md became a regular file.

test/merge1.test became a regular file.

test/merge2.test became a regular file.

test/merge3.test became a regular file.

test/merge4.test became a regular file.

test/merge5.test became a regular file.

test/merge5_repo.sql became a regular file.

test/merge6.test became a regular file.

test/merge_renames.test became a regular file.

test/release-checklist.wiki became a regular file.

test/revert.test became a regular file.

test/test-page++.wiki became a regular file.

test/tester.tcl became a regular file.

test/th1-hooks-input.txt became a regular file.

test/th1-hooks.test became a regular file.

test/th1-tcl.test became a regular file.

test/th1-tcl1.txt became a regular file.

test/th1-tcl2.txt became a regular file.

test/th1-tcl3.txt became a regular file.

test/th1-tcl4.txt became a regular file.

test/th1-tcl5.txt became a regular file.

test/th1-tcl6.txt became a regular file.

test/th1-tcl7.txt became a regular file.

test/th1-tcl8.txt became a regular file.

test/th1-tcl9.txt became a regular file.

test/th1.test became a regular file.

test/update-test-1.sh became a regular file.

test/update-test-2.sh became a regular file.

test/utf.test became a regular file.

test/utf16be.txt became a regular file.

test/utf16le.txt became a regular file.

test/valgrind-www.tcl became a regular file.

tools/encode_math.sh became a regular file.

tools/fossil-autocomplete.bash became a regular file.

tools/fossil_chat.tcl became a regular file.

win/Makefile.PellesCGMake became a regular file.

win/Makefile.dmc became a regular file.

win/Makefile.mingw became a regular file.

win/Makefile.mingw.mistachkin became a regular file.

win/Makefile.msc became a regular file.

win/buildmsvc.bat became a regular file.

win/fossil.exe.manifest became a regular file.

win/fossil.ico became a regular file.

cannot compute difference between binary files

win/fossil.rc became a regular file.

www/CollRev1.gif became a regular file.

cannot compute difference between binary files

www/CollRev2.gif became a regular file.

cannot compute difference between binary files

www/CollRev3.gif became a regular file.

cannot compute difference between binary files

www/CollRev4.gif became a regular file.

cannot compute difference between binary files

www/adding_code.wiki became a regular file.

www/antibot.wiki became a regular file.

www/apple-touch-icon.png became a regular file.

cannot compute difference between binary files

www/background.jpg became a regular file.

cannot compute difference between binary files

www/branch01.gif became a regular file.

cannot compute difference between binary files

www/branch02.gif became a regular file.

cannot compute difference between binary files

www/branch03.gif became a regular file.

cannot compute difference between binary files

www/branch04.gif became a regular file.

cannot compute difference between binary files

www/branch05.gif became a regular file.

cannot compute difference between binary files

www/branching.wiki became a regular file.

www/bugtheory.wiki became a regular file.

www/build.wiki became a regular file.

www/changes.wiki became a regular file.

www/checkin.wiki became a regular file.

www/checkin_names.wiki became a regular file.

www/cmd_.wiki-template became a regular file.

www/concept1.gif became a regular file.

cannot compute difference between binary files

www/concept2.gif became a regular file.

cannot compute difference between binary files

www/concepts.wiki became a regular file.

www/contribute.wiki became a regular file.

www/copyright-release.html became a regular file.

www/copyright-release.pdf became a regular file.

cannot compute difference between binary files

www/custom_ticket.wiki became a regular file.

www/delta1.gif became a regular file.

cannot compute difference between binary files

www/delta2.gif became a regular file.

cannot compute difference between binary files

www/delta3.gif became a regular file.

cannot compute difference between binary files

www/delta4.gif became a regular file.

cannot compute difference between binary files

www/delta5.gif became a regular file.

cannot compute difference between binary files

www/delta6.gif became a regular file.

cannot compute difference between binary files

www/delta_encoder_algorithm.wiki became a regular file.

www/delta_format.wiki became a regular file.

www/embeddeddoc.wiki became a regular file.

www/encode1.gif became a regular file.

cannot compute difference between binary files

www/encode10.gif became a regular file.

cannot compute difference between binary files

www/encode2.gif became a regular file.

cannot compute difference between binary files

www/encode3.gif became a regular file.

cannot compute difference between binary files

www/encode4.gif became a regular file.

cannot compute difference between binary files

www/encode5.gif became a regular file.

cannot compute difference between binary files

www/encode6.gif became a regular file.

cannot compute difference between binary files

www/encode7.gif became a regular file.

cannot compute difference between binary files

www/encode8.gif became a regular file.

cannot compute difference between binary files

www/encode9.gif became a regular file.

cannot compute difference between binary files

www/event.wiki became a regular file.

www/faq.tcl became a regular file.

www/faq.wiki became a regular file.

www/fileformat.wiki became a regular file.

www/fiveminutes.wiki became a regular file.

www/foss-cklist.wiki became a regular file.

www/fossil-from-msvc.wiki became a regular file.

www/fossil-v-git.wiki became a regular file.

www/fossil.eps became a regular file.

www/fossil.gif became a regular file.

cannot compute difference between binary files

www/fossil2.eps became a regular file.

www/fossil2.gif became a regular file.

cannot compute difference between binary files

www/fossil3.gif became a regular file.

cannot compute difference between binary files

www/fossil_logo_small.gif became a regular file.

cannot compute difference between binary files

www/fossil_logo_small2.gif became a regular file.

cannot compute difference between binary files

www/fossil_logo_small3.gif became a regular file.

cannot compute difference between binary files

www/fossil_prompt.sh became a regular file.

www/fossil_prompt.wiki became a regular file.

www/hacker-howto.wiki became a regular file.

www/hints.wiki became a regular file.

www/index.wiki became a regular file.

www/inout.wiki became a regular file.

www/makefile.wiki became a regular file.

www/mkdownload.tcl became a regular file.

www/mkindex.tcl became a regular file.

www/newrepo.wiki became a regular file.

www/password.wiki became a regular file.

www/permutedindex.html became a regular file.

www/pop.wiki became a regular file.

www/private.wiki became a regular file.

www/qandc.wiki became a regular file.

www/quickstart.wiki became a regular file.

www/quotes.wiki became a regular file.

www/reviews.wiki became a regular file.

www/scgi.wiki became a regular file.

www/selfcheck.wiki became a regular file.

www/selfhost.wiki became a regular file.

www/server.wiki became a regular file.

www/settings.wiki became a regular file.

www/shunning.wiki became a regular file.

www/ssl.wiki became a regular file.

www/stats.wiki became a regular file.

www/style.wiki became a regular file.

www/sync.wiki became a regular file.

www/tech_overview.wiki became a regular file.

www/theory1.wiki became a regular file.

www/tickets.wiki became a regular file.

www/uitest.html became a regular file.

www/webui.wiki became a regular file.

www/wikitheory.wiki became a regular file.