[Midnight Commander] #243: Replace g_malloc0() mhl_mem_alloc_z()

Ticket System tickets at midnight-commander.org
Thu Feb 5 11:00:18 UTC 2009


#243: Replace g_malloc0() mhl_mem_alloc_z()
----------------------+-----------------------------------------------------
  Reporter:  metux    |       Owner:  metux                 
      Type:  defect   |      Status:  accepted              
  Priority:  major    |   Milestone:  4.7                   
 Component:  mc-core  |     Version:  4.6.2                 
Resolution:           |    Keywords:  review vote-slavazanko
  Blocking:           |   Blockedby:                        
----------------------+-----------------------------------------------------
Changes (by slavazanko):

  * keywords:  review => review vote-slavazanko


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'
 }}}

 Errors fixed. Please review.

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


More information about the mc-devel mailing list