Merge branch 'master' of /p/condor/repository/CONDOR_SRC
Save timeout across multiple calls to Selector::execute() #4088

The value of the timeout argument to select() is undefined after the
call returns. Save the desired timeout in the Selector object so that
multiple calles to Selector::execute() behave in a defined manner.
This will be useful for some new users of Selector.
Func to turn condor_protocol to human readable string

useful for logs.
Use Selector class in more places to avoid buffer overflows. #4088

Using select() with simple fd_sets leads to buffer overflows if any of
the selected fds have values greater than 1023. We've seen a crash in
the procd communication code because of this. Now, we use the Selector
class everywhere outside of the checkpointing code.
error trashed by threading code for some IO operations. #4089

Save errno (or WSAGetLastError() on win32) before calls to
stop_thread_safe() if we're interested in the value. stop_thread_safe()
makes calls (like dprintf()) that may overwrite the error value.
Docs for select() fd_set stack corruption bug. #4088
For multiple writers we need both a varied sleep and a unique
pattern we can track for sequence varification #3948
Mostly we track pids with scraping logs and using what condor_who
knows. On windows we use windows functions to verify and kill
as desired. #3944
Merge branch 'master' of /p/condor/repository/CONDOR_SRC
Revert "Revert "Add python bindings for the event log reader API. #4071""

This reverts commit bfd8e519632dfdd9a98f306a6acd26215d5ddf2f, restoring
the API added for #4071; a follow-up will fix NMI build failures.
Fix compilation issues on Fedora and Mac OS X.  #4071.

This code now passes its own tests and a test run on NMI.
Simplify memory management in the Selector class.

Allocate all of the fd_sets as a single chunk of memory, instead of 6
seperate allocations. Remove the cached set of fd_sets. Remove redundant
zeroing of the fd_sets.
Convert BOOLEAN to bool in Selector class.
Fix filename collision when NorduGrid ARC submits into HTCondor. #4017

When the gridmanager submits a job to nordugrid, it names the stdout/err
files _condor_stdout/err. When a Condor vanilla universe job uses file
transfer, it also names the stdout/err files _condor_stdout/err.
NorduGrid ARC wraps the job with a script that explicitly captures the
job's stdout/err using the filenames given by the submitter.
Put all of these together and the job's stdout/err gets mingled with
that of the wrapper script and not returned to the submitter.

Change the names used by the gridmanager to avoid this. We include a
sanitized version of the GlobalJobId to avoid possible collisions in the
future.
Docs for nordugrid stdout/err scrambling bugfix. #4017
fix the MSI installer so it can set LOCAL_CONFIG_FILE and fix bugs in config_fetch #4092
the installer now recognises LOCALCONFIG=<file> passed to the installer, and if
<file> begins with http, it will put that into LOCAL_CONFIG_FILE using pipe config and
the config_fetch tool.  Fixed bugs in the config_fetch tool so that it no longer changes
the file it gets back from the url.
===VersionHistory:Pending===
Minor 8.0.5 version history item edit. #4087
Gittrac #3930:  Initial partial implementation -- I'm not sure if
this is exactly how we want to do it (see remarks in ticket).  Also
no documentation yet.
Now actually tries to listen on IPv6 .#3982

Missed a few cases where we need to pass the protocol down.
In 8.0.5, edit of prose describing DAGMan's ABORT-DAG-ON functionality.
 #3989