0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Thomas Shinnick a5d90c435c path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array.  The loop indexes are initialized using
"array.length" rather than "array.length-1".  The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.

Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
2011-08-14 04:10:42 +02:00
..
_debugger.js fix an broken question. 2011-07-06 09:24:37 +09:00
_linklist.js Update copyright headers 2011-03-14 17:37:05 -07:00
assert.js Improve assert error messages 2011-08-09 14:20:06 -07:00
buffer_ieee754.js Incorporate endianness into buffer.read* function names instead of passing in a boolean flag 2011-08-12 15:49:57 +02:00
buffer.js Incorporate endianness into buffer.read* function names instead of passing in a boolean flag 2011-08-12 15:49:57 +02:00
child_process_legacy.js initial pass at lib/child_process_uv.js 2011-07-31 15:58:10 -07:00
child_process_uv.js Child processes: support windowsVerbatimArguments option 2011-08-05 22:57:45 +02:00
console.js util: add sprintf-like format() function 2011-07-30 02:11:31 +02:00
constants.js Update copyright headers 2011-03-14 17:37:05 -07:00
crypto.js crypto: PBKDF2 function from OpenSSL 2011-08-12 16:23:11 +02:00
dgram.js Update copyright headers 2011-03-14 17:37:05 -07:00
dns_legacy.js legacy c-ares binding should use legacy timer 2011-07-04 15:56:56 -07:00
dns_uv.js Revert "net_uv: fix localhost resolution - was defaulting to ::1 on OSX" 2011-07-14 15:29:21 -07:00
events.js Finally remove node::EventEmitter 2011-07-19 01:46:38 -07:00
freelist.js Update copyright headers 2011-03-14 17:37:05 -07:00
fs.js convert nonbuffer data to string in fs.writeFile/Sync 2011-07-23 23:56:08 +09:00
http2.js http: destroy socket on error 2011-08-11 23:39:38 +02:00
http.js Fix test-http-upgrade-server and test-http-parser 2011-08-08 17:12:26 -07:00
https2.js Fixes https host header default port handling. 2011-08-07 17:37:56 -07:00
https.js Add support for TLS SNI 2011-07-29 16:57:28 -07:00
module.js module: strip byte order marker when loading *.js and *.json files 2011-08-04 16:52:55 +02:00
net_legacy.js net: defer DNS lookup error events to next tick 2011-08-12 15:22:56 +02:00
net_uv.js net: defer DNS lookup error events to next tick 2011-08-12 15:22:56 +02:00
os.js Add arch/platform to os module 2011-04-26 20:04:32 -07:00
path.js path.js: correct three harmless .length typos 2011-08-14 04:10:42 +02:00
punycode.js punycode: Test for integer overflow 2011-07-06 13:17:50 -07:00
querystring.js Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty' 2011-08-11 15:36:02 -07:00
readline.js jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js 2011-07-29 11:58:02 -07:00
repl.js jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js 2011-07-29 11:58:02 -07:00
stream.js Close #1303 Stream.pipe returns the destination 2011-07-14 14:25:49 -07:00
string_decoder.js Update copyright headers 2011-03-14 17:37:05 -07:00
sys.js Update copyright headers 2011-03-14 17:37:05 -07:00
timers_legacy.js Enable new timer binding only on --use-uv 2011-06-29 15:14:55 +02:00
timers_uv.js Fix bug in timers_uv timeout recomputation 2011-07-05 01:31:23 +02:00
tls.js Add NPN and SNI documentation. 2011-08-10 09:44:35 -07:00
tty_posix.js Lazy load a few modules 2011-07-27 19:54:31 -07:00
tty_win32.js jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js 2011-07-29 11:58:02 -07:00
tty.js Update copyright headers 2011-03-14 17:37:05 -07:00
url.js jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js 2011-07-29 11:58:02 -07:00
util.js Improve util.format() compatibility with browser. 2011-08-08 23:24:05 +09:00
vm.js Don't conflict with V8's Script class 2011-03-30 10:06:25 -07:00