For the record, I don't have any problems with changing PATH_MAX to CYG_PATH_MAX as a first step for this change. Small steps are, as always, appreciated.
Ok, so thats done.
What about, for a next step, simply the introduction of the thunk layer - with only A calls used by it. No Unicode, no length changes. ?
Thats probably the most verbose change, with the least variety in approach. From there on in we can debate the relative merits of path_conv state versus IOThunkState and the like without a huge patch in the wings.
Rob