diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-09 21:03:49 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-09 21:03:49 +0300 |
commit | 26911e4062be696b2090aa139f96f8210f012b48 (patch) | |
tree | 0fc2ad4dc9a8b68e0dc6e1a6aa5529fdb2410110 /io.c | |
parent | a59319732d89feda419acab674ea580c95db7d4a (diff) | |
parent | d71ec1612b2bfebded1854d536d54e3e5af7172e (diff) | |
download | egawk-26911e4062be696b2090aa139f96f8210f012b48.tar.gz egawk-26911e4062be696b2090aa139f96f8210f012b48.tar.bz2 egawk-26911e4062be696b2090aa139f96f8210f012b48.zip |
Merge remote branch 'origin/xgawk-build'
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -240,10 +240,7 @@ int RS_is_null; extern NODE *ARGC_node; extern NODE *ARGV_node; extern NODE *ARGIND_node; -<<<<<<< HEAD -======= extern NODE **fields_arr; ->>>>>>> xgawk /* init_io --- set up timeout related variables */ @@ -2277,13 +2274,8 @@ do_getline_redir(int into_variable, enum redirval redirtype) errcode = 0; cnt = get_a_record(& s, iop, & errcode); if (errcode != 0) { -<<<<<<< HEAD - if (! do_traditional && errcode != -1) - update_ERRNO_saved(errcode); -======= if (! do_traditional && (errcode != -1)) update_ERRNO_int(errcode); ->>>>>>> xgawk return make_number((AWKNUM) -1.0); } @@ -2330,15 +2322,9 @@ do_getline(int into_variable, IOBUF *iop) errcode = 0; cnt = get_a_record(& s, iop, & errcode); if (errcode != 0) { -<<<<<<< HEAD - if (! do_traditional && errcode != -1) - update_ERRNO_saved(errcode); - if (into_variable) -======= if (! do_traditional && (errcode != -1)) update_ERRNO_int(errcode); - if (intovar) ->>>>>>> xgawk + if (into_variable) (void) POP_ADDRESS(); return make_number((AWKNUM) -1.0); } |