|
Hello all,
Here
are the patch details for solving the problem of the unsatisfied symbol endfsent
in 11.22 IPF(HPUX) machines.
I have applied the patch and tested it. Everything
works fine. Please verify it.
path :
net-snmp-5.1.2/agent/mibgroup/ucd-snmp
file : disk.c [EMAIL PROTECTED] net-snmp]$ diff -uNr disk.c disk_new.c --- disk.c 2004-10-05 21:14:07.000000000 +0530 +++ disk_new.c 2004-10-05 21:12:59.000000000 +0530 @@ -533,6 +533,13 @@ copy_nword(fstab->fs_spec, device, sizeof(device)); } + endfsent(); + if (device[0] != '\0') { + /* + * dummy clause for else below + */ + } + #elif HAVE_STATFS if (statfs(path, &statf) == 0) { copy_word(statf.f_mntfromname, device); @@ -545,9 +552,6 @@ path); config_pwarn(tmpbuf); } -#if HAVE_FSTAB_H - endfsent(); -#endif #else config_perror("'disk' checks not supported on this architecture."); #endif /* HAVE_FSTAB_H || HAVE_GETMNTENT || HAVE_STATFS */ Thanks,
Prakash
----- Original Message -----
|
- patch: endfsent() not found in 11.22 IPF (HPUX) machine... Prakash
- Re: patch: endfsent() not found in 11.22 IPF (HPUX... Michael J. Slifcak
