[prev in list] [next in list] [prev in thread] [next in thread]
List: amanda-users
Subject: Amanda patch
From: mbehr () dw3f ! ess ! harris ! com (Marc D ! Behr)
Date: 1994-01-19 3:26:12
[Download RAW message or body]
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 20
The following patch will eliminate the STRANGE result messages that occur
when you are running in an environment with different versions of operating
systems that result in the
ld.so: warning: /usr/lib/libc.so.1.X has older revision than expected Y
messages on Sun systems.
As can be expected, no guarantees of any type are provided, but I have
been running with these changes for months now with no problems.
Marc
--
---------------------------------------------------------------
/ Marc D. Behr | inet: mbehr@dw3f.ess.harris.com \
| Computer Systems Analyst | phone: (407) 984-5571 |
| Harris Corporation ISD | fax: (407) 984-6323 |
| P.O. Box 98000 | |
\ Melbourne, FL 32902 | quote: " /
---------------------------------------------------------------
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: dumper.c_diff
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 66
*** dumper.c_original Tue Aug 31 14:30:23 1993
--- dumper.c Mon Nov 29 08:17:26 1993
***************
*** 357,363 ****
typedef enum {
DMP_INFO, DMP_START, DMP_END, DMP_ERROR, DMP_STATS,
! DMP_NORMAL, DMP_STRANGE, DMP_SIZE
} dmpline_t;
typedef struct regex_s {
--- 369,375 ----
typedef enum {
DMP_INFO, DMP_START, DMP_END, DMP_ERROR, DMP_STATS,
! DMP_NORMAL, DMP_STRANGE, DMP_SIZE, DMP_IGNORE /* 05/27/93 mdb; added DMP_IGNORE */
} dmpline_t;
typedef struct regex_s {
***************
*** 403,408 ****
--- 415,423 ----
{ DMP_NORMAL, "^backup:" }, /* AIX */
{ DMP_NORMAL, "^ Use the umount command to unmount the filesystem" },
+ /* 05/27/93 mdb; local hack to handle library warnings */
+ { DMP_IGNORE, "^ld.so: warning: .* has older revision than expected" },
+
{ DMP_NORMAL, "^[ \t]*\\\n" },
/* catch-all; DMP_STRANGE is returned for all other lines */
***************
*** 483,492 ****
dmpline_t typ;
typ = parse_dumpline(str);
! if(dump_state == START_STATE && typ != DMP_START) {
fputs("? dumper: error [missing start line from senddump]\n",errf);
dump_state = NOSIZE_STATE;
dump_result = max(dump_result, 1);
}
if(dump_state == END_STATE) {
startchr = '?';
--- 498,509 ----
dmpline_t typ;
typ = parse_dumpline(str);
! if(dump_state == START_STATE && typ != DMP_IGNORE) { /* 05/27/93 mdb; handle library errors */
! if(dump_state == START_STATE && typ != DMP_START) {
fputs("? dumper: error [missing start line from senddump]\n",errf);
dump_state = NOSIZE_STATE;
dump_result = max(dump_result, 1);
+ }
}
if(dump_state == END_STATE) {
startchr = '?';
***************
*** 504,509 ****
--- 521,527 ----
break;
case DMP_STATS:
+ case DMP_IGNORE: /* 05/27/93 mdb; ignore library errors */
case DMP_NORMAL:
/* regular dump output; do nothing */
break;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic