Changeset 0f93ea6 in rtems-tools


Ignore:
Timestamp:
Nov 3, 2014, 10:03:06 PM (5 years ago)
Author:
Ben Gras <beng@…>
Branches:
4.10, 4.11, master
Children:
ddbab71
Parents:
e4014f0
git-author:
Ben Gras <beng@…> (11/03/14 22:03:06)
git-committer:
Chris Johns <chrisj@…> (11/03/14 22:19:52)
Message:

fix buffer size problem

(triggered runtime error on my machine)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemstoolkit/rld-path.cpp

    re4014f0 r0f93ea6  
    114114        {
    115115          buf = new char[32 * 1024];
    116           if (!::getcwd (buf, 132 * 1024))
     116          if (!::getcwd (buf, 32 * 1024))
    117117            throw rld::error (::strerror (errno), "get current working directory");
    118118          path_join (buf, path, apath);
Note: See TracChangeset for help on using the changeset viewer.