From: Jarkko Hietaniemi Date: Mon, 6 Nov 2000 21:29:24 +0000 (+0000) Subject: VOS updates from Paul Green. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee76630538be506861c581ad2645018d52de6a58;p=p5sagit%2Fp5-mst-13.2.git VOS updates from Paul Green. p4raw-id: //depot/perl@7579 --- diff --git a/vos/config.alpha.h b/vos/config.alpha.h index 0b264db..5b542a2 100644 --- a/vos/config.alpha.h +++ b/vos/config.alpha.h @@ -2031,12 +2031,23 @@ * This symbol is defined if the FILE_cnt macro can be used as an * lvalue. */ +/* STDIO_PTR_LVAL_SETS_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n has the side effect of decreasing the + * value of File_cnt(fp) by n. + */ +/* STDIO_PTR_LVAL_NOCHANGE_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n leaves File_cnt(fp) unchanged. + */ #define USE_STDIO_PTR /**/ #ifdef USE_STDIO_PTR #define FILE_ptr(fp) ((fp)->_ptr) #define STDIO_PTR_LVALUE /**/ #define FILE_cnt(fp) ((fp)->_cnt) #define STDIO_CNT_LVALUE /**/ +/*#define STDIO_PTR_LVAL_SETS_CNT /**/ +/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ #endif /* USE_STDIO_BASE: diff --git a/vos/config.ga.def b/vos/config.ga.def index f88060f..465205c 100644 --- a/vos/config.ga.def +++ b/vos/config.ga.def @@ -235,6 +235,7 @@ $d_statblks='undef' $d_statfs_f_flags='undef' $d_statfs_s='undef' $d_stdio_cnt_lval='define' +$d_stdio_ptr_lval='define' $d_stdio_ptr_lval_sets_cnt='undef' $d_stdio_ptr_lval_nochange_cnt='undef' $d_stdio_stream_array='define' diff --git a/vos/config.ga.h b/vos/config.ga.h index d09b89b..26cb176 100644 --- a/vos/config.ga.h +++ b/vos/config.ga.h @@ -2031,12 +2031,23 @@ * This symbol is defined if the FILE_cnt macro can be used as an * lvalue. */ +/* STDIO_PTR_LVAL_SETS_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n has the side effect of decreasing the + * value of File_cnt(fp) by n. + */ +/* STDIO_PTR_LVAL_NOCHANGE_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n leaves File_cnt(fp) unchanged. + */ #define USE_STDIO_PTR /**/ #ifdef USE_STDIO_PTR #define FILE_ptr(fp) ((fp)->_ptr) #define STDIO_PTR_LVALUE /**/ #define FILE_cnt(fp) ((fp)->_cnt) #define STDIO_CNT_LVALUE /**/ +/*#define STDIO_PTR_LVAL_SETS_CNT /**/ +/*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ #endif /* USE_STDIO_BASE: