Opened 13 years ago

Last modified 9 years ago

#385 new enhancement

IZ2123: Change sge_strdup() arguments

Reported by: crei Owned by:
Priority: normal Milestone:
Component: sge Version: current
Severity: Keywords: cleanup
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2123]

        Issue #:      2123             Platform:     All           Reporter: crei (crei)
       Component:     gridengine          OS:        All
     Subcomponent:    cleanup          Version:      current          CC:    None defined
        Status:       STARTED          Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     Change sge_strdup() arguments
   Status whiteboard:
      Attachments:

     Issue 2123 blocks:
   Votes for issue 2123:


   Opened: Fri Nov 24 08:31:00 -0700 2006 
------------------------


Remove the sge_strdup() function from the utilib and use
strdup() on all used code locations. The system strdup()
should be faster.

   ------- Additional comments from crei Wed Nov 29 02:30:14 -0700 2006 -------
Some comments regarding the problem:

* The sge_strdup() wrapper is good, because on some Plattforms there
  is a core dump when a NULL pointer is used with strdup()

* The sge_strdup() should have the same prameters as the system strdup()
  and after checking the arguments even call the system strdup()


   ------- Additional comments from ernst Tue Jun 10 23:51:38 -0700 2008 -------
Current functionality of sge_strdup() will be available as sge_strdup_free() and
sge_strdup() can than be used like strdup()

Started.

   ------- Additional comments from crei Fri Feb 27 07:44:25 -0700 2009 -------
Is this cleanup finished?
Can we close this issue?

Change History (0)

Note: See TracTickets for help on using tickets.