3 ms·
> that is, the forward-slash was part of the filename, not the path...which I didn't even know was possible on any platform Nor did I. Which platform?
by dded 13y ago
> that is, the forward-slash was part of the filename, not the path...which I didn't even know was possible on any platform
Nor did I. Which platform?
- danso 13y agoDon'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)
- dded 13y agoThis 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; }
- deleted 13y ago[deleted]