Mercurial > gnulib
comparison lib/getloadavg.c @ 39931:5b70149cc627
fsusage, mountlist, getloadavg: Remove support for Dynix/ptx.
* lib/fsusage.c: Remove _SEQUENT_ case.
* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Update comments.
* lib/mountlist.c: Don't test for MNTTABNAME.
* m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Don't test for libseq.
(gl_LIST_MOUNTED_FILE_SYSTEMS): Don't test for MNTTABNAME.
* lib/getloadavg.c: Remove _SEQUENT_ and sequent cases.
* lib/stat-size.h: Don't mention the Sequent bug.
* doc/posix-functions/utime.texi: Don't mention the Dynix bug.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 16 Oct 2018 21:02:51 +0200 |
parents | c8542f2525a3 |
children | 947a9bbbb211 |
comparison
equal
deleted
inserted
replaced
39930:980043d89bdb | 39931:5b70149cc627 |
---|---|
60 eunice UNIX emulator under VMS. | 60 eunice UNIX emulator under VMS. |
61 hpux | 61 hpux |
62 __MSDOS__ No-op for MSDOS. | 62 __MSDOS__ No-op for MSDOS. |
63 NeXT | 63 NeXT |
64 sgi | 64 sgi |
65 sequent Sequent Dynix 3.x.x (BSD) | |
66 _SEQUENT_ Sequent DYNIX/ptx 1.x.x (SYSV) | |
67 sony_news NEWS-OS (works at least for 4.1C) | 65 sony_news NEWS-OS (works at least for 4.1C) |
68 UMAX | 66 UMAX |
69 UMAX4_3 | 67 UMAX4_3 |
70 VMS | 68 VMS |
71 _WIN32 Native Windows (possibly also defined on Cygwin) | 69 _WIN32 Native Windows (possibly also defined on Cygwin) |
186 | 184 |
187 # ifdef decstation | 185 # ifdef decstation |
188 # define LOAD_AVE_TYPE long | 186 # define LOAD_AVE_TYPE long |
189 # endif | 187 # endif |
190 | 188 |
191 # ifdef _SEQUENT_ | |
192 # define LOAD_AVE_TYPE long | |
193 # endif | |
194 | |
195 # ifdef sgi | 189 # ifdef sgi |
196 # define LOAD_AVE_TYPE long | 190 # define LOAD_AVE_TYPE long |
197 # endif | 191 # endif |
198 | 192 |
199 # ifdef SVR4 | 193 # ifdef SVR4 |
200 # define LOAD_AVE_TYPE long | 194 # define LOAD_AVE_TYPE long |
201 # endif | 195 # endif |
202 | 196 |
203 # ifdef sony_news | 197 # ifdef sony_news |
204 # define LOAD_AVE_TYPE long | |
205 # endif | |
206 | |
207 # ifdef sequent | |
208 # define LOAD_AVE_TYPE long | 198 # define LOAD_AVE_TYPE long |
209 # endif | 199 # endif |
210 | 200 |
211 # ifdef OSF_ALPHA | 201 # ifdef OSF_ALPHA |
212 # define LOAD_AVE_TYPE long | 202 # define LOAD_AVE_TYPE long |
243 | 233 |
244 # if defined (MIPS) || defined (SVR4) || defined (decstation) | 234 # if defined (MIPS) || defined (SVR4) || defined (decstation) |
245 # define FSCALE 256 | 235 # define FSCALE 256 |
246 # endif | 236 # endif |
247 | 237 |
248 # if defined (sgi) || defined (sequent) | 238 # if defined (sgi) |
249 /* Sometimes both MIPS and sgi are defined, so FSCALE was just defined | 239 /* Sometimes both MIPS and sgi are defined, so FSCALE was just defined |
250 above under #ifdef MIPS. But we want the sgi value. */ | 240 above under #ifdef MIPS. But we want the sgi value. */ |
251 # undef FSCALE | 241 # undef FSCALE |
252 # define FSCALE 1000.0 | 242 # define FSCALE 1000.0 |
253 # endif | 243 # endif |
271 # if defined (sgi) || (defined (mips) && !defined (BSD)) | 261 # if defined (sgi) || (defined (mips) && !defined (BSD)) |
272 # define FIXUP_KERNEL_SYMBOL_ADDR(nl) ((nl)[0].n_value &= ~(1 << 31)) | 262 # define FIXUP_KERNEL_SYMBOL_ADDR(nl) ((nl)[0].n_value &= ~(1 << 31)) |
273 # endif | 263 # endif |
274 | 264 |
275 | 265 |
276 # if !defined (KERNEL_FILE) && defined (sequent) | |
277 # define KERNEL_FILE "/dynix" | |
278 # endif | |
279 | |
280 # if !defined (KERNEL_FILE) && defined (hpux) | 266 # if !defined (KERNEL_FILE) && defined (hpux) |
281 # define KERNEL_FILE "/hp-ux" | 267 # define KERNEL_FILE "/hp-ux" |
282 # endif | 268 # endif |
283 | 269 |
284 # if !defined (KERNEL_FILE) && (defined (_SEQUENT_) || defined (MIPS) || defined (SVR4) || defined (ISC) || defined (sgi)) | 270 # if !defined (KERNEL_FILE) && (defined (MIPS) || defined (SVR4) || defined (ISC) || defined (sgi)) |
285 # define KERNEL_FILE "/unix" | 271 # define KERNEL_FILE "/unix" |
286 # endif | 272 # endif |
287 | 273 |
288 | 274 |
289 # if !defined (LDAV_SYMBOL) && (defined (hpux) || defined (_SEQUENT_) || defined (SVR4) || defined (ISC) || defined (sgi) || (defined (_AIX) && !defined(HAVE_LIBPERFSTAT))) | 275 # if !defined (LDAV_SYMBOL) && (defined (hpux) || defined (SVR4) || defined (ISC) || defined (sgi) || (defined (_AIX) && !defined(HAVE_LIBPERFSTAT))) |
290 # define LDAV_SYMBOL "avenrun" | 276 # define LDAV_SYMBOL "avenrun" |
291 # endif | 277 # endif |
292 | 278 |
293 # ifdef HAVE_UNISTD_H | 279 # ifdef HAVE_UNISTD_H |
294 # include <unistd.h> | 280 # include <unistd.h> |