diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-08 21:14:43 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-08 21:14:43 -0400 |
commit | 431c950c75c2046864abfde0175219d13ce1fb84 (patch) | |
tree | f8e681626f26530637e9a9dcb02e48ac289b22b2 /src/stream.cc | |
parent | 63dffb843ba26ef6a8ea7552abefe0e1f749359c (diff) | |
download | fork-ledger-431c950c75c2046864abfde0175219d13ce1fb84.tar.gz fork-ledger-431c950c75c2046864abfde0175219d13ce1fb84.tar.bz2 fork-ledger-431c950c75c2046864abfde0175219d13ce1fb84.zip |
Use path.filename() instead of the deprecated path.leaf().
Diffstat (limited to 'src/stream.cc')
-rw-r--r-- | src/stream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.cc b/src/stream.cc index 403e579e..a9ecfe6a 100644 --- a/src/stream.cc +++ b/src/stream.cc @@ -87,7 +87,7 @@ namespace { // Find command name: its the substring starting right of the // rightmost '/' character in the pager pathname. See manpage for // strrchr. - path basename(pager_path.leaf()); + path basename(pager_path.filename()); execlp(pager_path.string().c_str(), basename.string().c_str(), (char *)0); |