autosprintf.cpp (encfs-1.9.4) | : | autosprintf.cpp (encfs-1.9.5) | ||
---|---|---|---|---|
/* Class autosprintf - formatted output to an ostream. | /* Class autosprintf - formatted output to an ostream. | |||
Copyright (C) 2002 Free Software Foundation, Inc. | Copyright (C) 2002 Free Software Foundation, Inc. | |||
Written by Bruno Haible <bruno@clisp.org>, 2002. | Written by Bruno Haible <bruno@clisp.org>, 2002. | |||
This program is free software; you can redistribute it and/or modify it | This program is free software: you can redistribute it and/or modify | |||
under the terms of the GNU Library General Public License as published | it under the terms of the GNU Library General Public License as published by | |||
by the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation; either version 2 of the License, or | |||
any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
Library General Public License for more details. | GNU Library General Public License for more details. | |||
You should have received a copy of the GNU Library General Public | You should have received a copy of the GNU Library General Public License | |||
License along with this program; if not, write to the Free Software | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | ||||
USA. */ | ||||
/* Tell glibc's <stdio.h> to provide a prototype for vasprintf(). | /* Tell glibc's <stdio.h> to provide a prototype for vasprintf(). | |||
This must come before <config.h> because <config.h> may include | This must come before <config.h> because <config.h> may include | |||
<features.h>, and once <features.h> has been included, it's too late. */ | <features.h>, and once <features.h> has been included, it's too late. */ | |||
#ifndef _GNU_SOURCE | #ifndef _GNU_SOURCE | |||
#define _GNU_SOURCE 1 | #define _GNU_SOURCE 1 | |||
#endif | #endif | |||
/* Specification. */ | /* Specification. */ | |||
#include "autosprintf.h" | #include "autosprintf.h" | |||
End of changes. 3 change blocks. | ||||
10 lines changed or deleted | 8 lines changed or added |