[Buildroot] [buildroot 0001526]: lockfile-progs.c fails to compile

bugs at busybox.net bugs at busybox.net
Fri Oct 19 19:52:15 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1526 
====================================================================== 
Reported By:                Leon Bailly
Assigned To:                buildroot
====================================================================== 
Project:                    buildroot
Issue ID:                   1526
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-12-2007 09:03 PDT
Last Modified:              10-19-2007 12:52 PDT
====================================================================== 
Summary:                    lockfile-progs.c fails to compile
Description: 
lockfile-progs.c fails to compile due to non-existing library-call to
rindex.

Patched with:

*** lockfile-progs.c.org        2007-10-10 12:07:56.000000000 +0200
--- lockfile-progs.c    2007-10-10 12:09:22.000000000 +0200
***************
*** 70,76 ****
      { NULL, 0, NULL, 0 }
    };

!   char *cmd_name = rindex(argv[0], '/');
    int mail_cmd_p = 0;

    if(cmd_name != NULL) {
--- 70,76 ----
      { NULL, 0, NULL, 0 }
    };

!   char *cmd_name = strrchr(argv[0], '/');
    int mail_cmd_p = 0;

    if(cmd_name != NULL) {

====================================================================== 

---------------------------------------------------------------------- 
 vanokuten - 10-19-07 12:52  
---------------------------------------------------------------------- 
fixed in svn 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-12-07 09:03  Leon Bailly    New Issue                                    
10-12-07 09:03  Leon Bailly    Status                   new => assigned     
10-12-07 09:03  Leon Bailly    Assigned To               => buildroot       
10-19-07 12:52  vanokuten      Status                   assigned => closed  
10-19-07 12:52  vanokuten      Note Added: 0002838                          
======================================================================




More information about the buildroot mailing list