9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@cse.psu.edu
Subject: Re: [9fans] GNU Make
Date: Thu,  3 Jun 2004 07:14:05 +0200	[thread overview]
Message-ID: <7a11feaaac0ff47b146e04dba05a7244@proxima.alt.za> (raw)
In-Reply-To: <c35e1b4048b24bbffc1f4123f441e7e4@snellwilcox.com>

> I have had sam give "/n/netware/a/b/xxx.c cannot open - file locked" 
> on occasion. File locking is an alien concept to plan9 but I still
> get the correct and informative error from the imported netware filesystem.

Maybe I'm harping, feel free to tell me.  However, the utility that
reports an error merely passes to the caller a pointer to a character
string.  That very pointer could be used as a message identifier if
used in such fashion.  So why not return an index?  So you may need a
lookup function that traps accesses beyond the table boundaries and
reports them as erroneous together with, if possible, the source and
location of the problem.  How hard is that going to be?

As for the efficiencies involved, it is not only performance that's
involved, it's also scalability: use a slightly different format for
your error message (a tab turned to a space) and the mapping fails.

Not that I know the answer, I'm just stirring the pond, hoping some
new ideas pop up.

++L



  reply	other threads:[~2004-06-03  5:14 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-01 11:09 lucio
2004-06-01 16:37 ` boyd, rounin
2004-06-01 21:03   ` ron minnich
2004-06-01 21:09     ` boyd, rounin
2004-06-01 21:43     ` Russ Cox
2004-06-01 21:49       ` ron minnich
2004-06-01 22:03         ` Russ Cox
2004-06-01 22:08           ` boyd, rounin
2004-06-02  5:34     ` lucio
2004-06-02  7:36       ` Charles Forsyth
2004-06-02  9:07         ` John Murdie
2004-06-02  9:39           ` Charles Forsyth
2004-06-02 16:12         ` ron minnich
2004-06-02 16:24           ` lucio
2004-06-02 16:54             ` ron minnich
2004-06-02 16:56               ` boyd, rounin
2004-06-03  6:41                 ` lucio
2004-06-03  8:49                   ` Charles Forsyth
2004-06-03  9:16                     ` boyd, rounin
2004-06-03  9:50                       ` Error reporting (Was: [9fans] GNU Make) lucio
2004-06-03 14:01                         ` rog
2004-06-03 13:54                           ` Charles Forsyth
2004-06-03 14:19                             ` rog
2004-06-03 14:18                               ` boyd, rounin
2004-06-03 14:31                                 ` lucio
2004-06-03 14:33                                 ` rog
2004-06-03 14:58                               ` Charles Forsyth
2004-06-03 15:13                                 ` lucio
2004-06-03 15:17                                 ` rog
2004-06-03 16:12                                   ` C H Forsyth
2004-06-03 16:18                                     ` rog
2004-06-03 16:18                                       ` Charles Forsyth
2004-06-03 16:38                                         ` rog
2004-06-03 16:56                                           ` C H Forsyth
2004-06-03 17:03                                             ` rog
2004-06-03 17:15                                               ` C H Forsyth
2004-06-03 17:25                                                 ` rog
2004-06-03 19:10                                               ` boyd, rounin
2004-06-03 19:08                                           ` boyd, rounin
2004-06-03 19:35                                             ` rog
2004-06-03 19:46                                               ` boyd, rounin
2004-06-03 20:06                                                 ` rog
2004-06-03 22:09                                                   ` Charles Forsyth
2004-06-04  1:05                                                     ` Bruce Ellis
2004-06-04  1:56                                                       ` Scott Schwartz
2004-06-04  2:10                                                         ` Bruce Ellis
2004-06-04  2:46                                                           ` Russ Cox
2004-06-04  8:08                                                           ` Charles Forsyth
     [not found]                                                       ` <013301c449d2$95929d30$637f7d50@SOMA>
2004-06-04 12:16                                                         ` Bruce Ellis
2004-06-08 15:17                                                       ` rog
2004-06-03 14:06                           ` boyd, rounin
2004-06-03 14:21                             ` rog
2004-06-03 10:31                       ` [9fans] GNU Make lucio
2004-06-03 14:53                         ` Rob Pike
2004-06-03 15:01                           ` boyd, rounin
2004-06-03 15:04                           ` lucio
2004-06-03 15:16                             ` Rob Pike
2004-06-03 15:33                               ` rog
2004-06-03 15:40                                 ` boyd, rounin
2004-06-03 15:58                                   ` lucio
2004-06-03 15:40                               ` lucio
2004-06-03 15:20                             ` [9fans] internationalised error messages boyd, rounin
2004-06-02 21:30         ` [9fans] GNU Make boyd, rounin
2004-06-02  8:54       ` Richard Miller
2004-06-02  9:17         ` lucio
2004-06-02  9:54           ` Charles Forsyth
2004-06-02 16:15           ` ron minnich
2004-06-02 17:00           ` Steve Simon
2004-06-03  5:14             ` lucio [this message]
2004-06-02 14:00       ` ron minnich
2004-06-02 14:36         ` C H Forsyth
2004-06-02 14:33           ` Charles Forsyth
2004-06-02 15:24         ` Charles Forsyth
2004-06-02 15:56           ` lucio
2004-06-02 16:11           ` lucio
2004-06-02 19:28             ` Joel Salomon
2004-06-03  4:43               ` [9fans] troff and 4.4BSD man pages Lyndon Nerenberg
2004-06-03  5:54                 ` Taj Khattra
2004-06-03  8:26                 ` boyd, rounin
2004-06-07  8:55                   ` Douglas A. Gwyn
2004-06-07 13:19                     ` Jon Snader
     [not found]                       ` <z4udnTOQMJVTdlndRVn-jg@comcast.com>
2004-06-10 10:58                         ` Aharon Robbins
2004-06-10 12:40                           ` rog
2004-06-10 13:24                             ` Douglas A. Gwyn
2004-06-03 10:13                 ` Bruce Ellis
2004-06-03 10:17                   ` boyd, rounin
2004-06-03 10:27                     ` lucio
2004-06-03 10:29                     ` Bruce Ellis
2004-06-03 10:26                       ` boyd, rounin
2004-06-03 11:18                         ` Bruce Ellis
2004-06-03  1:57             ` [9fans] GNU Make a
2004-06-03  3:31               ` Kenji Okamoto
2004-06-02 11:13 lucio
2004-06-02 16:24 Trickey, Howard W (Howard)
2004-06-02 16:31 ` lucio
2004-06-02 23:53 ` Dan Cross

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=7a11feaaac0ff47b146e04dba05a7244@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@cse.psu.edu \
    /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.
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).