Re: [PATCH/RFC] daemon.c: replace inet_ntop with getnameinfo
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- May 7, 2009, 13:45 UTC
- Message-ID
- <89EC8961-0122-4616-A497-9204F52B8807@silverinsanity.com>
- In-Reply-To
- <m3tz3xm3zt.fsf@localhost.localdomain>
On May 7, 2009, at 9:34 AM, Jakub Narebski wrote:
> BTW. this is not only MS Windows that have problems with ':' in paths > (because of it being drive letter separator), but also IIRC MacOS X, > where ':' and not '/' is directory separator.
Just FYI:
: was the directory separator in Mac OS 1-9. OS X uses / like most sane people. Finder will stop you from creating files or directories with : in the name, but the following works just fine from Terminal.app:
$ uname -a Darwin Laptop.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 $ touch test:test $ ls test* test:test $ rm test:test $
~~ Brian