ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/sort.c
(Generate patch)

Comparing ray/src/meta/sort.c (file contents):
Revision 1.5 by greg, Mon Jun 16 14:54:54 2003 UTC vs.
Revision 1.8 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   *   Sorting routines for meta-files
6   */
7  
8 < #include  "paths.h"
8 > #include  "platform.h"  /* [_]snprintf() */
9 > #include  "rtprocess.h" /* getpid() */
10 > #include  "rterror.h"
11   #include  "meta.h"
12  
11 #ifdef _WIN32
12  #include <process.h> /* getpid() */
13 #endif
13  
15
14   #define  PBSIZE  1000           /* max size of sort block */
15                                  /* maxalloc must be >= this */
16  
# Line 94 | Line 92 | FILE  *ofp             /* output file */
92   {
93      PRIMITIVE  *plp;            /* position in list */
94      PRIMITIVE  *pp[NFILES];     /* input primitives */
95 <    int  minf;
95 >    int  minf = 0;
96      PRIMITIVE  *minp;
97      register int i;
98  
# Line 203 | Line 201 | int  (*pcmp)()
201   {
202      static int  nf = 0,
203                  intree = FALSE;
206    FILE  *fp;
204  
205      if (isglob(pl->pbot->com)) {
206  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines