aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix extern inline useSamuel Thibault2012-03-256-13/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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".
* fix common misspellingsJonathan Neuschäfer2011-08-204-5/+5
| | | | | | * Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* Fix localhost() after memory failureSamuel Thibault2011-08-201-0/+2
| | | | | * libshouldbeinlibc/localhost.c (localhost): Free and reset buf when reallocation failed.
* fix a realloc-related memory leak in localhost()Jonathan Neuschäfer2011-08-201-7/+14
| | | | | | * 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.
* Switch to the new ChangeLog style.Thomas Schwinge2009-07-111-1413/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update copyright years.Thomas Schwinge2008-07-181-1/+3
|
* Convert to UTF-8.Thomas Schwinge2008-07-181-1/+1
|
* 2008-07-17 Flávio Cruz <flaviocruz@gmail.com>Samuel Thibault2008-07-172-4/+8
| | | | * idvec-auth.c (idvec_merge_auth): Fix size in munmap calls.
* Update copyright years.Thomas Schwinge2008-07-012-2/+3
|
* 2008-03-19 Marc-Olivier Mercier <mercier.m@sympatico.ca>Samuel Thibault2008-04-242-11/+37
| | | | | * ugids-argp.c (parse_opt): Check NULL condition for struct passwd (resp. group) pointer returned by getpwnam_r (resp. getgrnam_r).
* 2008-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault2008-03-162-1/+7
| | | | | | * 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-04 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge2007-02-042-4/+8
| | | | * maptime.h: Fix a comment.
* hostmux/Marcus Brinkmann2004-10-232-1/+5
| | | | | | | | | | | | | | | | 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.
* I am reverting this change.Marcus Brinkmann2003-08-062-8/+10
|
* 2003-08-06 Jeroen Dekkers <jeroen@dekkers.cx>Marcus Brinkmann2003-08-062-10/+8
| | | | | * idvec-verify.c: Remove #pragma weak crypt. (verify_passwd): Don't check if crypt exist.
* 2003-08-03 Marco Gerards <metgerards@student.han.nl>Marcus Brinkmann2003-08-052-1/+6
| | | | | * idvec-verify.c: Include <crypt.h>. (crypt): Removed prototype.
* 2002-05-12 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-05-112-1/+10
| | | | | * idvec-impgids.c (_merge_implied_gids): Free CACHE on failure. Submitted by Neal H Walfield <neal@cs.uml.edu>.
* .Roland McGrath2002-05-081-0/+1
|
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-1/+1
| | | | | * portinfo.c (print_port_info): Use %z formats for port names. * xportinfo.c (print_xlated_port_info): Likewise.
* .Roland McGrath2002-05-081-0/+13
|
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-12/+12
| | | | * portinfo.c (print_port_info): Use %z formats for port names.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-4/+4
| | | | * wire.c: Use ElfW(TYPE) in place of Elf32_TYPE throughout.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-7/+6
| | | | | * portxlate.c (port_name_xlator_xlate): Use mach_msg_type_name_t instead of mach_port_type_t, to match RPC prototype.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-4/+3
| | | | * idvec-auth.c (idvec_merge_auth): int -> size_t.
* 2002-05-08 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-5/+4
| | | | * idvec-verify.c (verify_passwd): Cast to intptr_t before int.
* .Roland McGrath2002-02-071-0/+4
|
* 2002-02-06 Roland McGrath <roland@frob.com>Roland McGrath2002-02-071-3/+1
| | | | * Makefile (CFLAGS): Don't add -DHAVE_LINEWRAP_H -DHAVE_CTHREADS_H.
* * idvec-impgids.c (_merge_implied_gids) [HAVE_GETGROUPLIST]:Mark Kettenis2001-06-262-5/+12
| | | | | | Conditionally enable code that calls getgrouplist. Use `int' instead of `size_t' for number of groups. [!HAVE_GETGROUPLIST]: Add #warning about missing getgrouplist.
* .Roland McGrath2001-03-311-0/+9
|
* 2001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-03-311-6/+10
| | | | | * idvec-auth.c (idvec_merge_auth): Really allow parameters to be NULL.
* 2001-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-03-311-3/+3
| | | | * ugids.h: Fix obsolescent #endif syntax.
* .Roland McGrath2001-02-261-0/+6
|
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-5/+5
| | | | * idvec.h: Include <string.h> for memcmp decl.
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+6
| | | | * wire.c (map_extent): Add dead return stmt to silence gcc warning.
* 2001-02-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-202-0/+6
| | | | | * timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
* 2000-10-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-10-302-0/+5
| | | | * wire.c: Include <error.h>.
* .Roland McGrath2000-10-291-0/+3
|
* 2000-10-29 Roland McGrath <roland@redhat.sf.frob.com>Roland McGrath2000-10-291-1/+4
| | | | | * wire.c (map_extent): Pass second arg of RTLD_NOLOAD to dlopen. (RTLD_NOLOAD): Define macro to zero if undefined.
* .Roland McGrath2000-10-291-0/+4
|
* 2000-10-29 Roland McGrath <roland@frob.com>Roland McGrath2000-10-291-5/+20
| | | | * wire.c (map_extent): Rewrite using dlsym on library's _end symbol.
* Remove these files that were renamed to =* before CVSificationRoland McGrath2000-03-187-900/+0
|
* .Roland McGrath2000-03-181-0/+4
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-182-310/+0
| | | | * options.c, options.h: Ancient unused files removed.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-172-2/+9
| | | | | * exec-reauth.c (exec_reauth): Always destroy REF, even when we get errors.
* .Roland McGrath2000-02-041-0/+4
|
* 2000-01-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-02-041-2/+3
| | | | * maptime.h: Include <errno.h> for error_t decl.
* .Roland McGrath1999-10-291-2/+6
|
* 1999-10-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-291-0/+2
| | | | * wire.c: Use a weak reference to _DYNAMIC.
* 1999-09-29 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-09-303-9/+17
| | | | | | * idvec.c (idvec_setid): Switch last two arguments in call to idvec_insert_only. * idvec.h: Doc fix.
* 1999-09-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-282-21/+26
| | | | | | | * idvec.c (idvec_setid): Implement Posix saved set-user id correctly. (idvec_insert_only): Doc fix. Reported by Mark Kettenis <kettenis@wins.uva.nl>.