Opened 14 years ago

Closed 14 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:
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 by anevilyak, 14 years ago

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

comment:2 by korli, 14 years ago

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 by axeld, 14 years ago

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 by korli, 14 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.