Overview
SHA1 Hash: | c841af0d501417c67cc1e8758ebbb85381c5e5d7 |
---|---|
Date: | 2007-09-24 19:42:15 |
User: | mjanssen |
Comment: | Fixed error with absolute pathnames when opening a repo on Win32 |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified Makefile.w32 from [eaef66a4a3] to [c6249fceb5].
@@ -25,11 +25,11 @@ # for building intermediate code-generator tools. # #TCC = gcc -O6 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage #TCC = gcc -g -Os -Wall -TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 +TCC = gcc -g -Os -Wall -DFOSSIL_I18N=0 -L/usr/local/lib -I/usr/local/include #### Extra arguments for linking the finished binary. Fossil needs # to link against the Z-Lib compression library. There are no # other dependencies. We sometimes add the -static option here # so that we can build a static executable that will run in a
Modified src/file.c from [0453cec099] to [18cdda54a2].
@@ -182,11 +182,11 @@ ** Remove redundant / characters ** Remove all /./ path elements. ** Convert /A/../ to just / */ void file_canonical_name(const char *zOrigName, Blob *pOut){ - if( zOrigName[0]=='/' ){ + if( zOrigName[0]=='/' || (zOrigName[1]==':' && zOrigName[2]=='\\') ){ blob_set(pOut, zOrigName); blob_materialize(pOut); }else{ char zPwd[2000]; if( getcwd(zPwd, sizeof(zPwd)-20)==0 ){