diff options
Diffstat (limited to 'src/stable/file.cpp')
-rw-r--r-- | src/stable/file.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stable/file.cpp b/src/stable/file.cpp index 3487068..05e4af1 100644 --- a/src/stable/file.cpp +++ b/src/stable/file.cpp | |||
@@ -34,6 +34,7 @@ Bu::File::File( const Bu::String &sName, int iFlags ) : | |||
34 | strerror(errno), sName.getStr() ); | 34 | strerror(errno), sName.getStr() ); |
35 | } | 35 | } |
36 | bEos = false; | 36 | bEos = false; |
37 | sLocation = "file:" + sName.clone(); | ||
37 | } | 38 | } |
38 | 39 | ||
39 | Bu::File::File( int fd ) : | 40 | Bu::File::File( int fd ) : |
@@ -274,7 +275,7 @@ Bu::size Bu::File::getBlockSize() const | |||
274 | 275 | ||
275 | Bu::String Bu::File::getLocation() const | 276 | Bu::String Bu::File::getLocation() const |
276 | { | 277 | { |
277 | return "to be implemented"; | 278 | return sLocation.clone(); |
278 | } | 279 | } |
279 | 280 | ||
280 | void Bu::File::stat( struct ::stat *pStat ) | 281 | void Bu::File::stat( struct ::stat *pStat ) |