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

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

about gawk |& operator and getline on HPUX11


From: Xiang Zhao
Subject: about gawk |& operator and getline on HPUX11
Date: 21 May 2002 20:23:09 -0700

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]