bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] iconvme.c sync?


From: Karl Berry
Subject: [bug-gnulib] iconvme.c sync?
Date: Fri, 4 Mar 2005 08:57:45 -0500

I finally noticed that I didn't have the iconvme files checked out from
libc.  There are two differences between libc/gnulib iconvme.c -- the
license (is this supposed to be LGPL for some reason?) and a test.  ?  

Thanks,
k


## /tmp/iconvme.c lib/iconvme.c  # changes
*** lib/iconvme.c       Wed Feb 23 15:30:10 2005
--- /tmp/iconvme.c      Fri Mar  4 00:30:25 2005
***************
*** 2,16 ****
     Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
  
!    This program is free software; you can redistribute it and/or
!    modify it under the terms of the GNU Lesser General Public License as
!    published by the Free Software Foundation; either version 2.1, or (at
!    your option) any later version.
  
     This program 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 Lesser General Public License for more details.
  
!    You should have received a copy of the GNU Lesser General Public License 
along
     with this program; if not, write to the Free Software Foundation,
     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
--- 2,16 ----
     Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
  
!    This program is free software; you can redistribute it and/or modify
!    it under the terms of the GNU General Public License as published by
!    the Free Software Foundation; either version 2, or (at your option)
!    any later version.
  
     This program 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 General Public License for more details.
  
!    You should have received a copy of the GNU General Public License along
     with this program; if not, write to the Free Software Foundation,
     Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
***************
*** 68,77 ****
    size_t err;
    int have_error = 0;
- 
-   if (1 < MB_LEN_MAX && SIZE_MAX / MB_LEN_MAX <= inbytes_remaining)
-     {
-       errno = ENOMEM;
-       return NULL;
-     }
  #endif
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]