Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310587
b: refs/heads/master
c: ea1b3eb
h: refs/heads/master
i:
  310585: 188574e
  310583: 1c6be29
v: v3
  • Loading branch information
Avik Sil authored and Arnaldo Carvalho de Melo committed May 30, 2012
1 parent 9be64f7 commit 225261c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1439c315b328bbb3f7f6fdd814a7057f9e130d5
refs/heads/master: ea1b3ebac9a1c72c4362c784b4ed069a938a4ddb
4 changes: 4 additions & 0 deletions trunk/tools/perf/util/pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ void setup_pager(void)
}
if (!pager)
pager = getenv("PAGER");
if (!pager) {
if (!access("/usr/bin/pager", X_OK))
pager = "/usr/bin/pager";
}
if (!pager)
pager = "less";
else if (!*pager || !strcmp(pager, "cat"))
Expand Down

0 comments on commit 225261c

Please sign in to comment.