rubyecm2cue 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/rubyecm2cue/rubyecm2cue.c +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2595acf04072b973a05b83ccd50cb57cb131ff6f
|
|
4
|
+
data.tar.gz: e1fc323dca2f099c5bc8b8797045a2c306960f98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f9b0bcbf3acf910aa0d2932b2ce56f066b727c68ce977b19a7f20dbc8bf54446198d41d630c5fce3dd1ee038bdb744ed99b719fa26c83ce63047c1d1b07d30d
|
|
7
|
+
data.tar.gz: fa4a103521983d9fab38d2b014659eba93eb737dc042038eb344e75cce0cbbf5c393c27d139270d0140c900723960ef38e076939337d9ee97aed5ffb39390144
|
|
@@ -12,7 +12,7 @@ void Init_rubyecm2cue(){
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
VALUE method_process(VALUE self, VALUE arg_path) {
|
|
15
|
-
char *retValue
|
|
15
|
+
char *retValue;
|
|
16
16
|
char *infilename = StringValueCStr(arg_path);;
|
|
17
17
|
char *outfilename;
|
|
18
18
|
char *oldfilename;
|
|
@@ -21,7 +21,7 @@ VALUE method_process(VALUE self, VALUE arg_path) {
|
|
|
21
21
|
FILE *fin, *fout, *cue_file;
|
|
22
22
|
|
|
23
23
|
eccedc_init();
|
|
24
|
-
|
|
24
|
+
retValue = malloc(strlen(infilename) - 3);
|
|
25
25
|
if(strlen(infilename) < 5) {
|
|
26
26
|
strcpy(retValue, "filename is too short");
|
|
27
27
|
return rb_str_new_cstr(retValue);
|