snprintf() error to proper buffer

In fail label we're freeing pcap_t structure, so don't use p->errbuf,
but passed argument buffer.
Merge pull request #311 from darkjames/pcapng-error-fix

pcapng save format: snprintf() error to proper buffer
Document nanosecond-resolution pcap files.
Rename the "private" member of a pcap_t to avoid C++ issues.

"private" is a C++ keyword; rename the "private" member of a pcap_t to
"priv" to avoid that, as per Gisle Vanem's suggestion.
Declare pcap_get_adapter() on Win32.
Add stream support to dag_create()

DAG capture device names are of the format dagN or dagN:M where N
is the device number and M is the stream number. The former implies
stream 0.
Merge pull request #313 from sfd/master

Fix DAG Stream support in dag_create()
man: add documentation for pcap_set_tstamp_precision
man: add documentation for pcap_get_tstamp_precision
build-sys: add time stamp precision man pages
linux: remove dead code
linux: fix initialization of tstamp_precision_list

We should be using tstamp_precision_list to store time stamp precisions
which we support.
Merge pull request #316 from msekletar/master

Add documentation and fix SIGSEGV when using pcap_set_tstamp_precision
Fix (unlikely) memory leak.

If we were able to allocate the list of time stamp types, but were
unable to allocate the list of time stamp precisions, free the list of
time stamp types before freeing the handle.
Catch attempts to fetch information about non-activated pcap_t's.

The link-layer header type, and list of supported link-layer header
types, aren't set until the pcap_t is activated; return an error for
attempts to fetch them for a non-activated handle.
Just return PCAP_ERROR_NOT_ACTIVATED for some calls.

Return PCAP_ERROR_NOT_ACTIVATED, not PCAP_ERROR (-1), for calls to
pcap_datalink(), pcap_datalink_ext(), and pcap_list_datalinks() if
called on a non-activated pcap_t.  Pre-pcap_create() code will never see
PCAP_ERROR_NOT_ACTIVATED, and code using pcap_create() will either not
see it (if it's correct) or is already getting bogus results (if it's
not correct).

Document that while we're at it.
Add more "not activated" checks.

Add a missing semicolon from the previous checkin, and change some
return values to the standard style (enclosing the return value in
parentheses), while we're at it.
fix typo on manpage install
Sort generated man pages by name in various lists.

Also, re-generate the configure scripts.
Add the generated time stamp precision API man pages to the .gitignore list.