On Tue, Nov 6, 2012 at 12:53 PM, Matt Welland <[email protected]> wrote:
> Reported a while ago, any progress or work-around?
>
Does the following change help?
Index: src/blob.c
==================================================================
--- src/blob.c
+++ src/blob.c
@@ -800,11 +800,11 @@
** The if stops us from trying to create a directory of a drive
letter
** C: in this example.
*/
if( !(i==2 && zName[1]==':') ){
#endif
- if( file_mkdir(zName, 1) ){
+ if( file_mkdir(zName, 1) && file_isdir(zName)!=1 ){
fossil_fatal_recursive("unable to create directory %s", zName);
return 0;
}
#if defined(_WIN32)
}
>
> Fossil still has a problem with /var/tmp. May be related to it being a
> symlink?
>
> bash-3.00$ ~/bin/fossil gdiff --to d69a --from 4509
> Index: dashboard.scm
> ==================================================================
> /nfs/site/home/mrwellan/bin/fossil: unable to create directory /var/tmp
>
> ==============
> bash-3.00$ fossil test-canonical-name / /var /var/tmp
> [/] -> [/]
> file_size = 4096
> file_mtime = 1352222459
> file_isfile = 0
> file_isfile_or_link = 0
> file_islink = 0
> file_isexe = 0
> file_isdir = 1
> [/var] -> [/var]
> file_size = 4096
> file_mtime = 1352222459
> file_isfile = 0
> file_isfile_or_link = 0
> file_islink = 0
> file_isexe = 0
> file_isdir = 1
> [/var/tmp] -> [/var/tmp]
> file_size = 4096
> file_mtime = 1352224050
> file_isfile = 0
> file_isfile_or_link = 0
> file_islink = 0
> file_isexe = 0
> file_isdir = 1
>
> ===========
> bash-3.00$ ls -l /var
> total 96
> ...
> drwxr-xr-x 13 root root 4096 2010-10-08 20:54 spool
> lrwxrwxrwx 1 root root 12 2010-10-08 20:54 tmp -> /tmp/var.tmp
> drw------- 4 root root 4096 2010-10-08 20:54 tmp.old
> ...
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
--
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users