D - newbie question
- Gerd Schering (12/12) Dec 13 2003 Hello,
- Andrew Edwards (3/15) Dec 14 2003 What system are you using? This works just fine on WinXP Pro.
- Ant (10/22) Dec 14 2003 I that the linux version?
- Gerd Schering (3/13) Dec 15 2003 Well, it is the linux version....
- Walter (3/4) Dec 18 2003 It's a known bug, and it'll get fixed in the next update. -Walter
Hello, I wrote the following little program, just to get aquainted with D: void main () { char[] dirname = "Newdir"; mkdir(dirname); } The programm compliles without error, but when I run it, it says: Error: Newdir: 0 The directory get's created. Any hint? Gerd
Dec 13 2003
"Gerd Schering" <Gerd_member pathlink.com> wrote in message news:brg0jk$2ifc$1 digitaldaemon.com...Hello, I wrote the following little program, just to get aquainted with D: void main () { char[] dirname = "Newdir"; mkdir(dirname); } The programm compliles without error, but when I run it, it says: Error: Newdir: 0 The directory get's created. Any hint? GerdWhat system are you using? This works just fine on WinXP Pro.
Dec 14 2003
In article <brg0jk$2ifc$1 digitaldaemon.com>, Gerd Schering says...Hello, I wrote the following little program, just to get aquainted with D: void main () { char[] dirname = "Newdir"; mkdir(dirname); } The programm compliles without error, but when I run it, it says: Error: Newdir: 0 The directory get's created. Any hint? GerdI that the linux version? Some file functions on the linux version throw an error when the system call returns normally, because they check for the wrong return code. seems create dir is one of those. (this error was reported before) You could wait for the next release or just go there an correct you local version of phobos. look for a bug report I posted on this news group. Ant
Dec 14 2003
In article <bri06v$2ca0$1 digitaldaemon.com>, Ant says... [...]The programm compliles without error, but when I run it, it says: Error: Newdir: 0 The directory get's created. Any hint?I that the linux version? Some file functions on the linux version throw an error when the system call returns normally, because they check for the wrong return code. seems create dir is one of those.Well, it is the linux version....
Dec 15 2003
"Gerd Schering" <Gerd_member pathlink.com> wrote in message news:brkbqs$2p8m$1 digitaldaemon.com...Well, it is the linux version....It's a known bug, and it'll get fixed in the next update. -Walter
Dec 18 2003