? 1003958-1-remove-reference-reference-in-_node_save_revision-docs.patch
? modules/node/.node.module.swp
? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.1333
diff -u -p -r1.1333 node.module
--- modules/node/node.module	15 Dec 2010 03:47:28 -0000	1.1333
+++ modules/node/node.module	21 Dec 2010 05:09:34 -0000
@@ -1159,8 +1159,8 @@ function node_save($node) {
 /**
  * Helper function to save a revision with the uid of the current user.
  *
- * Node is taken by reference, because drupal_write_record() updates the
- * $node with the revision id, and we need to pass that back to the caller.
+ * The revision ID provided by drupal_write_record() is available to the 
+ * calling function via the $node object.
  */
 function _node_save_revision($node, $uid, $update = NULL) {
   $temp_uid = $node->uid;
@@ -1171,6 +1171,7 @@ function _node_save_revision($node, $uid
   else {
     drupal_write_record('node_revision', $node);
   }
+  // Node object must reflect the node owner's uid, not the revision author's.
   $node->uid = $temp_uid;
 }
 
