"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "imageutils/jpgcom.c" between
littleutils-1.2.4.tar.lz and littleutils-1.2.5.tar.lz

About: littleutils are a collection of small and simple utilities (rename files, search for duplicate files, ...).

jpgcom.c  (littleutils-1.2.4.tar.lz):jpgcom.c  (littleutils-1.2.5.tar.lz)
skipping to change at line 18 skipping to change at line 18
* Copyright (C) 1994-1997, Thomas G. Lane. * Copyright (C) 1994-1997, Thomas G. Lane.
* Modified 2009 by Bill Allombert, Guido Vollbeding. * Modified 2009 by Bill Allombert, Guido Vollbeding.
* This file is part of the Independent JPEG Group's software. * This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file. * For conditions of distribution and use, see the accompanying README file.
* *
* This file contains a very simple stand-alone application that displays * This file contains a very simple stand-alone application that displays
* the text in COM (comment) markers in a JFIF file. * the text in COM (comment) markers in a JFIF file.
* This may be useful as an example of the minimum logic needed to parse * This may be useful as an example of the minimum logic needed to parse
* JPEG markers. * JPEG markers.
* *
* Modifications Copyright (C) 2004-2020 by Brian Lindholm. All rights * Modifications Copyright (C) 2004-2021 by Brian Lindholm. All rights
* reserved except as specified above. * reserved except as specified above.
*/ */
#include <config.h> #include <config.h>
#include <ctype.h> /* to declare isupper(), tolower() */
#include <limits.h> /* to determine PATH_MAX */
#ifdef HAVE_LOCALE_H #ifdef HAVE_LOCALE_H
# include <locale.h> /* Bill Allombert: use locale for isprint */ # include <locale.h> /* Bill Allombert: use locale for isprint */
#endif #endif
#include <ctype.h> /* to declare isupper(), tolower() */ #ifdef HAVE_STDIO_H
#include <limits.h> /* to determine PATH_MAX */ # include <stdio.h> /* other I/O functions */
#include <stdio.h> /* other I/O functions */ #endif
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
# include <stdlib.h> /* other I/O functions */ # include <stdlib.h> /* other I/O functions */
#endif #endif
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
# include <string.h> /* other I/O functions */ # include <string.h> /* other I/O functions */
#endif #endif
#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
# define OPTEND -1 # define OPTEND -1
#else #else
# define OPTEND EOF # define OPTEND EOF
#endif #endif
#ifdef HAVE_GETOPT_H
# include <getopt.h>
#endif
#ifdef __MINGW32__ #ifdef __MINGW32__
extern int getopt (int argc, char * const *argv, const char *optstring); extern int getopt (int argc, char * const *argv, const char *optstring);
extern char *optarg; extern char *optarg;
extern int optind; extern int optind;
#endif #endif
#ifndef PATH_MAX #ifndef PATH_MAX
# define PATH_MAX 256 # define PATH_MAX 256
#endif #endif
 End of changes. 5 change blocks. 
7 lines changed or deleted 9 lines changed or added

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