• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: avoid space in path names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid space in path names


  • Subject: Re: avoid space in path names
  • From: "Justin C. Walker" <email@hidden>
  • Date: Wed, 14 Dec 2005 17:05:54 -0800


On Dec 14, 2005, at 16:46 , Alastair Houghton wrote:

On 15 Dec 2005, at 00:37, Justin C. Walker wrote:

On Dec 14, 2005, at 16:11 , Eric Albert wrote:

I'm pretty sure realpath(3) will return the correct case, so apps can differentiate between x.c and x.C that way.

Maybe, but I get this:

$ ./foo
/private/tmp/Libc-391.2.3/stdlib/FreeBSD/foo.c
$ mv foo.c foo.C
$ ./foo
/private/tmp/Libc-391.2.3/stdlib/FreeBSD/foo.C

Looks right to me (and exactly what Eric and I would expect, I think). The point is that you can tell which you've got by looking at the result of calling realpath(). OK, you can open either name and you'll get a file descriptor, but that's fine; we're just talking about the case where the app has to distinguish the name.


Anyway, as I said, I bet GCC just looks at the command line.

OK, I think we may be discussing angels on pin-heads, in some sense. I finally see what you and Eric intended, in any case.


Cheers,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >avoid space in path names (From: Stefan Werner <email@hidden>)
 >Re: avoid space in path names (From: David Fang <email@hidden>)
 >Re: avoid space in path names (From: "Sean McBride" <email@hidden>)
 >Re: avoid space in path names (From: Steve Checkoway <email@hidden>)
 >Re: avoid space in path names (From: "Justin C. Walker" <email@hidden>)
 >Re: avoid space in path names (From: Graham J Lee <email@hidden>)
 >Re: avoid space in path names (From: "Justin C. Walker" <email@hidden>)
 >Re: avoid space in path names (From: Eric Albert <email@hidden>)
 >Re: avoid space in path names (From: "Justin C. Walker" <email@hidden>)
 >Re: avoid space in path names (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: avoid space in path names
  • Next by Date: Re: avoid space in path names
  • Previous by thread: Re: avoid space in path names
  • Next by thread: Re: avoid space in path names
  • Index(es):
    • Date
    • Thread