• 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: Alastair Houghton <email@hidden>
  • Date: Thu, 15 Dec 2005 00:46:41 +0000

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.

Kind regards,

Alastair.

--
www.alastairs-place.net


 _______________________________________________
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

  • Follow-Ups:
    • Re: avoid space in path names
      • From: Steve Checkoway <email@hidden>
    • Re: avoid space in path names
      • From: "Justin C. Walker" <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>)

  • 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