summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-04-12 07:44:35 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-04-12 07:44:35 +0000
commit59500c52b299db1bd589517dbc3b781cb576dcdc (patch)
tree158dc7818763e2cdff4157e3984b413034b76a75
parent6fc04adf128379f0efac92966a52865fb5f87e29 (diff)
downloaddiffutils-59500c52b299db1bd589517dbc3b781cb576dcdc.tar.gz
(set_binary_mode): Return true, not 1.
-rw-r--r--lib/setmode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setmode.h b/lib/setmode.h
index a5bb959..8381d12 100644
--- a/lib/setmode.h
+++ b/lib/setmode.h
@@ -1,6 +1,6 @@
/* Set a file descriptor's mode to binary or to text.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,6 +22,6 @@
#ifndef set_binary_mode
bool set_binary_mode (int, bool);
# if ! HAVE_SETMODE_DOS
-# define set_binary_mode(fd, mode) 1
+# define set_binary_mode(fd, mode) true
# endif
#endif