IWETHEY v. 0.3.0
|
TODO
1,095 registered users | 0
active users
| 0 LpH |
Statistics
Login
|
Create New User
Welcome to IWETHEY!
IWETHEY Home
/
IWETHEY Board
/
Theory and Practice of Programming Forum
/
Not just Python
Post #353,847
by
scoenye
1/31/12 8:03:35 PM
Reply
Not just Python
A C version would lead to some headscratching as you wonder why cwd puts you a level above what you intended.
Post #353,852
by
Another Scott
1/31/12 8:28:55 PM
Reply
Null terminated strings are evil.
Yeah, it's something that made sense at the time when C was designed, but now...
</DonQuixote>
Cheers,
Scott.
Well that was fun. A NULL in a directory name?
- (
Another Scott
)
- (12)
- Jan. 31, 2012, 02:48:18 PM EST
There is also a difference...
- (
folkert
)
- Jan. 31, 2012, 03:17:01 PM EST
Re: Well that was fun. A NULL in a directory name?
- (
mvitale
)
- (4)
- Jan. 31, 2012, 03:48:32 PM EST
What Mike said...
- (
scoenye
)
- (2)
- Jan. 31, 2012, 07:30:19 PM EST
Thanks for the correction.
- (
Another Scott
)
- Jan. 31, 2012, 07:54:29 PM EST
Backslashes are for escaping things
- (
malraux
)
- Jan. 31, 2012, 08:16:35 PM EST
It's an easy fix.
- (
Another Scott
)
- Jan. 31, 2012, 07:44:51 PM EST
for what it's worth
- (
lincoln
)
- (3)
- Jan. 31, 2012, 03:51:17 PM EST
It's not an OS issue, it a python method issue.
- (
Another Scott
)
- (2)
- Jan. 31, 2012, 07:47:38 PM EST
Not just Python
- (
scoenye
)
- (1)
- Jan. 31, 2012, 08:03:35 PM EST
Null terminated strings are evil.
- (
Another Scott
)
- Jan. 31, 2012, 08:28:55 PM EST
This is, of course, actually a Windows bug.
- (
static
)
- (1)
- Jan. 31, 2012, 08:13:53 PM EST
Blame Kildall.
- (
Another Scott
)
- Jan. 31, 2012, 08:22:48 PM EST
i
we
they
.org
This is untested and you're my guinea pig.
82 ms