summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2001-01-22 23:28:52 +0000
committerTom Lane2001-01-22 23:28:52 +0000
commite9c936ff38da738d1fd68525eee9c7c1f0c558dc (patch)
tree0f20d770bb2d410b2f2fd360475b8690591d9e44 /src/include
parent60b282fd260f4c7fa42af438a555b3df7dd7dd47 (diff)
Remove rangechecks on errno; just call strerror unconditionally. This
eliminates a raft of portability issues, including whether sys_nerr exists, whether the platform has any valid negative errnos, etc. The downside is minimal: errno shouldn't ever contain an invalid value anyway, and if it does, reasonably modern versions of strerror will not choke. This rangecheck idea seemed good at the time, but it's clearly a net loss, and I apologize to all concerned for having ever put it in.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 1367a5ab4bc..5c2dc088ef2 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -8,7 +8,7 @@
* or in config.h afterwards. Of course, if you edit config.h, then your
* changes will be overwritten the next time you run configure.
*
- * $Id: config.h.in,v 1.156 2001/01/19 23:43:35 petere Exp $
+ * $Id: config.h.in,v 1.157 2001/01/22 23:28:52 tgl Exp $
*/
#ifndef CONFIG_H
@@ -617,9 +617,6 @@ extern void srandom(unsigned int seed);
/* Define if you have the optreset variable */
#undef HAVE_INT_OPTRESET
-/* Define if you have the sys_nerr global variable */
-#undef HAVE_SYS_NERR
-
/* Define if you have strtoll() */
#undef HAVE_STRTOLL