Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r1627 - trunk: . fsvs fsvs/src

fsvs
Discussion topic

Back to topic list

svn commit: r1627 - trunk: . fsvs fsvs/src

Author pmarek
Full name P.Marek
Date 2008-04-22 23:24:07 PDT
Message Author: pmarek
Date: 2008-04-22 23:24:07-0700
New Revision: 1627

Modified:
   trunk/ (props changed)
   trunk/fsvs/CHANGES
   trunk/fsvs/src/waa.c

Log:
Fix for waa__mkdir() - check if the existing inode is a directory.




Modified: trunk/fsvs/CHANGES
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/CHANGES​?view=diff&rev=1​627&p1=trunk/fsv​s/CHANGES&p2=tru​nk/fsvs/CHANGES&​r1=1626&r2=1627
====================​====================​====================​==================
--- trunk/fsvs/CHANGES (original)
+++ trunk/fsvs/CHANGES 2008-04-22 23:24:07-0700
@@ -23,6 +23,8 @@
 - Fixed some issues in the example/setup.sh script.
 - Moved a lot of structure members, to avoid padding (esp. on 64bit).
 - Some bigger cleanups (FS_CHILD_CHANGED)
+- Fix for waa__mkdir() not seeing that the existing inode isn't a
+ directory.
 
 Changes since 1.1.14
 - Fixed a bug in the shadow-clean.pl script; it wouldn't remove the

Modified: trunk/fsvs/src/waa.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/trunk/fsvs/src/waa​.c?view=diff&rev​=1627&p1=trunk/f​svs/src/waa.c&p2​=trunk/fsvs/src/waa.​c&r1=1626&r2​=1627
====================​====================​====================​==================
--- trunk/fsvs/src/waa.c (original)
+++ trunk/fsvs/src/waa.c 2008-04-22 23:24:07-0700
@@ -331,6 +331,11 @@
         else
             STOPIF(status, "cannot lstat(%s)", dir);
     }
+ else
+ {
+ STOPIF_CODE_ERR( including_last && !S_ISDIR(buf.st_mode), ENOTDIR,
+ "\"%s\" is not a directory", dir);
+ }
 
 ex:
     return status;

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r1627 - trunk: . fsvs fsvs/src pmarek P.Marek 2008-04-22 23:24:07 PDT
Messages per page: