Fix typo

Reported by:	Lars Engels
Recover after misadventures  with 'git stash'
Fix build with GCC
Fix typo
pkg query: Allow using the `?' operator in expressions.
Added a small comment about absolutepath()
absolutepath() refactoring

  Avoid unchecked malloc(3) and strlcpy(3) calls.
Check strlcpy(3) return value in pkg which.

  Since the argument is user provided, a boundary check is needed.
refactor +pkg_emit_manifest_file() and +pkg_emit_manifest_sbuf().

  Both routine shared most of their body, only the libyaml output setup
  was different. They now are simple wrapper around
  pkg_emit_manifest_generic() which can handle both sbuf and file
  arguments.
Add installation timestamp as local metadata that won't be included in
a pkg tarball.
Merge branch 'master' into docco