[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] file path normalization for my-revision-library
From: |
Aaron Bentley |
Subject: |
Re: [Gnu-arch-users] file path normalization for my-revision-library |
Date: |
06 Jan 2004 09:13:24 -0500 |
Hi James,
On Tue, 2004-01-06 at 04:08, James Blackwell wrote:
> > This tiny patch adds path normalization to my-revision-library. At the
> > moment, normalization merely removes any trailing backslashes.
> >
> > http://www.aaronbentley.com/tla-devel
> > revision tlasrc--local--1.2--patch-7
>
> I took this patch into my integration branch,
Thanks for taking the patch.
> with some modifications to the normalize_path function.
I believe your altered version will
1. convert "/" into ""
2. exhibit undefined behaviour when the argument is "", because we'll
try to access input [ -1 ]
Neither is likely to be a problem in the real world, however.
Aaron
--
Aaron Bentley
Director of Technology
PanoMetrics, Inc.