Files
node/test/parallel
Richard Lau 2400cbcf7c fs: fix infinite loop with async recursive mkdir on Windows
If `file` is a file then on Windows `mkdir` on `file/a` returns an
`ENOENT` error while on POSIX the equivalent returns `ENOTDIR`. On the
POSIX systems `ENOTDIR` would break out of the loop but on Windows the
`ENOENT` would strip off the `a` and attempt to make `file` as a
directory. This would return `EEXIST` but the code wasn't detecting
that the existing path was a file and attempted to make `file/a` again.

PR-URL: https://github.com/nodejs/node/pull/27207
Fixes: https://github.com/nodejs/node/issues/27198
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
2019-04-16 13:59:43 -04:00
..
2019-04-11 15:43:07 -04:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-04-11 05:40:59 +02:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-02-28 05:20:51 +01:00
2019-04-16 03:37:03 +02:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-01-10 09:00:22 -05:00
2019-01-08 12:57:24 -06:00
2019-03-14 18:51:20 +01:00
2019-01-05 21:36:47 +01:00