Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Rename errno, DRY errnoException() #2492

Closed
wants to merge 19 commits into from

Conversation

bnoordhuis
Copy link
Member

  1. Rename errno to __errno to avoid clashing with user code. Maybe we should move it into the process object.
  2. Move errnoException() into util.

Passes all tests. Patches are against v0.6.

Review / thoughts, please.

ry and others added 19 commits January 3, 2012 17:15
- Save StringPtr if the header hasn't been completely received yet after one
  packet.
- Add one to num_fields and num_values. They were actually one less than the
  number of fields and values.
- Remove always_inline makes debugging difficult, and has negligible
  performance benefits.
- If V8 snapshots are enabled then the hash is only randomized at build time.
- Breaks MIPS

---
Backport hash collision workaround to 3.6.
This is made up of 9956, 10351, 10338 and 10330.
This change bakes the string hash key into the snapshot, so
it is determined at build time for shapshot configs.
Review URL: http://codereview.chromium.org/9124004
API addition needs to go in master. Also openssl-0.9.8k doesn't have
SSL_CTX_clear_options().

This reverts commit 6f8839d.
* V8 hash collision fix (Breaks MIPS) (Bert Belder, Erik Corry)

* Upgrade V8 to 3.6.6.15

* Upgrade npm to 1.1.0-beta-10 (isaacs)

* many doc updates (Ben Noordhuis, Jeremy Martin, koichik, Dave Irvine,
  Seong-Rak Choi, Shannen, Adam Malcontenti-Wilson, koichik)

* Fix segfault in node_http_parser.cc

* dgram, timers: fix memory leaks (Ben Noordhuis, Yoshihiro Kukuchi)

* repl: fix repl.start not passing the `ignoreUndefined` arg (Damon Oehlman)

* nodejs#1980: Socket.pause null reference when called on a closed Stream (koichik)

* nodejs#2263: XMLHttpRequest piped in a writable file stream hang (koichik)

* nodejs#2069: http resource leak (koichik)

* buffer.readInt global pollution fix (Phil Sung)

* timers: fix performance regression (Ben Noordhuis)

* nodejs#2308, nodejs#2246: node swallows openssl error on request (koichik)

* nodejs#2114: timers: remove _idleTimeout from item in .unenroll() (James Hartig)

* nodejs#2379: debugger: Request backtrace w/o refs (Fedor Indutny)

* simple DTrace ustack helper (Dave Pacheco)

* crypto: rewrite HexDecode without snprintf (Roman Shtylman)

* crypto: don't ignore DH init errors (Ben Noordhuis)
Overrides the path to the python binary. Defaults to `python`.
Move errnoException() into util, remove duplicated code.
Naming it `errno` was a mistake, the risk of name clashes with user code is too
high.
@bnoordhuis
Copy link
Member Author

Sorry, something went wrong while submitting the PR. Please see #2493.

@bnoordhuis bnoordhuis closed this Jan 8, 2012
@rstuven
Copy link

rstuven commented May 30, 2012

@vulkanr @kelnishi In my case, it was an interaction with long-stack-traces module too.

@CrabDude
Copy link

CrabDude commented Nov 9, 2012

LST-related resolution: See tlrobinson/long-stack-traces#9 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants