X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fspawn_faction_init.c;h=cf1d0a6adc53a3d945c91ed28590de6d7ac5eeca;hb=533101a268dc5015a140ff4695d8eeb04fbe57b6;hp=28271a75fdfd1491ad8756e5f069f6f2f56b5a84;hpb=aa88bb9d68542ef80b7527ffee8c8885ae022a29;p=gnulib.git diff --git a/lib/spawn_faction_init.c b/lib/spawn_faction_init.c index 28271a75f..cf1d0a6ad 100644 --- a/lib/spawn_faction_init.c +++ b/lib/spawn_faction_init.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2009-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -27,13 +27,13 @@ /* Function used to increase the size of the allocated array. This - function is called from the `add'-functions. */ + function is called from the 'add'-functions. */ int __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) { int newalloc = file_actions->_allocated + 8; void *newmem = realloc (file_actions->_actions, - newalloc * sizeof (struct __spawn_action)); + newalloc * sizeof (struct __spawn_action)); if (newmem == NULL) /* Not enough memory. */ @@ -46,7 +46,7 @@ __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions) } -/* Initialize data structure for file attribute for `spawn' call. */ +/* Initialize data structure for file attribute for 'spawn' call. */ int posix_spawn_file_actions_init (posix_spawn_file_actions_t *file_actions) {