summaryrefslogtreecommitdiff
path: root/lib/putenv.c
AgeCommit message (Collapse)Author
2005-09-22Sync from gnulib.Paul Eggert
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2004-08-02Update copyright.Paul Eggert
2004-08-02(errno): Remove decl; we now assume C89 or better.Paul Eggert
2003-09-10(malloc): Returns void *, not char *.Jim Meyering
Include <string.h> unconditionally. (strchr, memcpy, NULL): Do not define.
2003-08-18Sync with gnulib.Jim Meyering
2003-08-09Change Solaris 2.7 to Solaris 5.7 in comment.Jim Meyering
2003-06-06Include <stddef.h> rather than <sys/types.h>, as we merely need size_t.Jim Meyering
2003-05-13(rpl_putenv): Don't apply cast to argument of free.Jim Meyering
2003-05-04This avoids a core dump on systems without GNU putenv,Jim Meyering
when running `env -u SOME_ALREADY_UNSET_VARIABLE'. (unsetenv): New static function, from libc. (rpl_putenv): Use it.
2000-04-07Move inclusion of errno.h so it follows that of sys/types.h,Jim Meyering
to work around system header problems on AIX 3.2.5. From Bruno Haible.
1998-12-13Don't include stdlib.h and declare malloc and free.Jim Meyering
This works around Solaris 2.7's conflicting prototype. Reported by Karl Berry.
1998-12-06Redefine putenv before including stdlib.h to workJim Meyering
around Solaris 2.7's conflicting prototype. Reported by Karl Berry.
1998-02-03(sys/types.h): Include to get size_t on some systems.Jim Meyering
(NULL): Define if needed.
1997-07-01[putenv]: Undefine before including system headers.Jim Meyering
Otherwise, the declaration of *rpl_putenv* conflicts with the system prototype on at least Irix5.3. From Marcus Daniels.
1997-06-29Remove _sys_putenv cruft and just rename the function itself.Jim Meyering
1997-06-29fix it rightJim Meyering
1997-06-29Define-away putenv only if it's not already defined.Jim Meyering
1997-02-04libitizeJim Meyering
1996-07-15indent cpp-directivesJim Meyering
1996-07-15update FSF address in copyrightJim Meyering
1995-02-28Always include system headers, but define-away any putenv prototype.Jim Meyering
1994-12-04Get putenv.c from /copies (derived from glibc).Jim Meyering
Hack it to work with SGI's __environ junk.
1994-10-01merge with 1.10n5Jim Meyering
1994-10-01merge with 1.10n4Jim Meyering
1994-09-28remove ansidecl junkJim Meyering
1994-09-27merge with 1.10n2Jim Meyering
1994-09-27merge with 1.10n1Jim Meyering
1993-10-24merge with 1.8.1hJim Meyering
1993-10-12merge with 1.8.1dJim Meyering
1993-09-08merge with 1.8.1 + partial --version and --helpJim Meyering
1993-03-30(index, bcopy): Don't redefine.Jim Meyering
1992-11-01Initial revisionJim Meyering