OSDN Git Service

* cygpath.cc: Include argz.h.
authorcorinna <corinna>
Wed, 23 May 2007 16:45:03 +0000 (16:45 +0000)
committercorinna <corinna>
Wed, 23 May 2007 16:45:03 +0000 (16:45 +0000)
commit94567a73b86a15fd1b3c42bb0b65e6dbbacf8bf4
tree509a2a1f5eda1493b3ca28982773e077d1562961
parentaf93ab85bc813082ee05f5564020bc6a60a5f5d6
* cygpath.cc: Include argz.h.
(options_from_file_flag): Move from main to global static variable.
(mode_flag): Ditto.
(do_sysfolders): Rename from dowin and accommodate throughout.
Don't exit from here.
(do_pathconv): Rename from doit and accommodate throughout.
(print_version): Change copyright.
(do_options): New function, centralizing option processing.
Rework checking options for correctness.
(action): New function, centralizing calling worker functions.
(main): Simplify.  Move option processing to do_options.  Move calling
worker functions to action.  Rework getting arguments from files.
winsup/utils/ChangeLog
winsup/utils/cygpath.cc