From 082e680bd54e999f2bb4eb77141958938b1e9ee9 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Wed, 11 Feb 2004 23:48:50 +0000 Subject: 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. --- libc/stdio/popen.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'libc/stdio/popen.c') 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 * - * 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; -- cgit v1.2.3