? .DS_Store
? modules/system/system.admin
? sites/all/modules/devel
? sites/default/files
? sites/default/settings.php
? themes/.DS_Store
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.904
diff -u -p -r1.904 comment.module
--- modules/comment/comment.module	5 Oct 2010 06:17:28 -0000	1.904
+++ modules/comment/comment.module	12 Oct 2010 02:46:57 -0000
@@ -1440,6 +1440,10 @@ function comment_save($comment) {
     module_invoke_all('comment_presave', $comment);
 
     if ($comment->cid) {
+      if (empty($comment->name)) {
+        $comment->uid = 0;
+        $comment->name = variable_get('anonymous', t('Anonymous'));
+      }
       // Update the comment in the database.
       db_update('comment')
         ->fields(array(
@@ -1879,6 +1883,7 @@ function comment_form($form, &$form_stat
       '#default_value' => $author,
       '#maxlength' => 60,
       '#size' => 30,
+      '#description' => !empty($comment->cid) ? t('Leave this field blank to make this an anonymous comment.') : '',
     );
     // If the comment is by a registered user, allow to autocomplete username.
     if ($comment->registered_name != '') {
@@ -2158,7 +2163,9 @@ function comment_form_submit_build_comme
  */
 function comment_form_submit($form, &$form_state) {
   $node = node_load($form_state['values']['nid']);
+
   $comment = $form['#builder_function']($form, $form_state);
+
   if (user_access('post comments') && (user_access('administer comments') || $node->comment == COMMENT_NODE_OPEN)) {
     // Save the anonymous user information to a cookie for reuse.
     if (!$comment->uid) {
