This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos 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]

[Bug 20810] New: Ecos host tool compile issues for HPUX


http://bugs.ecos.sourceware.org/show_bug.cgi?id=20810

           Summary: Ecos host tool compile issues for HPUX
           Product: eCos
           Version: 1.3.1
          Platform: All
        OS/Version: All
            Status: RESOLVED
          Severity: normal
          Priority: low
         Component: Other
        AssignedTo: bartv at ecoscentric dot com
        ReportedBy: anonymous at sourceware dot cygnus dot com


After compiling all the ecos tools successfully on HPUX 10.20, I 
find that everything works up to:
ecosconfig tree
The problem is a non- POSIX.1 call to getcwd in cdl_exec.cxx

How-To-Repeat:
ecosconfig tree
- No directories are created.

Fix:
Change "char * cwd = getcwd(NULL,0)" call to:

       char cwd [MAXPATHLEN + 1];
       getcwd (cwd, MAXPATHLEN);

After this, ecosconfig works fine on HPUX.

---------------------------------------------------------------------------

Originator:
Marko Edzes

Organization:
Private

Audit-Trail:
Responsible-Changed-From-To: alexs->bartv 
Responsible-Changed-By: alexs 
Responsible-Changed-When: Mon Jun 5 04:24:43 PDT 2000 
Responsible-Changed-Why:  
config CDL issue in the tools.  Looks like something of your's Bart? 

Can you please deal if so? 

Thanks 
-- Alex

Unformatted:
Originator:  

page: sourceware.cygnus.com/ecos/problemreport.html

Send_PR_form: Sent_from_sourceware.cygnus.com

------- Additional Comments From alexs at ecoscentric dot com  2003-24-04 17:48 BST -------
Tools issue



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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