Reply to topic
Linux Patching
bobum
Elvis Fanatic
Elvis Fanatic

Joined: 16 Nov 2004
Posts: 746
Location: Montgomery, AL
Reply with quote
Ok - I am creating a diff in Linux so that I can share my script modifications with the world...

When I create the diff, it looks perfect, except for a few lines that are prepended with ++ instead of + in my diff.
Does anyone know what the two plus signs indicate in a diff vs. the standard +?

Here's a snip of the resulting diff so you can see what I mean...I'm perplexed..

Code:
+            WHERE p.enabled=1 AND
+               p.view_state='$t_prv' AND
+               u.user_id IS NULL
+            ORDER BY p.name";
+      $result = db_query( $query );
+      $category_count = db_num_rows( $result );
+      for ($i=0;$i<$category_count;$i++) {
+         $row = db_fetch_array( $result );
++         $t_project_name = $row["name"];
++         $t_id = $row["id"];
++         PRINT "<option value=\"$t_id\">$t_project_name</option>";
++      }
++   }
++   # --------------------
++   # list of projects that a user is NOT in
++   function print_project_user_list( $p_user_id ) {
++      global   $g_mantis_project_user_list_table, $g_mantis_project_table,
++            $s_remove_link, $g_manage_user_proj_delete;
++


Note how it goes from + to ++ in the middle of thepatch file...anybody wanna hazard a guess? I've not seen this before.
Linux Patching
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic