bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about gawk |& operator and getline on HPUX11(there is a HP patch can


From: Xiang Zhao
Subject: Re: about gawk |& operator and getline on HPUX11(there is a HP patch can solve this)
Date: 24 May 2002 01:28:57 -0700

I just searched HP website, and verified the problem. There is a HPUX
11.00 cumulative ARPA Transport patch PHNE_26771 can fix the fstat
problem:

The following is the related descriptin in PHNE_26771:
Customer's application gets the wrong value from fstat().
        Resolution:
        The value returned via st_blksize is now retrieved
        from the same info as in 10.20.


address@hidden (Xiang Zhao) wrote in message news:<address@hidden>...
> Hi,
> 
> When I test the following simple programs, I got an error:
> gawk: test2:3: fatal: get_a_record: iop->buf: can't allocate -61246
> bytes of memory (not enough space)
> the code is:
> server:
> BEGIN {
>   print strftime() |& "/inet/tcp/8888/0/0"
>     close("/inet/tcp/8888/0/0")
>     }
> 
> client:
> # Client
> BEGIN {
>   "/inet/tcp/0/localhost/8888" |& getline
>     print $0
>       }
> 
> It seems some problems with getline.
> I downloaded binary gawk3.1.1 for hpux-11 from HPUX software
> depot(http://hpux.cs.utah.edu/) , and I also complied one on hpux 11.0
> from the gawk 3.1.0 source code with HP aCC+ complier, the same error.
> 
> Best regards,
> -Xiang Zhao



reply via email to

[Prev in Thread] Current Thread [Next in Thread]