LRN: two directory patches change the way "is_directory" is evaluated.
authorChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2012 18:34:29 +0000 (18:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2012 18:34:29 +0000 (18:34 +0000)
commite483ac2a2c8eab6d5cc915c2f54ab2c27c469821
tree0cdd2d9b3cc4fc62b085fb2f71103a100313448e
parent3a04f1fdf2882b96608e164babcd34dbcb2ad777
LRN: two directory patches change the way "is_directory" is evaluated.
Now it must be GNUNET_YES for the execution flow to switch to a branch
where something is considered to be a directory.
The reason for that is that some functions might return GNUNET_SYSERR
when asked whether something is a directory or not. Checking this
value as "!= GNUNET_NO" will produce positive result, even though it's
not a directory.
src/fs/fs_api.c
src/fs/fs_dirmetascan.c
src/fs/fs_file_information.c
src/fs/fs_publish.c
src/fs/fs_sharetree.c
src/fs/gnunet-helper-fs-publish.c
src/fs/gnunet-publish.c