Set HOME_DIR to "/". Should fix FS#12500.

The reasons for not using / don't seem to be valid (It can lead to //,
true, but not on any system where // is actually special, and
create_*_filename() handles / fine albeit not perfectly (more //)).

Handling /./ is desirable, but we can't afford to leave all automatic
filename generation broken indefinitely while people discuss possible
approaches.

Change-Id: I6718ea28d7c91e19f7da89f76c8cefd92e12fe5e
This commit is contained in:
Frank Gevaerts 2012-01-17 18:44:29 +01:00
parent 978e506f1b
commit 6e11289cc2

View file

@ -49,7 +49,7 @@
#ifdef SAMSUNG_YPR0 #ifdef SAMSUNG_YPR0
#define HOME_DIR "/mnt/media0" #define HOME_DIR "/mnt/media0"
#else #else
#define HOME_DIR "/." /* dot to avoid "//XX", /./X is valid */ #define HOME_DIR "/"
#endif #endif
/* make sure both are the same for native builds */ /* make sure both are the same for native builds */