node/lib
cjihrig 76937051f8 os: refine tmpdir() trailing slash stripping
os.tmpdir() began stripping trailing slashes in
b57cc51d8d. This causes problems if
the temp directory is simply '/'. It also stripped trailing
slashes without first determining which slash type is used by
the current operating system. This commit only strips trailing
slashes if another character precedes the slash. On Windows, it
checks for ':', as not to strip slashes from something like 'C:\'.
It also only strips slashes that are appropriate for the user's
operating system.

Fixes: https://github.com/iojs/io.js/issues/1669
PR-URL: https://github.com/iojs/io.js/pull/1673
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Christian Tellnes <christian@tellnes.no>
2015-05-13 10:16:44 -04:00
..
internal repl: fix for a+ fd clearing the file on read 2015-05-04 10:45:14 -07:00
_debug_agent.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_debugger.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_http_agent.js http: logically respect maxSockets 2015-04-17 12:20:44 -04:00
_http_client.js Revert "url: significantly improve the performance of the url module" 2015-05-03 20:29:41 -07:00
_http_common.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
_http_incoming.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_http_outgoing.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_http_server.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_linklist.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_stream_transform.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_wrap.js streams: use strict on _stream_wrap 2015-03-28 04:06:01 +09:00
_stream_writable.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_tls_common.js tls: destroy singleUse context immediately 2015-04-30 11:02:30 +02:00
_tls_legacy.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
_tls_wrap.js tls_wrap: Unlink TLSWrap and SecureContext objects 2015-05-04 14:18:51 +03:00
assert.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
buffer.js buffer: little improve for Buffer.concat method 2015-04-23 14:12:32 -07:00
child_process.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
cluster.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
console.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
dgram.js dgram: call send callback asynchronously 2015-05-10 12:03:21 +09:00
dns.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
domain.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
events.js events: provide better error message for unhandled error 2015-05-12 08:33:20 -05:00
freelist.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
fs.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
http.js http: replace util._extend() with [].slice() 2015-02-02 14:52:02 -08:00
https.js Revert "url: significantly improve the performance of the url module" 2015-05-03 20:29:41 -07:00
module.js repl: add mode detection, cli persistent history 2015-04-30 19:33:05 -07:00
net.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
os.js os: refine tmpdir() trailing slash stripping 2015-05-13 10:16:44 -04:00
path.js path: reduce type checking on some methods 2015-03-19 21:11:12 -04:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
readline.js readline: turn emitKeys into a streaming parser 2015-05-10 04:48:50 +02:00
repl.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
smalloc.js lib: deprecate the smalloc module 2015-04-29 19:33:43 +02:00
stream.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
string_decoder.js string_decoder: don't cache Buffer.isEncoding 2015-04-28 11:13:39 -04:00
sys.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
timers.js timers: remove redundant code 2015-04-04 02:31:51 +03:00
tls.js tls: update default ciphers to use gcm and aes128 2015-05-11 13:37:48 +02:00
tty.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
url.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
util.js lib: fix eslint styles 2015-05-09 12:10:02 +09:00
v8.js lib: deprecate the smalloc module 2015-04-29 19:33:43 +02:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00