"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/error.c" between
udunits-2.2.26.tar.gz and udunits-2.2.28.tar.gz

About: UDUNITS supports units of physical quantities. Its C library provides for arithmetic manipulation of units and for conversion of numeric values between compatible units.

error.c  (udunits-2.2.26):error.c  (udunits-2.2.28)
/* /*
* Copyright 2013 University Corporation for Atmospheric Research * Copyright 2020 University Corporation for Atmospheric Research
* *
* This file is part of the UDUNITS-2 package. See the file COPYRIGHT * This file is part of the UDUNITS-2 package. See the file COPYRIGHT
* in the top-level source-directory of the package for copying and * in the top-level source-directory of the package for copying and
* redistribution conditions. * redistribution conditions.
*/ */
/* /*
* This module is thread-compatible but not thread-safe. Multi-threaded * This module is thread-compatible but not thread-safe. Multi-threaded
* access must be externally synchronized. * access must be externally synchronized.
*/ */
/*LINTLIBRARY*/ /*LINTLIBRARY*/
#ifndef _XOPEN_SOURCE #include "config.h"
# define _XOPEN_SOURCE 500
#endif #include "udunits2.h"
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include "udunits2.h"
/* /*
* Writes an error-message to the standard-error stream when received and * Writes an error-message to the standard-error stream when received and
* appends a newline. This is the initial error-message handler. * appends a newline. This is the initial error-message handler.
* *
* Arguments: * Arguments:
* fmt The format for the error-message. * fmt The format for the error-message.
* args The arguments of "fmt". * args The arguments of "fmt".
* Returns: * Returns:
* <0 A output error was encountered. See "errno". * <0 A output error was encountered. See "errno".
* else The number of bytes of "fmt" and "arg" written excluding any * else The number of bytes of "fmt" and "arg" written excluding any
 End of changes. 3 change blocks. 
6 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)