Bug#752237: libc0.3: send() asked to transmit 0 chars still triggers recv() on Hurd

2014-06-28 Thread Roland McGrath
I'm inclined to say libc is not the right place to fix this. If the user says write/send 0, what that means should be up to the io server to decide--even if all the servers we have today are intending to implement the same POSIX semantics. -- To UNSUBSCRIBE, email to

Re: glibc release branch procedures

2009-06-03 Thread Roland McGrath
You've talked a lot about detailed concrete criteria for what to include on a release branch and how to operate it. That's a lovely discussion, but I think it may have a bit missed the point of what I'm trying to start. With the special exception of copyright rules, the sum of what I intended to

Re: Unsupported supported architecture

2007-10-03 Thread Roland McGrath
The [EMAIL PROTECTED] mailing list is where the glibc ARM port's maintenance is discussed. Please discuss ARM-related issues there. Thanks, Roland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: [parisc-linux] Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

2007-02-25 Thread Roland McGrath
I did a couple of tests and I verified that I have no words to spare. Adding an extra int __pad forces the structure to grow by 8 bytes due to the long long alignment requirements. Just reorder the fields so that the 32-bit fields are all in groups of 2 or 4. All that should matter is that the

Re: [parisc-linux] Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

2007-02-23 Thread Roland McGrath
In the new structure we have shifted everything up because __lock is now an integer, instead of a _pthread_fastlock with a 4 word lock structure. Should I add padding after __lock e.g. int pad[3]? Yes, you must dedicate those words to compatibility only. In an old executable the following

Re: [parisc-linux] Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

2007-02-23 Thread Roland McGrath
Unfortunatly, due to alignment the NPTL pthread_cond_t grows larger than the Linuxthreads version when I add the padding. This is the only structure the grows larger in size than before. Is there any way I can avoid adding the padding? It looks to me like you have one word to spare. That's

Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

2007-02-22 Thread Roland McGrath
All statically initialized locks are broken. We made locks smaller, and changed the value of the static initialization. Smaller? Smaller is easy. And you didn't actually reduce __SIZEOF_PTHREAD_MUTEX_T, did you? This seems like it would not be at all hard to accommodate just with symbol

Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

2007-02-18 Thread Roland McGrath
NPTL for hppa-linux is not backwards compatible with Linuxthreads, we have broken the pthread ABI. Please elaborate on exactly which types and entrypoints are incompatible. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Bug#89098: Timezone POSIX compliance bug.

2003-12-23 Thread Roland McGrath
SUSv3 says this about the TZ offset: The hour shall be between zero and 24, and the minutes (and seconds)-if present-between zero and 59. glibc currently clips this range at 23 hours. I think you are correct that this is wrong as it is. Off hand I cannot see why we clip the given

Bug#89098: Timezone POSIX compliance bug.

2003-12-23 Thread Roland McGrath
SUSv3 says this about the TZ offset: The hour shall be between zero and 24, and the minutes (and seconds)-if present-between zero and 59. glibc currently clips this range at 23 hours. I think you are correct that this is wrong as it is. Off hand I cannot see why we clip the given

Bug#187391: bug found (in libc)

2003-04-27 Thread Roland McGrath
let me rephrase the problem. the following code: #include sys/socket.h #include sys/un.h main () { sockaddr_un test = { AF_LOCAL, }; } This code is wrong, i.e. not portable or POSIX-compliant. You cannot use normal initializers for a structure that

Bug#187391: bug found (in libc)

2003-04-26 Thread Roland McGrath
I don't know why you think there is a bug, but we don't plan to change the sockaddr format any time soon. sa_len is not a bug.

Re: FATAL: kernel too old

2002-12-04 Thread Roland McGrath
Check that _dl_osversion (_rtld_global._dl_osversion) is getting initialized. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: FATAL: kernel too old

2002-12-04 Thread Roland McGrath
Check that _dl_osversion (_rtld_global._dl_osversion) is getting initialized.

Re: RH glibc and __ctype_b

2002-12-02 Thread Roland McGrath
I'm not sure exactly what you are asking. What makes old static binaries crash when they try to load a new libc.so is an old bug in the dynamic loading code when handling a reference within an object to a hidden symbol in the same object. That was fixed by this change: 2002-09-18 Roland

Re: RH glibc and __ctype_b

2002-12-02 Thread Roland McGrath
I suppose what really confuses me is that the compat_symbol entries for __ctype_* are commented out in RHL glibc, but not for __ctype32_*. Why the asymmetry? In the current RHL glibc sources, both are treated the same. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: [PATCH] fix masking error in fesetround() on hppa

2002-12-02 Thread Roland McGrath
I've put that fix in. I'm not quite sure what you are suggesting for a new test, but test cases that fail on known bug regressions (i.e. one that fails before your fix and works after it) are always welcome. Thanks, Roland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: RH glibc and __ctype_b

2002-12-02 Thread Roland McGrath
I'm not sure exactly what you are asking. What makes old static binaries crash when they try to load a new libc.so is an old bug in the dynamic loading code when handling a reference within an object to a hidden symbol in the same object. That was fixed by this change: 2002-09-18 Roland

Re: RH glibc and __ctype_b

2002-12-02 Thread Roland McGrath
I suppose what really confuses me is that the compat_symbol entries for __ctype_* are commented out in RHL glibc, but not for __ctype32_*. Why the asymmetry? In the current RHL glibc sources, both are treated the same.

Re: [PATCH] fix masking error in fesetround() on hppa

2002-12-02 Thread Roland McGrath
I've put that fix in. I'm not quite sure what you are suggesting for a new test, but test cases that fail on known bug regressions (i.e. one that fails before your fix and works after it) are always welcome. Thanks, Roland

Re: glibc 2.3.1 - hppa - Test results.

2002-11-10 Thread Roland McGrath
[/math/test-fenv.out] Error 136 That's a crash. You should look into that, but probably it is only breaking special FP cases so it would not be the first thing to worry about. [/math/test-float.out] Error 1 [/math/test-double.out] Error 1 [/math/test-ifloat.out] Error 1 Those might just be

Re: glibc 2.3.1 - hppa - Test results.

2002-11-10 Thread Roland McGrath
[/math/test-fenv.out] Error 136 That's a crash. You should look into that, but probably it is only breaking special FP cases so it would not be the first thing to worry about. [/math/test-float.out] Error 1 [/math/test-double.out] Error 1 [/math/test-ifloat.out] Error 1 Those might just be

Re: Linux getdents.c is not aliasing safe

2002-11-04 Thread Roland McGrath
I'm not sure that it's valid C99 - my impression is that it isn't, and the only valid way would be to have a function return the DIRENT_TYPE by value - but it's valid GNU C and it fixes the bug I was chasing. I'm not sure either. I don't have a copy of C99 to consult, and my weasel-wording

Re: Linux getdents.c is not aliasing safe

2002-11-02 Thread Roland McGrath
I've put in a fix similar to yours but with cosmetic differences. I believe it is valid C99. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Linux getdents.c is not aliasing safe

2002-11-02 Thread Roland McGrath
I've put in a fix similar to yours but with cosmetic differences. I believe it is valid C99.

Re: [PATCH] glibc 2.2.94 - hppa - min kernel and unwind-find-fde

2002-10-01 Thread Roland McGrath
The following patch bumps up the minimum kernel required for hppa, and adds libc_cv_gcc_unwind_find_fde (I'm curious if this last bit is still needed?). Please figure it out and be sure. You need it only if there are existing old C++ binaries that have references to _Unwind_Find_FDE. If

Re: [PATCH] glibc 2.2.94 - hppa - fcntl64

2002-10-01 Thread Roland McGrath
The following changes adds a few defines so __USE_FILE_OFFSET64 works properly on hppa. Both the log entries and the patch here are botched. You must test your patches before you send them. Please observe the change log conventions more closely. Your entries have inadequate detail and are

Re: [PATCH] glibc 2.2.94 - hppa - fcntl64

2002-10-01 Thread Roland McGrath
How the patch it botched? Look at the name of the file it creates. I admit the following errors in the changelog: a- Missing : after the file name and before the descriptive text. b- Insuffient detail. Yes. Do you use the term 'canonical' to mean 'simplified' or rather

Bug#47035: setitimer

2000-03-29 Thread Roland McGrath
I think this should have been fixed by this libc change: 2000-01-08 Mark Kettenis [EMAIL PROTECTED] * sysdeps/mach/hurd/setitimer.c (quantize_timeval): New function. (setitimer_locked): Use it to quantize the timer values. Use quantized timer values to check if the

Bug#47896: move these to wishlist

2000-03-29 Thread Roland McGrath
I don't know the debian magic required to refile these two reports as wishlist items, but that's what should be done.

Bug#54154: no zoneinfo when cross-compiling

2000-01-22 Thread Roland McGrath
This is just a fact about cross-compiling. The program that generates the zoneinfo database to install is cross-compiled as part of the libc package, so you are just out of luck. I think this report should be closed, and just report whatever problems there are with native compilation separately.

Bug#47921: getsockopt in hurd libc

2000-01-05 Thread Roland McGrath
I think that getsockopt in the libc for hurd is in fact ok (given the current interfaces). I believe the problem reported was in the hurd (pfinet), not in libc, and was fixed anyway a while ago. If the reporter or maintainer concurs, please close this report.

Bug#47896: MS_SYNC Macros Missing from Hurd development environment

1999-10-23 Thread Roland McGrath
msync is not in fact supported on the hurd. If you try it you'll see it's a stub (always returns ENOSYS). An autoconf check for msync on the hurd will not find it.

Bug#47998: msgget IPC not implemented

1999-10-23 Thread Roland McGrath
It is certainly the case that sysv-style ipc and shared memory are not implemented on the hurd, and are not likely to be implemented any time soon. We don't know of any particularly desireable things that sysv ipc provides that can't be done another way (unix-domain sockets, pipes, etc, even

Bug#45104: setsid() breakage

1999-10-01 Thread Roland McGrath
I've checked in a different fix for this to libc 2.1, that I think is correct and avoids some more busy-work. But I have not tested this code at all beyond compiling it, so please let me know how it is. I think the comments in the new code explain the rationale.

Bug#45104: setsid() breakage

1999-09-24 Thread Roland McGrath
The problem is, with this patch screen stops working again (same symptoms as before, maybe setsid() stopped working again). Sigh. Please send us a fresh test case (simple program) that you have verified exhibits the bug with the current libc and hurd.

Bug#45104: setsid() breakage

1999-09-22 Thread Roland McGrath
think getty should be the one to do it. I checked in the following change, but haven't tested. 1999-09-22 Roland McGrath [EMAIL PROTECTED] * getty.c (main): Make TTY our controlling terminal with TIOCSCTTY.

Bug#45104: setsid() breakage

1999-09-22 Thread Roland McGrath
D'oh! Ok, I reverted that change and checked in your other fix to login. But why did the extra ioctl do harm?

Bug#45104: setsid() breakage

1999-09-18 Thread Roland McGrath
On Sat, Sep 18, 1999 at 07:05:12AM -0400, Roland McGrath wrote: Well, Thomas and I uncovered some bugs. Is there a public place that you and Thomas discuss Hurd-ish stuff? Well, this stuff was discussed on this very list, and tracked in the BTS. We do have an internal list for discussions