- Apr 05, 2015
-
-
Yorhel authored
-
Yorhel authored
Can cause too much confusion otherwise; The imported data may not at all reflect the filesystem that ncdu has access to.
-
Yorhel authored
/bin/bash is not available on every system, nor always the default. /bin/sh is standardised, but not always the preferred interactive shell, hence it's configurable. There's no need to check for the existence of this shell during config, since it's an option that only affects run-time - and you may compile ncdu on a totally different system than you would run it on.
-
- Dec 14, 2014
-
-
Yorhel authored
The check for the system() exit status is slightly problematic, because bash returns the status code of the last command it executed. I've set it to only check for status code 127 now (command not found) in order to at least provide a message when the $SHELL command can't be found. This error can still be triggered when executing a nonexistant command within the shell and then exiting.
-
Thomas Jarosch authored
Key 'b' in the browse window spawns a shell in the current directoy. We first check the $SHELL environment variable of the user for the preferred shell interpreter. If it's not set, we fall back to the compile time configured default shell (usually /bin/bash). Signed-off-by:
Thomas Jarosch <thomas.jarosch@intra2net.com>
-
- Aug 03, 2014
-
-
Yorhel authored
As per http://dev.yorhel.nl/ncdu/bug/55
-
- Apr 13, 2014
-
-
Yorhel authored
Slightly modified patch from Gianluigi Tiesi. http://dev.yorhel.nl/ncdu/bug/47
-
- Jan 22, 2014
-
-
Yorhel authored
-
Yorhel authored
Turns out that being able to open an empty directory actually has its uses: - If you delete the last file in a directory, you now won't be directed to the parent directory anymore. This allows keeping 'd' pressed without worrying that you'll delete stuff outside of the current dir. (This is the primary motivation for doing this) - You can now scan and later refresh an empty directory, as suggested by #2 in http://dev.yorhel.nl/ncdu/bug/15
-
Yorhel authored
-
- Aug 23, 2013
-
-
Thomas Klausner authored
Fixes build on NetBSD.
-
- Jul 23, 2013
-
-
Yorhel authored
As per http://dev.yorhel.nl/ncdu/bug/31
-
Yorhel authored
This is a slightly modified patch contributed at http://dev.yorhel.nl/ncdu/bug/35
-
- Jun 05, 2013
-
-
Yorhel authored
This has apparently been broken since version 1.7 (v1.6-7-g5db9c2a to be precise), yet NOBODY TOLD ME!? :-( The OSS community has left me in despair!
-
- May 09, 2013
- Apr 25, 2013
- Apr 12, 2013
-
-
Yorhel authored
Tiny bug fix: The size of an excluded directory entry itself should not be counted, either. This is consistent with what you'd expect: A cache directory with thousands of files can easily take up several megabytes for the dir entry - but from the perspective of a backup system that recognizes cache dirs - the dir is empty, and therefore shouldn't take any extra space at all.
-
Yorhel authored
-
Petr Pudlak authored
-
Petr Pudlak authored
-
Petr Pudlak authored
-
Petr Pudlak authored
Use a macro instead of the global constant `cachedir_tag_signature`. Use `memcmp` instead of `strncmp`. Add `has_cachedir_tag` to exclude.h. (See http://dev.yorhel.nl/ncdu/bug/30)
-
- Apr 10, 2013
-
-
Petr Pudlak authored
A new command line parameter allows to filter out directories containing the proper `CACHEDIR.TAG` file. See http://www.brynosaurus.com/cachedir/
-
- Mar 09, 2013
-
-
Yorhel authored
-
- Mar 07, 2013
-
-
Justin Lecher authored
Ncurses provides a pkg-config module which could be used here. If not available we fall back to the old detection heuristic. Signed-off-by:
Justin Lecher <jlec@gentoo.org>
-
- Jan 18, 2013
-
-
Yorhel authored
-
- Jan 13, 2013
-
-
Chris West (Faux) authored
-
Chris West (Faux) authored
-
Chris West (Faux) authored
-
Chris West (Faux) authored
-
- Nov 22, 2012
-
-
Yorhel authored
I realized that I used addparentstats() with negative values when removing stuff, so it had to be done this way (without rewriting everything). It's a simple solution, anyway.
-
Yorhel authored
This mostly avoids the issue of getting negative sizes. It's still possible to get a negative size after refresh or deletion, I'll get to that in a bit.
-
Yorhel authored
They should now be able to cope with file sizes in the full (positive) range of a signed integer, i.e. 0 bytes to 8 EiB minus one byte. The size calculation of directories, however, may still overflow and cause negative integers to be passed around. That should be fixed.
-
Yorhel authored
As recent autoconf wants
-
- Sep 27, 2012