9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Very old bug in db(1)
@ 2015-03-19  6:41 Roberto E. Vargas Caballero
  2015-03-19  8:01 ` Giacomo Tesio
  0 siblings, 1 reply; 6+ messages in thread
From: Roberto E. Vargas Caballero @ 2015-03-19  6:41 UTC (permalink / raw)
  To: 9fans

I was doing some experiments with db(1), when I tried something like:

main:b *argv/X

and it gave me an error. I debugged it and I found that is a bug in the
code due to a mix between char* and Rune*. I have created a patch
in sources with the name unicode-db.

The funny thing is this error must be at least 20 years old,
because clearly its origin is the unicode translation of old unix tools.
I have checked  labs, 9front and plan9port and all of them have
the error (in some moment someone realized about a warning
of the compiler about different pointer types and simply put a
cast, that is not present in the code of plan9port).

I send this mail here, first because I think is the error is funy,
second because is my first patch send to plan9 and I'm not sure about
the process, and third because it affects to all the versions of plan9
and I'm not sure if all of them take this bug fixes from sources.

Regards,




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-19 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19  6:41 [9fans] Very old bug in db(1) Roberto E. Vargas Caballero
2015-03-19  8:01 ` Giacomo Tesio
2015-03-19  8:41   ` lucio
2015-03-19  9:12     ` Giacomo Tesio
2015-03-19 10:12       ` lucio
2015-03-19 10:47   ` cinap_lenrek

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).