aboutsummaryrefslogtreecommitdiff
path: root/libstore/kids.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace `bzero' with `memset'Justus Winter2014-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For reference, this patch was created using the following semantic patch, and then manually applying the change in all functions containing nested functions, as those are not supported by Coccinelle. @@ expression A, B; @@ - bzero (A, B) + memset (A, 0, B) * auth/auth.c: Replace `bzero' with `memset'. * boot/boot.c: Likewise. * defpager/defpager.c: Likewise. * exec/exec.c: Likewise. Also, drop `safe_bzero' and just use `hurd_safe_memset' directly. * ext2fs/ext2fs.c: Likewise. * ext2fs/getblk.c: Likewise. * ext2fs/pager.c: Likewise. * fatfs/pager.c: Likewise. * ftpfs/dir.c: Likewise. * ftpfs/netfs.c: Likewise. * isofs/inode.c: Likewise. * isofs/pager.c: Likewise. * libdiskfs/file-getfh.c: Likewise. * libdiskfs/file-statfs.c: Likewise. * libfshelp/fetch-root.c: Likewise. * libfshelp/start-translator.c: Likewise. * libftpconn/create.c: Likewise. * libftpconn/open.c: Likewise. * libftpconn/unix.c: Likewise. * libpipe/pipe.c: Likewise. * libps/procstat.c: Likewise. * libps/spec.c: Likewise. * libshouldbeinlibc/cacheq.c: Likewise. * libshouldbeinlibc/idvec.c: Likewise. * libshouldbeinlibc/ugids.c: Likewise. * libstore/argp.c: Likewise. * libstore/enc.c: Likewise. * libstore/kids.c: Likewise. * libthreads/alpha/thread.c: Likewise. * libtreefs/fsys.c: Likewise. * libtrivfs/file-statfs.c: Likewise. * mach-defpager/default_pager.c: Likewise. * pfinet/glue-include/asm/uaccess.h: Likewise. * pfinet/io-ops.c: Likewise. * pfinet/options.c: Likewise. * pfinet/socket.c: Likewise. * pfinet/timer-emul.c: Likewise. * pflocal/io.c: Likewise. * startup/startup.c: Likewise. * storeio/storeio.c: Likewise. * sutils/fstab.c: Likewise. * usermux/usermux.c: Likewise. * utils/fakeauth.c: Likewise. * utils/frobauth.c: Likewise. * utils/login.c: Likewise. * utils/x.c: Likewise.
* fix common misspellingsJonathan Neuschäfer2011-08-201-2/+2
| | | | | | * Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* 2002-11-03 Neal H. Walfield <neal@cs.uml.edu>Neal H. Walfield2002-11-031-3/+3
| | | | | | | | | * kids.c: Do not include <malloc.h>. Include <stdlib.h>. (store_set_children): Use memcpy, not bcopy. Calculate SIZE correctly: STORE->children is a struct store **, not a struct store_run *. Reported by Moritz Schulte <moritz@duesseldorf.ccc.de>.
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-4/+5
| | | | | | * kids.c (store_open_children): Dereference pointer in isalnum call. * set.c (store_set_runs): Fix argument type. * kids.c (store_set_children): Likewise.
* 2002-03-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2002-03-111-2/+2
| | | | | | | | | | | * stripe.c (store_concat_class): Add store_concat_open. (store_concat_create): Do not multiply NUM_STORES with 2 to get the number of runs. * kids.c (store_allocate_child_encodings): Call allocate_encoding on child store K, not on STORE. (store_encode_children): Likewise. * decode.c (store_std_leaf_decode): Increment ENC->cur_data by NAME_LEN and MISC_LEN as appropriate.
* 2001-12-23 Roland McGrath <roland@frob.com>Roland McGrath2001-12-231-5/+5
| | | | | | * kids.c (store_set_child_flags): Move decrement to avoid ill-defined C behavior that gets a warning. (store_clear_child_flags): Likewise.
* Doc fix.Miles Bader1997-07-071-9/+7
|
* (store_open_children):Miles Bader1997-07-071-15/+45
| | | | Support factored type notation.
* (store_open_children, store_children_name):Miles Bader1997-06-201-4/+136
| | | | | New functions. Update FSF address.
* (store_set_child_flags, store_clear_child_flags):Miles Bader1996-10-081-1/+49
| | | | New funcs.
* (store_decode_children):Miles Bader1996-09-231-1/+2
| | | | Change CLASSES to **.
* Initial revisionMiles Bader1996-05-221-0/+102