mode of popen()
- From: "Pai-Hsiang Hsiao" <shawn iis sinica edu tw>
- To: <gnome-list gnome org>
- Subject: mode of popen()
- Date: Sun, 24 Jan 1999 03:27:27 +0800
I found that the mode string to popen() at
gnome-libs/tools/convertrgb/convertrgb.c should be wrong.
It looks like this:
sf = popen(cmd, "rb");
The mode character "b" is used simply for compatibility with
ANSI C and has no effect, but it will cause problem under
OpenBSD, because OpenBSD expects a "+" following the
"b".
Patch attached.
// Shawn
patch.convertrgb
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]