Revision: 3342
Author: [email protected]
Date: Fri Nov 20 05:08:44 2009
Log: Change the signature for StrNDup to match the implementation.  This
mismatch causes problems if attempting to build d8 with readline
support.

Review URL: http://codereview.chromium.org/414033
http://code.google.com/p/v8/source/detail?r=3342

Modified:
  /branches/bleeding_edge/src/allocation.h

=======================================
--- /branches/bleeding_edge/src/allocation.h    Mon May 25 03:05:56 2009
+++ /branches/bleeding_edge/src/allocation.h    Fri Nov 20 05:08:44 2009
@@ -124,7 +124,7 @@
  // and StrNDup uses new and calls the FatalProcessOutOfMemory handler
  // if allocation fails.
  char* StrDup(const char* str);
-char* StrNDup(const char* str, size_t n);
+char* StrNDup(const char* str, int n);


  // Allocation policy for allocating in the C free store using malloc

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to