This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin 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] |
Hi, This patch adds most of the capability of the script from <http://cygwin.com/ml/cygwin-apps/2003-08/msg00106.html> to cygcheck. It is triggered by the "-c" flag to cygcheck. "Integrity" is a rather strong word, actually, as all this checks for is the existence of files and directories, but this could be further built upon (for example, tar has a diff option that could be useful). The patch is against cvs HEAD with my previous micropatch (<http://cygwin.com/ml/cygwin-patches/2003-q3/msg00058.html>) applied. Comments and suggestions welcome. Igor ============================================================================== ChangeLog: 2003-08-07 Igor Pechtchanski <pechtcha@cs.nyu.edu> * dump_setup.cc (version_len): New static variable. (could_not_access,directory_exists,file_exists) (check_package_files): New static functions. (dump_setup): Check the contents of each package if check_files is true and output the result in the "Status" column. Flush output after each package. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton
Attachment:
cygcheck-verify-packages.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |