Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3B60940F.B551005B@phekda.freeserve.co.uk> Date: Thu, 26 Jul 2001 23:05:03 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: DJGPP workers Subject: glob, globfree doc updates Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Below is a documentation diff that: * mentions globfree in the glob page; * mentions glob in the globfree page. OK to commit? Thanks, bye, Rich =] Index: src/libc/posix/glob/glob.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/posix/glob/glob.txh,v retrieving revision 1.3 diff -p -c -3 -r1.3 glob.txh *** src/libc/posix/glob/glob.txh 1998/09/27 15:22:12 1.3 --- src/libc/posix/glob/glob.txh 2001/07/26 22:02:20 *************** can be accessed as @code{gl_pathv[0]}, @ *** 121,126 **** --- 121,129 ---- @code{GLOB_DOOFFS} was set in @var{flags}, the new matches begin at offset given by @code{gl_offs}. + @code{glob} allocates memory to hold the filenames. This memory should be + freed by calling @code{globfree} (@pxref{globfree}). + @subheading Return Value Zero on success, or one of these codes: Index: src/libc/posix/glob/globfree.txh =================================================================== RCS file: /cvs/djgpp/djgpp/src/libc/posix/glob/globfree.txh,v retrieving revision 1.2 diff -p -c -3 -r1.2 globfree.txh *** src/libc/posix/glob/globfree.txh 1998/09/27 15:22:12 1.2 --- src/libc/posix/glob/globfree.txh 2001/07/26 22:02:20 *************** void globfree(glob_t *_pglob); *** 9,15 **** @subheading Description ! Frees the memory associated with @code{_pglob}. @subheading Portability --- 9,16 ---- @subheading Description ! Frees the memory associated with @code{_pglob}, which should have been ! allocated by a call to @code{glob} (@pxref{glob}). @subheading Portability