[TUHS] Happy birthday, Dennis Ritchie! [ really sun vs dec/apollo --> X and NeWS ]

Ian Zimmerman itz at very.loosely.org
Tue Sep 19 17:22:14 AEST 2017


On 2017-09-18 19:50, Larry McVoy wrote:

> So in the BitKeeper source, perror is redifined to my_perror which is
> this:
> 
> void    
> my_perror(char *file, int line, char *msg)

That is a different signature from perror, so I presume you mean you did
something along the lines of

#define perror(s) (my_perror(__FILE__, __LINE__, (s)))

Since this must obviously be a macro, I'm not sure I want it in libc;
macros are messy.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



More information about the TUHS mailing list