This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: [ECOS] Bugs in path handling for JFFS2, RAMFS and ROMFS
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Vincent Catros <Vincent dot Catros at elios-informatique dot fr>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Fri, 20 Feb 2004 20:02:21 +0100
- Subject: Re: [ECOS] Bugs in path handling for JFFS2, RAMFS and ROMFS
- References: <000001c3f7b1$6a93f7a0$7407a8c0@figuier>
On Fri, Feb 20, 2004 at 01:59:46PM +0100, Vincent Catros wrote:
> Hello,
>
> I found 2 bugs in path handling for JFFS2, RAMFS and ROMFS.
>
> BUG 1 : Multi '/' path.
> Description :
> If you use path with multi '/' that doesn't work.
> i.e : chdir("/tmp////tmp")
>
>
> BUG 2 : '/' terminated path.
> If you use path terminated with a '/' that doesn't work.
> i.e : chdir("/tmp/")
>
> Proposed patchs fixe this issues.
I know this is generally accepted with unix like systems, but could
somebody point me towards a section of the POSIX standard that states
this?
Thanks
Andrew