diff options
| author | Manuel Novoa III <mjn3@codepoet.org> | 2004-02-11 23:48:50 +0000 | 
|---|---|---|
| committer | Manuel Novoa III <mjn3@codepoet.org> | 2004-02-11 23:48:50 +0000 | 
| commit | 082e680bd54e999f2bb4eb77141958938b1e9ee9 (patch) | |
| tree | 203c45b85ca608e1550d8ffc459456fc9cf0b30b /libc/stdio/popen.c | |
| parent | 17c21765b4a97c6f0b74ba8466073e5a3f97cdee (diff) | |
| download | uClibc-alpine-082e680bd54e999f2bb4eb77141958938b1e9ee9.tar.bz2 uClibc-alpine-082e680bd54e999f2bb4eb77141958938b1e9ee9.tar.xz  | |
New stdio core.  Should be more maintainable.  Fixes a couple of bugs.
  Codepaths streamlined.  Improved performance for nonthreaded apps
  when linked with a thread-enabled libc.
Minor iconv bug and some locale/thread related startup issues fixed.
  These showed up in getting a gcj-compiled java helloworld app running.
Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
Diffstat (limited to 'libc/stdio/popen.c')
| -rw-r--r-- | libc/stdio/popen.c | 21 | 
1 files changed, 3 insertions, 18 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index 8ebaedfd6..c7887ad41 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -1,18 +1,8 @@ -/*  Copyright (C) 2004     Manuel Novoa III +/* Copyright (C) 2004       Manuel Novoa III    <mjn3@codepoet.org>   * - *  This library is free software; you can redistribute it and/or - *  modify it under the terms of the GNU Library General Public - *  License as published by the Free Software Foundation; either - *  version 2 of the License, or (at your option) any later version. + * GNU Library General Public License (LGPL) version 2 or later.   * - *  This library is distributed in the hope that it will be useful, - *  but WITHOUT ANY WARRANTY; without even the implied warranty of - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU - *  Library General Public License for more details. - * - *  You should have received a copy of the GNU Library General Public - *  License along with this library; if not, write to the Free - *  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.   */  /* Jan 1, 2004 @@ -54,11 +44,6 @@ static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER;  # define VFORK_UNLOCK	UNLOCK  #endif -/* Temporarily support old stdio code. */ -#ifndef __MASK_READING -#define __filedes		filedes -#endif -  struct popen_list_item {  	struct popen_list_item *next;  	FILE *f;  | 
