Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't remember for sure, might have been a Windows machine. I just tried it on my Mavericks OS X. It was allowed, but instead of:

       sdf/index.html
it auto-translated to this:

       sdf:index.html


(i'm assuming that's not a Sublime Text 3 thing, which is what I just tested on)


This fails on a Mac (10.9) and on CENTOS5 (2.6.18):

    #include <unistd.h>
    #include <fcntl.h>
    #include <stdio.h>

    int main()
    {
        int fd = creat("foo/bar", 1);
        if (fd == -1) {
            printf("error\n");
        } else {
            close(fd);
        }
        return 0;
    }




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: