Jeff Johnston
37f996a2b2
2008-09-24 Pawel Veselov <pawel.veselov@gmail.com>
...
Fix setenv/getenv/unsetenv to be OpenGroup compliant:
* libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
return types.
* libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
names that contain equal chars.
* libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
* libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
EINVAL if name contains an equal sign. Do not remove any equal signs
from the value.
(_unsetenv_r): Modified to return int. Return -1 and set EINVAL
if name contains equal sign. Return -1 if no variable(s) were found
and return 0 otherwise.
2008-09-25 01:23:08 +00:00
..
2006-03-21 00:57:34 +00:00
2007-04-05 16:47:38 +00:00
2002-06-13 23:24:03 +00:00
2005-10-28 21:21:08 +00:00
2007-06-27 12:44:41 +00:00
2004-09-09 19:46:54 +00:00
2004-09-09 19:46:54 +00:00
2003-10-20 18:46:38 +00:00
2002-12-06 18:58:51 +00:00
2003-11-27 20:54:12 +00:00
2003-11-27 20:15:47 +00:00
2003-11-27 20:15:47 +00:00
2007-05-29 21:26:59 +00:00
2004-09-15 20:50:08 +00:00
2004-09-15 20:50:08 +00:00
2003-10-20 18:46:38 +00:00
2002-02-03 09:24:18 +00:00
2006-08-03 16:56:05 +00:00
2005-10-28 21:21:08 +00:00
2002-12-20 21:07:56 +00:00
2005-10-28 21:21:08 +00:00
2001-02-15 02:04:55 +00:00
2004-09-16 21:26:51 +00:00
2006-06-22 17:59:52 +00:00
2006-06-22 17:59:52 +00:00
2008-03-04 18:27:01 +00:00
2006-06-22 17:59:52 +00:00
2008-09-25 01:23:08 +00:00
2001-02-22 22:12:43 +00:00
2008-03-07 18:16:35 +00:00
2002-07-19 20:36:09 +00:00
2002-07-19 20:36:09 +00:00
2001-02-15 02:04:55 +00:00
2002-05-06 20:44:54 +00:00
2002-02-03 09:24:18 +00:00
2003-10-20 18:46:38 +00:00
2007-06-06 19:24:28 +00:00
2003-11-27 19:47:19 +00:00
2003-11-27 19:47:19 +00:00
2002-02-03 09:24:18 +00:00
2007-07-06 20:03:28 +00:00
2007-12-19 22:36:48 +00:00
2002-11-13 01:20:31 +00:00
2006-12-18 20:21:48 +00:00
2004-04-23 21:44:22 +00:00
2004-04-23 21:44:22 +00:00
2004-04-23 21:44:22 +00:00
2004-04-23 21:44:22 +00:00
2003-12-05 06:13:44 +00:00
2004-04-23 21:44:22 +00:00
2002-09-09 21:42:14 +00:00
2004-04-23 21:44:22 +00:00
2004-04-23 21:44:22 +00:00
2004-04-23 21:44:22 +00:00
2005-10-28 21:21:08 +00:00
2006-06-22 17:59:52 +00:00
2008-06-25 01:45:02 +00:00
2002-02-03 09:24:18 +00:00
2002-11-13 01:20:31 +00:00
2005-10-28 21:21:08 +00:00
2002-11-13 01:20:31 +00:00
2001-02-15 02:04:55 +00:00
2004-09-09 19:46:54 +00:00
2004-11-24 22:34:15 +00:00
2004-11-24 22:34:15 +00:00
2005-10-28 21:21:08 +00:00
2002-02-03 09:24:18 +00:00
2006-09-12 17:31:40 +00:00
2002-02-03 09:24:18 +00:00
2008-09-25 01:23:08 +00:00
2008-09-25 01:23:08 +00:00
2002-02-03 09:24:18 +00:00
2007-07-06 20:03:28 +00:00
2008-06-25 01:45:02 +00:00
2001-10-01 18:05:11 +00:00
2007-07-06 20:03:28 +00:00
2001-10-01 18:05:11 +00:00
2007-07-06 20:03:28 +00:00
2007-05-29 21:26:59 +00:00
2002-11-13 01:20:31 +00:00
2004-04-23 21:44:22 +00:00
2008-08-28 17:36:49 +00:00
2007-07-06 20:03:28 +00:00
2007-07-06 20:03:28 +00:00
2007-07-06 20:03:28 +00:00
2007-10-23 19:50:29 +00:00
2004-04-23 21:44:22 +00:00
2007-07-06 20:03:28 +00:00
2007-07-06 20:03:28 +00:00
2007-07-06 20:03:28 +00:00
2007-05-29 21:26:59 +00:00
2007-05-16 19:31:08 +00:00
2004-04-23 21:44:22 +00:00