OSSP CVS Repository

ossp - Difference in ossp-pkg/getopt/getopt.c versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/getopt/getopt.c 1.1 -> 1.2

--- getopt.c     2003/03/07 10:35:16     1.1
+++ getopt.c     2005/10/05 10:11:57     1.2
@@ -333,8 +333,8 @@
         nonoption_flags_len = nonoption_flags_max_len = 0;
       else
         {
-          memset (__mempcpy (new_str, __getopt_nonoption_flags,
-                             nonoption_flags_max_len),
+          memset (mempcpy (new_str, __getopt_nonoption_flags,
+                           nonoption_flags_max_len),
                   '\0', top + 1 - nonoption_flags_max_len);
           nonoption_flags_max_len = top + 1;
           __getopt_nonoption_flags = new_str;
@@ -444,7 +444,7 @@
               if (__getopt_nonoption_flags == NULL)
                 nonoption_flags_max_len = -1;
               else
-                memset (__mempcpy (__getopt_nonoption_flags, orig_str, len),
+                memset (mempcpy (__getopt_nonoption_flags, orig_str, len),
                         '\0', nonoption_flags_max_len - len);
             }
         }

CVSTrac 2.0.1