Changeset 89f5338 for util.c


Ignore:
Timestamp:
Dec 23, 2007, 9:18:36 PM (13 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
9aba27b, 61abb18
Parents:
78667f3
Message:
Moving owl_get_datadir to util.c so make test'' works again.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r04166e9 r89f5338  
    776776}
    777777
     778char * owl_get_datadir() {
     779    char * datadir = getenv("BARNOWL_DATA_DIR");
     780    if(datadir != NULL)
     781        return strchr(datadir, '=') + 1;
     782    return DATADIR;
     783}
     784
    778785/**************************************************************************/
    779786/************************* REGRESSION TESTS *******************************/
Note: See TracChangeset for help on using the changeset viewer.