[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conflicts between pathname.h and dirname.h
From: |
Ben Pfaff |
Subject: |
Re: conflicts between pathname.h and dirname.h |
Date: |
Sun, 25 Feb 2007 08:36:28 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Ben Pfaff wrote:
>> Here is my attempt at a minimally invasive resolution of the
>> differences
>
> This is backwards. You introduce a dependency from a simple module to a
> complicated module. The purpose of 'filename' (ex-'pathname') is to do
> the most simple filename manipulations: analysis and concatenation. Why
> should it depend on a module that defines functions base_name(), dir_name(),
> last_component(), strip_trailing_slashes() ?
It's not clear to me that concatenation is much simpler than
extraction, but now I can use both headers at once, which is what
I wanted. Thanks Bruno!
--
Ben Pfaff
address@hidden
http://benpfaff.org