www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/26/18:05:19

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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 <djgpp-workers AT delorie DOT com>
Subject: glob, globfree doc updates
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019