/* * Copyright 1993, 1995 Christopher Seiwald. * * This file is part of Jam - see jam.c for Copyright information. */ /* * filesys.h - FILENAME struct and OS specific file routines */ /* * FILENAME - a name of a file, broken into <grist>dir/base/suffix(member) * * <grist> is salt to distinguish between targets that otherwise would * have the same name: it never appears in the bound name of a target. * (member) is an archive member name: the syntax is arbitrary, but must * agree in file_parse(), file_build() and the Jambase. * * On VMS, we keep track of whether the original path was a directory * (without a file), so that $(VAR:D) can climb to the parent. */ typedef struct _filename FILENAME; typedef struct _filepart FILEPART; struct _filepart { char *ptr; int len; }; struct _filename { FILEPART part[6]; # ifdef OS_VMS int parent; # endif # define f_grist part[0] # define f_root part[1] # define f_dir part[2] # define f_base part[3] # define f_suffix part[4] # define f_member part[5] } ; void file_build( FILENAME *f, char *file, int binding ); void file_parse( char *file, FILENAME *f ); void file_parent( FILENAME *f ); void file_dirscan( char *dir, void (*func)( char *f, int s, time_t t ) ); void file_archscan( char *arch, void (*func)( char *f, int s, time_t t ) ); int file_time( char *filename, time_t *time );
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#8 | 3969 | Matt Armstrong |
Integrate from //guest/matt_armstrong/jam/fix/2/...@3963 -- no real changes. |
||
#7 | 3950 | Matt Armstrong |
Integrate from //guest/matt_armstrong/jam/fix/1/... thru change 3948 and make no changes. |
||
#6 | 3582 | Matt Armstrong | ANSI prototypes | ||
#5 | 2817 | Matt Armstrong | Update with current known working version. | ||
#4 | 2507 | Matt Armstrong | update from the mainline | ||
#3 | 2089 | Matt Armstrong | More integrations from upstream. | ||
#2 | 2087 | Matt Armstrong | I think most of this is updates from stock jam. | ||
#1 | 1270 | Matt Armstrong | In prep for publishing all my patches to jam. | ||
//guest/perforce_software/jam/src/filesys.h | |||||
#2 | 486 | Perforce staff |
Jam 2.3. See RELNOTES for a list of changes from 2.2.x. Just about every source file was touched when jam got ANSI-fied. |
||
#1 | 2 | laura | Add Jam/MR 2.2 source |