[9fans] mallocz in APE

2013-07-18 Thread yaroslav
APE programs which require libmp fail to link due to unresolved mallocz symbol. Easily solved by providing a local implementation, but why: it's already there - in an alternative form though: cpu% nm /386/lib/ape/libap.a | grep -i mallocz 9mallocz.8: T _MALLOCZ 9mallocz.8

Re: [9fans] 9atom installation fails due to missing files

2013-07-18 Thread Daode
erik quanstrom wrote: |if you have plan 9, or 9p working (say on linux or osx), then you can Hello! I now have a running 9atom system!! :-)) |"9fs 9atom". for plan 9 the incantation would be I've spend the last two weeks adding command line editing to the mailer i maintain, and am in the pr

Re: [9fans] mallocz in APE

2013-07-18 Thread Steve Simon
> A quick fix is to bring up mallocz bits in > /sys/src/ape/lib/mp/port/libc.h into agreement with the rest. I would say this is the correct fix. > Replacing _MALLOCZ back with mallocz within APE realm seems to me a > better option to consider. I don't think this is better. APE generally tries v

[9fans] Ligatures in Plan 9 troff

2013-07-18 Thread benjamin.purcell
I can't find any support for ligatures (suchas fi, ffi, fl) in the Plan 9 version of troff. The ligature tokens Fi and fi are not defined in the DESC file for troff fonts and no sizing data is given for those ligatures in the R font file for example. When I try to manually typeset a ligature (w

Re: [9fans] mallocz in APE

2013-07-18 Thread Yaroslav
>> Replacing _MALLOCZ back with mallocz within APE realm seems to me a >> better option to consider. > > I don't think this is better. APE generally tries very hard to be compliant > to the spirit of ANSI (or POSIX with _POSIX_EXTENSION defined), this > includes not poluting the namespace with plan

Re: [9fans] mallocz in APE

2013-07-18 Thread Steve Simon
>> Having said this what about setmalloctag() getcallerpc(), etc etc. > >It is internal to the libraries and is not exposed to the APE apps, right? But because getcallerpc() is not prefexid by an underscore or file scope, by the "rules" it is poluting the namespace of the APE app. Its a minor thi

Re: [9fans] mallocz in APE

2013-07-18 Thread tlaronde
On Thu, Jul 18, 2013 at 03:48:17PM +0100, Steve Simon wrote: > > But because getcallerpc() is not prefexid by an underscore or file scope, > by the "rules" it is poluting the namespace of the APE app. > > Its a minor thing I know but somone put a lot of effort into adding > _MALLOCZ() and > all

Re: [9fans] mallocz in APE

2013-07-18 Thread erik quanstrom
On Thu Jul 18 10:49:16 EDT 2013, st...@quintile.net wrote: > >> Having said this what about setmalloctag() getcallerpc(), etc etc. > > > >It is internal to the libraries and is not exposed to the APE apps, right? > > But because getcallerpc() is not prefexid by an underscore or file scope, > by th