aboutsummaryrefslogtreecommitdiff
path: root/src/stable/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/file.cpp3
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
39Bu::File::File( int fd ) : 40Bu::File::File( int fd ) :
@@ -274,7 +275,7 @@ Bu::size Bu::File::getBlockSize() const
274 275
275Bu::String Bu::File::getLocation() const 276Bu::String Bu::File::getLocation() const
276{ 277{
277 return "to be implemented"; 278 return sLocation.clone();
278} 279}
279 280
280void Bu::File::stat( struct ::stat *pStat ) 281void Bu::File::stat( struct ::stat *pStat )