Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Commit 9a63478

Browse files
committed
Update usages of 'OSX' (and other old names) to 'macOS'.
As of last year with version 'Sierra', the Mac operating system is now called 'macOS'.
1 parent ed03175 commit 9a63478

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

terminfo/searcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub fn get_dbpath_for_term(term: &str) -> Option<PathBuf> {
6767
p.pop();
6868

6969
// on some installations the dir is named after the hex of the char
70-
// (e.g. OS X)
70+
// (e.g. macOS)
7171
p.push(&format!("{:x}", first_char as usize));
7272
p.push(term);
7373
if fs::metadata(&p).is_ok() {
@@ -82,7 +82,7 @@ pub fn get_dbpath_for_term(term: &str) -> Option<PathBuf> {
8282
#[ignore(reason = "buildbots don't have ncurses installed and I can't mock everything I need")]
8383
fn test_get_dbpath_for_term() {
8484
// woefully inadequate test coverage
85-
// note: current tests won't work with non-standard terminfo hierarchies (e.g. OS X's)
85+
// note: current tests won't work with non-standard terminfo hierarchies (e.g. macOS's)
8686
use std::env;
8787
// FIXME (#9639): This needs to handle non-utf8 paths
8888
fn x(t: &str) -> String {

0 commit comments

Comments
 (0)