diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-09-16 16:21:01 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-09-16 16:21:01 +0000 |
commit | 6392e95411ac8da7b281bf2f598e341dfb7bea06 (patch) | |
tree | 23427d1b4fe6cf94a5eca90ade0944fb90596b12 /sys-cluster/openpbs/files | |
parent | Removed virtual/modutils from .19 and .20 as repoman did not approve. Added p... (diff) | |
download | historical-6392e95411ac8da7b281bf2f598e341dfb7bea06.tar.gz historical-6392e95411ac8da7b281bf2f598e341dfb7bea06.tar.bz2 historical-6392e95411ac8da7b281bf2f598e341dfb7bea06.zip |
Added fixes from #22248
Diffstat (limited to 'sys-cluster/openpbs/files')
-rw-r--r-- | sys-cluster/openpbs/files/openpbs-2.3.16-r1-errno-fixup.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/openpbs/files/openpbs-2.3.16-r1-errno-fixup.patch b/sys-cluster/openpbs/files/openpbs-2.3.16-r1-errno-fixup.patch new file mode 100644 index 000000000000..9bc646ed9e16 --- /dev/null +++ b/sys-cluster/openpbs/files/openpbs-2.3.16-r1-errno-fixup.patch @@ -0,0 +1,36 @@ +diff -urN src-old/lib/Liblog/pbs_log.c src/lib/Liblog/pbs_log.c +--- src-old/lib/Liblog/pbs_log.c 2003-07-30 17:04:55.000000000 -0500 ++++ src/lib/Liblog/pbs_log.c 2003-07-30 17:04:00.000000000 -0500 +@@ -109,7 +109,7 @@ + + /* Global Data */ + +-extern int errno; ++#include <errno.h> + char log_buffer[LOG_BUF_SIZE]; + char log_directory[_POSIX_PATH_MAX/2]; + +diff -urN src-old/scheduler.basl/af_resmom.c src/scheduler.basl/af_resmom.c +--- src-old/scheduler.basl/af_resmom.c 2003-07-30 17:04:56.000000000 -0500 ++++ src/scheduler.basl/af_resmom.c 2003-07-30 17:04:00.000000000 -0500 +@@ -103,7 +103,7 @@ + static char ident[] = "@(#) $RCSfile: openpbs-2.3.16-r1-errno-fixup.patch,v $ $Revision: 1.1 $"; + + /* External Variables */ +-extern int errno; ++#include <errno.h> + + /* External Functions */ + extern int +diff -urN src-old/server/svr_connect.c src/server/svr_connect.c +--- src-old/server/svr_connect.c 2003-07-30 17:04:56.000000000 -0500 ++++ src/server/svr_connect.c 2003-07-30 17:04:00.000000000 -0500 +@@ -113,7 +113,7 @@ + + struct connect_handle connection[PBS_NET_MAX_CONNECTIONS]; /* used by API */ + +-extern int errno; ++#include <errno.h> + + extern int pbs_errno; + extern unsigned int pbs_server_port_dis; |