Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
ca0b53e1
Commit
ca0b53e1
authored
Oct 31, 2002
by
rswindell
Browse files
Changed file extensions to lowercase.
parent
03918437
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/sbbs3/filelist.c
src/sbbs3/filelist.c
+3
-3
No files found.
src/sbbs3/filelist.c
View file @
ca0b53e1
...
...
@@ -296,7 +296,7 @@ int main(int argc, char **argv)
if
(
misc
&
AUTO
&&
scfg
.
dir
[
i
]
->
seqdev
)
/* CD-ROM */
continue
;
printf
(
"
\n
%-*s %s"
,
LEN_GSNAME
,
scfg
.
lib
[
scfg
.
dir
[
i
]
->
lib
]
->
sname
,
scfg
.
dir
[
i
]
->
lname
);
sprintf
(
str
,
"%s%s.
IXB
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
sprintf
(
str
,
"%s%s.
ixb
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
if
((
file
=
nopen
(
str
,
O_RDONLY
))
==-
1
)
continue
;
l
=
filelength
(
file
);
...
...
@@ -329,7 +329,7 @@ int main(int argc, char **argv)
FREE
((
char
*
)
ixbbuf
);
continue
;
}
close
(
file
);
sprintf
(
str
,
"%s%s.
DAT
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
sprintf
(
str
,
"%s%s.
dat
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
if
((
file
=
nopen
(
str
,
O_RDONLY
))
==-
1
)
{
printf
(
"
\7
ERR_OPEN %s %u
\n
"
,
str
,
O_RDONLY
);
FREE
((
char
*
)
ixbbuf
);
...
...
@@ -435,7 +435,7 @@ int main(int argc, char **argv)
if
(
misc
&
EXT
&&
ext
)
{
/* Print ext desc */
sprintf
(
str
,
"%s%s.
EXB
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
sprintf
(
str
,
"%s%s.
exb
"
,
scfg
.
dir
[
i
]
->
data_dir
,
scfg
.
dir
[
i
]
->
code
);
if
(
!
fexist
(
str
))
continue
;
if
((
j
=
nopen
(
str
,
O_RDONLY
))
==-
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment