Opened 10 years ago

Closed 10 years ago

#4946 closed bug (fixed)

[bash] uses incorrect path to hosts file

Reported by: augiedoggie Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The file pathnames.h shows that bash is looking for a hosts file in /etc/hosts but this file was moved to B_COMMON_SETTINGS_DIRECTORY/network/hosts in hrev33972

Change History (4)

comment:1 Changed 10 years ago by anevilyak

Component: - GeneralApplications/Command Line Tools
Owner: changed from nobody to korli

comment:2 Changed 10 years ago by korli

Summary: bash4 uses incorrect path to hosts file[bash] uses incorrect path to hosts file

The problem was not specific to bash 4

comment:3 Changed 10 years ago by axeld

Owner: changed from korli to axeld
Version: R1/alpha1R1/Development

Indeed; it's only used for the tab completion. Since that is my oversight, I reassign this bug to me, or do you want to solve this, korli? :-)

For reference, the path is only referenced once in bashline.c, line 642.

comment:4 Changed 10 years ago by korli

Resolution: fixed
Status: newclosed

Thanks Axel! I applied a patch in hrev34027. Tested OK.

Note: See TracTickets for help on using tickets.