[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#34956: ps formatting problem (fwd)



> A better place to look is the C standard itself.
...
> Unix98 says the same thing; quoting

You have shown that the proposed change does not violate either standard.
Therefore it is legal to make the change.

> There is a legitimate argument for this change: compatibility with Solaris
> and IRIX, possibly all System V-derived systems.  Code that relies on this

Make that: Solaris, IRIX, Digital UNIX, and AIX. (basically every UNIX)
Considering the above, portable UNIX apps may indeed expect a useful
return value.

> behavior is not portable to BSD-derived systems, and glibc has chosen to
> follow that lead instead.   (In general, glibc chooses BSD behavior when C
> and POSIX specify nothing.)

Are we a UNIX clone or a BSD clone?

I see a perfectly good Free Software version of BSD. Actually, there
are three of them. I don't see a good Free Software version of UNIX.
It would be pretty stupid to clone existing Free Software. If I want
to get BSD behavior, duh, I might just get the real thing!

> This has come up repeatedly, and Ulrich has said repeatedly that he
> will not change the behavior of glibc as distributed upstream.

Fine, Debian has a way to automatically apply patches. This is a good
patch. It makes it easier to port UNIX code to Linux.


Reply to: