zsh-workers
 help / color / mirror / code / Atom feed
From: Jos Backus <Jos.Backus@nl.origin-it.com>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: About to release 3.0.7 ...
Date: Mon, 18 Oct 1999 01:46:49 +0200	[thread overview]
Message-ID: <19991018014649.A84537@hal.mpn.cp.philips.com> (raw)
In-Reply-To: <991017212615.ZM20453@candle.brasslantern.com>

	Hi Bart,

FreeBSD -current has recently acquired a new limit type:

>From /usr/include/sys/resource.h:

#define RLIMIT_SBSIZE   9               /* maximum size of all socket buffers */

This causes Src/rlimits.awk to exit with badlimit == 1:

awk -f ./rlimits.awk /usr/include/sys/resource.h > rlimits.h
*** Error code 1

Stop in /usr/local/src/zsh-3.0.7/Src.
*** Error code 1

Stop in /usr/local/src/zsh-3.0.7.
jos:/usr/local/src/zsh-3.0.7# cat Src/rlimits.h
/** rlimits.h                                 **/
/** architecture-customized limits for zsh **/

#define ZSH_NLIMITS 10

static char *recs[ZSH_NLIMITS+1] = {
        "cputime",
        "filesize",
        "datasize",
        "stacksize",
        "coredumpsize",
        "memoryuse",
        "memorylocked",
        "maxproc",
        "descriptors",
        "SBSIZE",
        NULL
};   

Suggested fix:

--- Src/rlimits.awk.orig        Mon Oct 18 01:44:46 1999
+++ Src/rlimits.awk     Mon Oct 18 01:45:22 1999
@@ -37,6 +37,7 @@
            if (limnam == "TCACHE")  { msg[limnum] = "cachedthreads" }
            if (limnam == "AIO_OPS") { msg[limnum] = "aiooperations" }
            if (limnam == "AIO_MEM") { msg[limnum] = "aiomemorylocked" }
+           if (limnam == "SBSIZE")  { msg[limnum] = "sbsize" }
         }
     }
 }

Thanks,
-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus@nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;


  reply	other threads:[~1999-10-17 23:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-17 21:26 Bart Schaefer
1999-10-17 23:46 ` Jos Backus [this message]
1999-10-18  4:30   ` "limit sbsize" Bart Schaefer
1999-10-18 10:16   ` About to release 3.0.7 Zefram
1999-10-18 15:48     ` Bart Schaefer
1999-10-18 19:52       ` Jos Backus

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=19991018014649.A84537@hal.mpn.cp.philips.com \
    --to=jos.backus@nl.origin-it.com \
    --cc=schaefer@candle.brasslantern.com \
    --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).