Re: [Midnight Commander] #180: (mandriva) concat_dir_and_file() + NULL parameter fix

#180: (mandriva) concat_dir_and_file() + NULL parameter fix
  Reporter:  metux    |       Owner:  metux                            
      Type:  defect   |      Status:  reopened                         
  Priority:  major    |   Milestone:  4.6.2                            
 Component:  mc-core  |     Version:  4.6.1                            
Resolution:           |    Keywords:  committed-mc-4.6 committed-master
  Blocking:           |   Blockedby:                                   
Changes (by andrew_b):

  * status:  closed => reopened
  * resolution:  fixed =>


 Replying to [comment:4 metux]:
 > I've reworked the whole function and replaced it by
 mhl_str_dir_plus_file() in mhl/string.h

 charsets.o: In function `load_codepages_list':
 /home/andrew/work.c/mc/mc.master/src/charsets.c:51: undefined reference to
 ../vfs/libvfs-mc.a(smbfs.o): In function `smbfs_get_path':
 /home/andrew/work.c/mc/mc.master/vfs/smbfs.c:1214: undefined reference to
 collect2: ld returned 1 exit status

 #include <mhl/string.h> is forgotten in those files.

 Second: in mhl_str_dir_plus_file() there are incorrect type of strlen()
 results: int instead of size_t.

Ticket URL: <>
Midnight Commander <>
Midnight Development Center

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