This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pending/1012: Re: gdb/93: Nuke PTR


>Number:         1012
>Category:       pending
>Synopsis:       Re: gdb/93: Nuke PTR
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   unknown
>Arrival-Date:   Fri Jan 31 16:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Just a note: gdb HEAD%20030131 still has some PTR uses.
 
   c-exp.y:                        { free ((PTR)$2); $$ = 0; }
   f-exp.y:                        { free ((PTR)$2); $$ = 0; }
   objc-exp.y:                     { free ((PTR)$2); $$ = 0; }
   utils.c:extern PTR malloc ();
   utils.c:extern PTR realloc ();
   utils.c:/* NOTE: These must use PTR so that their definition matches the
   utils.c:/* NOTE: These are declared using PTR to ensure consistency with
   utils.c:PTR
   utils.c:PTR
   utils.c:xrealloc (PTR ptr, size_t size)
   utils.c:PTR
   utils.c:/* Make a copy of the string at PTR with SIZE characters
 
 So maybe this PR should be 'open' or 'suspended', not 'closed'.
 But I won't mind if it stays 'closed'.
 
 Michael C
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]