/[global]/global/libutil/test.c
ViewVC logotype

Diff of /global/libutil/test.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by shigio, Sat Sep 3 13:27:52 2005 UTC revision 1.12 by shigio, Tue Oct 4 07:59:04 2005 UTC
# Line 49  Line 49 
49   *      r)      0: is not binary, 1: is binary   *      r)      0: is not binary, 1: is binary
50   */   */
51  static int  static int
52  is_binary(path)  is_binary(const char *path)
         const char *path;  
53  {  {
54          int ip;          int ip;
55          char buf[32];          char buf[32];
# Line 92  is_binary(path) Line 91  is_binary(path)
91   * You can specify more than one character. It assumed 'AND' test.   * You can specify more than one character. It assumed 'AND' test.
92   */   */
93  int  int
94  test(flags, path)  test(const char *flags, const char *path)
         const char *flags;  
         const char *path;  
95  {  {
96          static struct stat sb;          static struct stat sb;
97          int c;          int c;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26