Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Standardised (corrected) printing of pid #56

Open
wants to merge 275 commits into
base: master
Choose a base branch
from

Conversation

Sebbyastian
Copy link

There exists no perfect format delegate for pid_t, but one thing we can be sure of, the return value of the fork manual tells us pid_t must be a signed type (as -1 is a potential value). Thus, the unsigned format delegates are probably the choices least portable/most deceptive to us debuggers.

kristaps added 30 commits May 15, 2016 11:56
… that

netproc failing doesn't cause short reads and exits.
…g but

looks up addresses as used by netproc.
kristaps and others added 29 commits November 24, 2016 14:01
kristapsdz/acme-client-portable#12 that pushes
the check for file pre-existence with -n and -N only into the main
process, stripping out the arguments before passing them to the child.
This fixes a race condition.
allows certain variables to be overriden.  This allows us to provide -nN
and have them properly be nullified by the child processes.
…back-

port that to the older API of libressl.
…ortable#13 .

This creates a triplet exported to the operator: challenge type, domain, and print.
…nginx

and Apache (more to come).  Inspired by kristapsdz#32 --- thanks!
There exists no perfect format delegate for `pid_t`, but one thing we can be sure of, the return value of the `fork` manual tells us `pid_t` must be a signed type (as -1 is a potential value). Thus, the unsigned format delegates are probably the choices least portable/most deceptive to us debuggers.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant