Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.837
diff -u -p -r1.837 node.module
--- modules/node/node.module	24 Jun 2007 00:38:40 -0000	1.837
+++ modules/node/node.module	24 Jun 2007 02:17:44 -0000
@@ -3142,6 +3142,7 @@ function node_content_form($node, $form_
       '#title' => check_plain($type->title_label),
       '#required' => TRUE,
       '#default_value' => $node->title,
+      '#maxlength' => 255,
       '#weight' => -5,
     );
   }
Index: modules/node/node.schema
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.schema,v
retrieving revision 1.3
diff -u -p -r1.3 node.schema
--- modules/node/node.schema	15 Jun 2007 18:40:14 -0000	1.3
+++ modules/node/node.schema	24 Jun 2007 02:27:02 -0000
@@ -8,7 +8,7 @@ function node_schema() {
       'vid'       => array('type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'default' => 0),
       'type'      => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
       'language'  => array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''),
-      'title'     => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+      'title'     => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
       'uid'       => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
       'status'    => array('type' => 'int', 'not null' => TRUE, 'default' => 1),
       'created'   => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
@@ -72,7 +72,7 @@ function node_schema() {
       'nid'       => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0),
       'vid'       => array('type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE),
       'uid'       => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
-      'title'     => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+      'title'     => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
       'body'      => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
       'teaser'    => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
       'log'       => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.123
diff -u -p -r1.123 system.install
--- modules/system/system.install	23 Jun 2007 11:15:15 -0000	1.123
+++ modules/system/system.install	24 Jun 2007 02:30:14 -0000
@@ -3362,6 +3362,17 @@ function system_update_6024() {
 }
 
 /**
+ * Increase the maximum length of node titles from 128 to 255.
+ */
+function system_update_6025() {
+  $ret = array();
+  db_update_field($ret, 'node', 'title');
+  db_update_field($ret, 'node_revisions', 'title');
+  return $ret;
+}
+
+
+/**
  * @} End of "defgroup updates-5.x-to-6.x"
  * The next series of updates should start at 7000.
  */
