Re: [Midnight Commander] #247: mhl: realloc() -> malloc() when NULL passed



#247: mhl: realloc() -> malloc() when NULL passed
----------------------+-----------------------------------------------------
  Reporter:  metux    |       Owner:  metux   
      Type:  defect   |      Status:  accepted
  Priority:  major    |   Milestone:  4.6.3   
 Component:  mc-core  |     Version:  4.6.2   
Resolution:           |    Keywords:  rework  
  Blocking:           |   Blockedby:          
----------------------+-----------------------------------------------------
Changes (by slavazanko):

  * keywords:  review => rework


Comment:

 Don't compile.
 {{{
 findme.o: In function `findProgramPath':
 /srv/work/mc/git/src/findme.c:36: undefined reference to `mhl_mem_alloc_u'
 mountlist.o: In function `read_filesystem_list':
 /srv/work/mc/git/src/mountlist.c:306: undefined reference to
 `mhl_mem_alloc_u'
 /srv/work/mc/git/src/mountlist.c:326: undefined reference to
 `mhl_mem_alloc_u'
 popt.o: In function `poptAddAlias':
 /srv/work/mc/git/src/popt.c:513: undefined reference to `mhl_mem_realloc'
 /srv/work/mc/git/src/popt.c:518: undefined reference to `mhl_mem_alloc_u'
 popt.o: In function `handleExec':
 /srv/work/mc/git/src/popt.c:145: undefined reference to `mhl_mem_alloc_u'
 /srv/work/mc/git/src/popt.c:140: undefined reference to `mhl_mem_realloc'
 /srv/work/mc/git/src/popt.c:145: undefined reference to `mhl_mem_alloc_u'
 popt.o: In function `poptGetNextOpt':
 /srv/work/mc/git/src/popt.c:442: undefined reference to `mhl_mem_alloc_u'
 /srv/work/mc/git/src/popt.c:437: undefined reference to `mhl_mem_realloc'
 popt.o: In function `poptGetContext':
 /srv/work/mc/git/src/popt.c:64: undefined reference to `mhl_mem_alloc_u'
 /srv/work/mc/git/src/popt.c:75: undefined reference to `mhl_mem_alloc_u'
 /srv/work/mc/git/src/popt.c:77: undefined reference to `mhl_mem_alloc_u'
 /srv/work/mc/git/src/popt.c:86: undefined reference to `mhl_mem_alloc_u'
 poptconfig.o: In function `configLine':
 /srv/work/mc/git/src/poptconfig.c:55: undefined reference to
 `mhl_mem_realloc'
 }}}

 I'll rework this.

-- 
Ticket URL: <www.midnight-commander.org/ticket/247#comment:3>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]