Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] unix.chop_extension
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-26 (13:27)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] unix.chop_extension
On May 26, 2004, at 12:34, skaller wrote:

> For example:
> #include <stdio.h>
> Woops. stdio.h doesn't denote a file. Neither does ./stdio.h.

What ???  "stdio.h" does denote a file, and "./stdio.h" does
denote the same file.  That file may or may not exist, but if
you open it with either name, you will access the same file,
whether it exists or not.

> Neither does 'foobar'.

"foobar" also denotes a file.

>  But either all are equivalent

No, they are not equivalent.  Opening "foobar" does not access
the same file as opening "stdio.h".

-- Damien

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: