~ubuntu-branches/ubuntu/saucy/faust/saucy

« back to all changes in this revision

Viewing changes to compiler/parser/enrobage.hh

  • Committer: Package Import Robot
  • Author(s): Mario Lang
  • Date: 2012-04-04 13:52:01 UTC
  • mfrom: (1.1.6) (3.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120404135201-hpsrk87x3hga94tc
Tags: 0.9.46-2
* Fix "ftbfs with GCC-4.7":
  - debian/patches/unistd: Include <unistd.h> where necessary.
    (Closes: #667163)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
 
39
39
 
 
40
void streamCopyLicense(istream& src, ostream& dst, const string& exceptiontag);
40
41
void streamCopyUntil(istream& src, ostream& dst, const string& until);
41
42
void streamCopyUntilEnd(istream& src, ostream& dst);
42
43
void streamCopy(istream& src, ostream& dst);
47
48
 
48
49
bool check_file(const char* filename);
49
50
                
50
 
const char* filebasename(const char* name);
51
 
 
 
51
const char* filebasename(const char* name); // returns a pointer on the basename part of name
 
52
 
 
53
string filedirname(const string& name);        // allocate a string containing the dirname of name
 
54
 
 
55
//static string dirname(const string& path)
 
56
//{
 
57
//    char s[1024];
 
58
//    strncpy(s, path.c_str(), 1024);
 
59
//    return string(dirname(s));
 
60
//}