From: Geoff Wing <gcw@pobox.com>
To: Zsh Hackers <zsh-workers@sunsite.auc.dk>
Cc: Ed Osinski <osinski@cs.nyu.edu>
Subject: Re: gawk problem during build, and patches
Date: Sat, 7 Aug 1999 17:00:16 +1000 [thread overview]
Message-ID: <19990807170016.A28635@primenet.com.au> (raw)
In-Reply-To: <19990806193107.B29273@valis.NYU.EDU>
Ed Osinski <osinski@cs.nyu.edu> typed:
:While building zsh 3.0.6, I got the following:
:gawk -f ./rlimits.awk /usr/include/sys/resource.h > rlimits.h
:gcc -c -I.. -I. -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -DHAVE_CON=
:FIG_H -Wall -Wno-implicit -Wmissing-prototypes -O2 builtin.c
:In file included from builtin.c:3679:
:rlimits.h:7: parse error at null character
:-----------------------------------------------------------
:signames.h had similar problems. The culprits were lines like
: printf("\t%c%s%c,\n", 034, lim[i], 034)
Note: 3.1.6 uses ``34'' not ``034''. The reasoning behind 034 escapes
me at the moment; I don't think it was random but I can't find
anything about it in my zsh email from 1996 and I don't think we were
using RCS back then so who knows?
Also note my comment at the top of the file: \" can't be used generally
because some systems barf on it.
sed 's/034/34/g' might have been quicker :-)
:in the .awk files. Somehow, the 034 was not being interpreted as a
:quote ("). I have gawk 3.0.4 installed, but I see that I configured
:it with the --enable-non-decimal-data switch. I assume this means
:that 034 is taken to be an octal number, which is not intended. I
:changed the .awk files to just use \" in the format string instead of
:%c and a parameter. I've included patches below. (I'm not a
:subscriber to the list, so if there are any problems, please send me
:email.)
Regards,
--
Geoff Wing : <gcw@pobox.com> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@zsh.org> Phone : (Australia) 0413 431 874
prev parent reply other threads:[~1999-08-07 7:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-06 23:31 Ed Osinski
1999-08-07 7:00 ` Geoff Wing [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19990807170016.A28635@primenet.com.au \
--to=gcw@pobox.com \
--cc=osinski@cs.nyu.edu \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).