K 10 svn:author V 3 pfg K 8 svn:date V 27 2015-01-08T03:44:54.266601Z K 7 svn:log V 428 MFC r276218: patch: Bring in xstrdup and use it when appropriate. The function savestr allows NULL return values during Plan A patching so in case of out of memory conditions, Plan B can step in. In many cases, NULL value is not properly handled, so use xstrdup here (it's outside Plan A/B patching, which means that even Plan B relies on successful operations). Clean up some whitespaces while here Obtained from: OpenBSD END