opendir-safer.c: don't clobber errno; don't close negative FD
[pspp] / lib / xprintf.c
index 8f279faf41b00f553bff69841f85ed40e0866241..edb97ebf1272936f8a40b22c3655b96b83999492 100644 (file)
@@ -1,5 +1,5 @@
 /* printf wrappers that fail immediately for non-file-related errors
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by