*
*/
-#define VERSION_NUMBER "1.2"
+#define VERSION_NUMBER "1.2.1"
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include <sys/types.h>
#include <sys/stat.h>
int ignore_empty_files = 0; /* 1 means ignore empty files */
-int show_realpaths = 0; /* 1 means ignore files and directories
- starting with a dot */
+int show_realpaths = 0; /* 1 show the canonical absolute pathname for
+ printed files */
int show_progress = 0; /* 1 means show a progress bar when we are in a
tty */
pid_t pid;
for(n = 0; n < nb; n++) {
- if(nodes[n]->group_id != nodes[n-1]->group_id) {
+ if(n > 0 && nodes[n]->group_id != nodes[n-1]->group_id) {
group_size = 0;
}
group_size++;