summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
AgeCommit message (Collapse)Author
2012-03-25Fix extern inline useSamuel Thibault
* ext2fs/Makefile (SRCS): Add xinl.c * libtreefs/Makefile (OTHERSRCS): Likewise. * term/Makefile (SRCS): Likewise. * ufs/Makefile (SRCS): Likewise. * hostmux/hostmux-xinl.c: Define HOSTMUX_DEFINE_EI instead of HOSTMUX_EI. * libdiskfs/extern-inline.c: Define DISKFS_DEFINE_EXTERN_INLINE instead of DISKFS_EXTERN_INLINE. * libftpconn/xinl.c: Define FTP_CONN_DEFINE_EI instead of FTP_CONN_EI. * libpipe/pipe-funcs.c: Define PIPE_DEFINE_EI instead of PIPE_EI. * libpipe/pq-funcs.c: Define PQ_DEFINE_EI instead of PQ_EI. * libshouldbeinlibc/idvec-funcs.c: Define IDVEC_DEFINE_EI instead of IDVEC_EI. * libshouldbeinlibc/maptime-funcs.c: Define MAPTIME_DEFINE_EI instead of MAPTIME_EI. * libshouldbeinlibc/ugids-xinl.c: Define UGIDS_DEFINE_EI instead of UGIDS_EI. * libstore/xinl.c: Define STORE_DEFINE_EI instead of STORE_EI. * libthreads/rwlock.c: Define RWLOCK_DEFINE_EI instead of RWLOCK_EI. * ext2fs/xinl.c: New file, define EXT2FS_DEFINE_EI and include "ext2fs.h" * libtreefs/xinl.c: New file, define TREEFS_DEFINE_EI and include "treefs.h" and "mig-decls.h". * term/xinl.c: New file, define TERM_DEFINE_EI and include "term.h". * ufs/xinl.c: New file, define UFS_DEFINE_EI and include "ufs.h" * ext2fs/ext2fs.h: Include <features.h>, define EXT2FS_EI to __extern_inline instead of "extern inline", define it to empty when EXT2FS_DEFINE_EI is defined. Always declare extern inline prototypes, and define extern inlines content only if __USE_EXTERN_INLINES or EXT2FS_DEFINE_EI is defined. * libdiskfs/diskfs.h: Likewise with DISKFS_EXTERN_INLINE and DISKFS_DEFINE_EXTERN_INLINE. * libftpconn/ftpconn.h: Likewise with FTP_CONN_EI and FTP_CONN_DEFINE_EI. * libftpconn/priv.h: Likewise. * libpipe/pipe.h: Likewise with PIPE_EI and PIPE_DEFINE_EI. * libpipe/pq.h: Likewise with PQ_EI and PQ_DEFINE_EI. * libshouldbeinlibc/idvec.h: Likewise with IDVEC_EI and IDVEC_DEFINE_EI. * libshouldbeinlibc/maptime.h: Likewise with MAPTIME_EI and MAPTIME_DEFINE_EI. * libshouldbeinlibc/ugids.h: Likewise with UGIDS_EI and UGIDS_DEFINE_EI. * libstore/store.h: Likewise with STORE_EI and STORE_DEFINE_EI. * libthreads/rwlock.h: Likewise with RWLOCK_EI and RWLOCK_DEFINE_EI. * term/term.h: Likewise with TERM_EI and TERM_DEFINE_EI. * ufs/ufs.h: Likewise with UFS_EI and UFS_DEFINE_EI. * libtreefs/treefs.h: Include <features.h>, define TREE_FS_EI to __extern_inline, or to empty when TREEFS_DEFINE_EI is defined. Use TREEFS_EI instead of "extern inline". * libtreefs/mig-decls.h: Use TREEFS_EI instead of "extern inline".
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-08-20Fix localhost() after memory failureSamuel Thibault
* libshouldbeinlibc/localhost.c (localhost): Free and reset buf when reallocation failed.
2011-08-20fix a realloc-related memory leak in localhost()Jonathan Neuschäfer
* libshouldbeinlibc/localhost.c (localhost): assign the return value of realloc to a temporary variable to avoid losing the old value of buf in the case of realloc failing.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2008-07-18Update copyright years.Thomas Schwinge
2008-07-18Convert to UTF-8.Thomas Schwinge
2008-07-172008-07-17 Flávio Cruz <flaviocruz@gmail.com>Samuel Thibault
* idvec-auth.c (idvec_merge_auth): Fix size in munmap calls.
2008-07-01Update copyright years.Thomas Schwinge
2008-04-242008-03-19 Marc-Olivier Mercier <mercier.m@sympatico.ca>Samuel Thibault
* ugids-argp.c (parse_opt): Check NULL condition for struct passwd (resp. group) pointer returned by getpwnam_r (resp. getgrnam_r).
2008-03-162008-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* idvec-verify.c (verify_id): Compare id to (uid_t) -1 instead of checking that is is positive or nul (which is always true). Reported by Marc-Olivier Mercier <mercier.m@sympatico.ca>.
2007-02-042007-02-04 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* maptime.h: Fix a comment.
2004-10-23hostmux/Marcus Brinkmann
2004-10-23 Marcus Brinkmann <marcus@gnu.org> * hostmux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. usermux/ 2004-10-23 Marcus Brinkmann <marcus@gnu.org> * usermux-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing. libshouldbeinlibc/ 2004-10-23 Marcus Brinkmann <marcus@gnu.org> * ugids-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
2003-08-06I am reverting this change.Marcus Brinkmann
2003-08-062003-08-06 Jeroen Dekkers <jeroen@dekkers.cx>Marcus Brinkmann
* idvec-verify.c: Remove #pragma weak crypt. (verify_passwd): Don't check if crypt exist.
2003-08-052003-08-03 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann
* idvec-verify.c: Include <crypt.h>. (crypt): Removed prototype.
2002-05-112002-05-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* idvec-impgids.c (_merge_implied_gids): Free CACHE on failure. Submitted by Neal H Walfield <neal@cs.uml.edu>.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* portinfo.c (print_port_info): Use %z formats for port names. * xportinfo.c (print_xlated_port_info): Likewise.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* portinfo.c (print_port_info): Use %z formats for port names.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* wire.c: Use ElfW(TYPE) in place of Elf32_TYPE throughout.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* portxlate.c (port_name_xlator_xlate): Use mach_msg_type_name_t instead of mach_port_type_t, to match RPC prototype.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* idvec-auth.c (idvec_merge_auth): int -> size_t.
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* idvec-verify.c (verify_passwd): Cast to intptr_t before int.
2002-02-07.Roland McGrath
2002-02-072002-02-06 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (CFLAGS): Don't add -DHAVE_LINEWRAP_H -DHAVE_CTHREADS_H.
2001-06-26* idvec-impgids.c (_merge_implied_gids) [HAVE_GETGROUPLIST]:Mark Kettenis
Conditionally enable code that calls getgrouplist. Use `int' instead of `size_t' for number of groups. [!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist.
2001-03-31.Roland McGrath
2001-03-312001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* idvec-auth.c (idvec_merge_auth): Really allow parameters to be NULL.
2001-03-312001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* ugids.h: Fix obsolescent #endif syntax.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* idvec.h: Include <string.h> for memcmp decl.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* wire.c (map_extent): Add dead return stmt to silence gcc warning.
2001-02-202001-02-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
2000-10-302000-10-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* wire.c: Include <error.h>.
2000-10-29.Roland McGrath
2000-10-292000-10-29 Roland McGrath <roland@redhat.sf.frob.com>Roland McGrath
* wire.c (map_extent): Pass second arg of RTLD_NOLOAD to dlopen. (RTLD_NOLOAD): Define macro to zero if undefined.
2000-10-29.Roland McGrath
2000-10-292000-10-29 Roland McGrath <roland@frob.com>Roland McGrath
* wire.c (map_extent): Rewrite using dlsym on library's _end symbol.
2000-03-18Remove these files that were renamed to =* before CVSificationRoland McGrath
2000-03-18.Roland McGrath
2000-03-182000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* options.c, options.h: Ancient unused files removed.
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* exec-reauth.c (exec_reauth): Always destroy REF, even when we get errors.
2000-02-04.Roland McGrath
2000-02-042000-01-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* maptime.h: Include <errno.h> for error_t decl.
1999-10-29.Roland McGrath
1999-10-291999-10-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* wire.c: Use a weak reference to _DYNAMIC.
1999-09-301999-09-29 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* idvec.c (idvec_setid): Switch last two arguments in call to idvec_insert_only. * idvec.h: Doc fix.
1999-09-281999-09-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* idvec.c (idvec_setid): Implement Posix saved set-user id correctly. (idvec_insert_only): Doc fix. Reported by Mark Kettenis <kettenis@wins.uva.nl>.