Martin v. Löwis
b8f82e6feb
Backport r45505, r45573, r45576
...
- reset errno before calling confstr - use confstr() doc to simplify
checks afterwards
- Correct implementation and documentation of os.confstr. Add a simple
test case. I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
I tested this with valgrind on amd64.
The man pages I found for diff architectures are inconsistent on this.
I'm not entirely sure this change is correct for all architectures
either.
Perhaps we should just over-allocate and not worry about it?
The change to return None instead of "" in case of unconfigured
values has not been backported.
2006-10-09 19:29:06 +00:00
..
2006-10-08 13:56:00 +00:00
2006-10-08 17:41:25 +00:00
2005-10-05 11:48:36 +00:00
2006-10-05 18:49:36 +00:00
2006-10-05 18:37:08 +00:00
2006-10-09 18:30:13 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-08-19 07:48:06 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-05 17:30:48 +00:00
2006-10-09 18:30:13 +00:00
2006-09-27 19:17:32 +00:00
2006-10-03 19:02:58 +00:00
2004-07-02 18:57:45 +00:00
2004-07-10 19:30:39 +00:00
2006-09-27 19:17:32 +00:00
2006-10-05 18:37:08 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-05 18:22:02 +00:00
2006-09-27 19:17:32 +00:00
2004-07-18 06:16:08 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-05 17:22:15 +00:00
2006-10-05 18:22:02 +00:00
2006-09-27 19:17:32 +00:00
2006-09-30 11:17:39 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2004-10-30 23:09:22 +00:00
2006-09-28 17:08:01 +00:00
2006-09-27 19:17:32 +00:00
2003-08-17 21:28:39 +00:00
2003-11-20 01:44:59 +00:00
2006-02-20 17:37:39 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-03 19:22:30 +00:00
2006-09-29 12:44:26 +00:00
2006-10-04 10:23:57 +00:00
2006-03-14 06:47:07 +00:00
2005-09-14 18:15:03 +00:00
2006-09-27 19:17:32 +00:00
2004-08-03 13:08:07 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-04 10:23:57 +00:00
2006-09-27 19:17:32 +00:00
2006-10-09 19:29:06 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-03 18:29:35 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-04 13:20:05 +00:00
2006-09-27 19:17:32 +00:00
2005-12-27 17:37:16 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-10-08 17:41:25 +00:00
2005-09-14 18:15:03 +00:00
2003-10-17 22:13:16 +00:00
2004-05-31 03:09:25 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-27 19:17:32 +00:00
2006-09-28 17:05:18 +00:00
2006-10-08 17:41:25 +00:00
2004-06-13 20:29:55 +00:00
2004-08-04 07:38:35 +00:00
2006-10-04 13:12:26 +00:00
2004-06-02 16:49:17 +00:00
2006-09-27 19:17:32 +00:00
2006-10-03 19:39:54 +00:00
2006-06-09 13:55:00 +00:00