]> sourceware.org Git - newlib-cygwin.git/commit
* path.h (class path_conv): Convert path from char array to char *.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 30 Jul 2009 08:56:57 +0000 (08:56 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 30 Jul 2009 08:56:57 +0000 (08:56 +0000)
commit0986989f6a290a15e9229f65dd4846d97ee1864e
tree041af38e8601244205124efd21317c6f26b4aade
parent7d3c3d30e7633d9c947c0550b0d4051a7d5947d1
* path.h (class path_conv): Convert path from char array to char *.
Initialize to NULL in constructors.  Drop normalized_path_size member.
(path_conv::size): Remove.
(path_conv::operator =): Always copy with sizeof path_conv.  Always
duplicate path on cygheap.
(path_conv::set_path): Move implementation to spawn.cc.
* path.cc (path_conv::set_normalized_path): Always allocate
normalized_path on cygheap.
(path_conv::check): Don't work on path, rather allocate THIS_path in
TLS and use it throughout.  When finished, allocate path on cygheap
and copy over.  Defer tacking on extension after having copied path.
* spawn.cc (path_conv::set_path): Implement here.
winsup/cygwin/ChangeLog
winsup/cygwin/path.cc
winsup/cygwin/path.h
winsup/cygwin/spawn.cc
This page took 0.029712 seconds and 5 git commands to generate.