mirror of https://github.com/djcb/mu.git
* mu-maildir.c: cosmetics
This commit is contained in:
parent
11b19e6476
commit
2861e622c9
|
@ -17,7 +17,7 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif /*HAVE_CONFIG_H*/
|
#endif /*HAVE_CONFIG_H*/
|
||||||
|
|
||||||
|
@ -442,7 +442,7 @@ dirent_copy (struct dirent *entry)
|
||||||
struct dirent *d;
|
struct dirent *d;
|
||||||
|
|
||||||
/* NOTE: simply memcpy'ing sizeof(struct dirent) bytes will
|
/* NOTE: simply memcpy'ing sizeof(struct dirent) bytes will
|
||||||
* give memory errors. Also note, g_slice_new has been to
|
* give memory errors. Also note, g_slice_new has been known to
|
||||||
* crash on FreeBSD */
|
* crash on FreeBSD */
|
||||||
d = g_slice_new (struct dirent);
|
d = g_slice_new (struct dirent);
|
||||||
|
|
||||||
|
@ -473,10 +473,10 @@ dirent_cmp (struct dirent *d1, struct dirent *d2)
|
||||||
|
|
||||||
|
|
||||||
/* we sort the inodes if the FS's dirent has them. It makes
|
/* we sort the inodes if the FS's dirent has them. It makes
|
||||||
* file-access much faster on some filesystems, such as
|
* file-access much faster on some filesystems, such as ext3,4.
|
||||||
* ext3,4. readdir_with_stat_fallback is a wrapper for readdir
|
*
|
||||||
* that falls back to (slow) stats if the FS does not support
|
* readdir_with_stat_fallback is a wrapper for readdir that falls back
|
||||||
* entry->d_type
|
* to (slow) lstats if the FS does not support entry->d_type
|
||||||
*/
|
*/
|
||||||
static MuResult
|
static MuResult
|
||||||
process_dir_entries_sorted (DIR *dir, const char* path, const char* mdir,
|
process_dir_entries_sorted (DIR *dir, const char* path, const char* mdir,
|
||||||
|
|
Loading…
Reference in New Issue