[xiph-cvs] cvs commit: vorbis-tools/vorbiscomment vcomment.c
Michael Smith
msmith at xiph.org
Wed Jul 11 19:26:41 PDT 2001
msmith 01/07/11 19:26:40
Modified: vorbiscomment vcomment.c
Log:
Portability fix for vcomment from Peter Harris <peter.harris at hummingbird.com>
Revision Changes Path
1.7 +2 -2 vorbis-tools/vorbiscomment/vcomment.c
Index: vcomment.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/vorbiscomment/vcomment.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vcomment.c 2001/02/10 06:26:22 1.6
+++ vcomment.c 2001/07/12 02:26:40 1.7
@@ -12,7 +12,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <getopt.h>
+#include "getopt.h"
#include "vcedit.h"
@@ -193,7 +193,7 @@
* as the comment spec requires. For the moment, we
* also restrict ourselves to 0-terminated values */
- mark = index(line, '=');
+ mark = strchr(line, '=');
if (mark == NULL) return -1;
value = line;
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list