Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
feb57982
Commit
feb57982
authored
Jan 09, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change suggested by Udi Finkelstein.
parent
8ad3d6be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
40 deletions
+2
-40
src/base/cmd/cmd.c
+1
-20
src/base/cmd/cmdLoad.c
+1
-20
No files found.
src/base/cmd/cmd.c
View file @
feb57982
...
...
@@ -1147,26 +1147,7 @@ usage:
#if defined(WIN32) && !defined(__cplusplus)
#include <direct.h>
// these structures are defined in <io.h> but are for some reason invisible
typedef
unsigned
long
_fsize_t
;
// Could be 64 bits for Win32
struct
_finddata_t
{
unsigned
attrib
;
time_t
time_create
;
// -1 for FAT file systems
time_t
time_access
;
// -1 for FAT file systems
time_t
time_write
;
_fsize_t
size
;
char
name
[
260
];
};
extern
long
_findfirst
(
char
*
filespec
,
struct
_finddata_t
*
fileinfo
);
extern
int
_findnext
(
long
handle
,
struct
_finddata_t
*
fileinfo
);
extern
int
_findclose
(
long
handle
);
//extern char * _getcwd( char * buffer, int maxlen );
//extern int _chdir( const char *dirname );
#include <io.h>
/**Function*************************************************************
...
...
src/base/cmd/cmdLoad.c
View file @
feb57982
...
...
@@ -97,26 +97,7 @@ int CmdCommandLoad( Abc_Frame_t * pAbc, int argc, char ** argv )
#if defined(WIN32) && !defined(__cplusplus)
#include <direct.h>
// these structures are defined in <io.h> but are for some reason invisible
typedef
unsigned
long
_fsize_t
;
// Could be 64 bits for Win32
struct
_finddata_t
{
unsigned
attrib
;
time_t
time_create
;
// -1 for FAT file systems
time_t
time_access
;
// -1 for FAT file systems
time_t
time_write
;
_fsize_t
size
;
char
name
[
260
];
};
extern
long
_findfirst
(
char
*
filespec
,
struct
_finddata_t
*
fileinfo
);
extern
int
_findnext
(
long
handle
,
struct
_finddata_t
*
fileinfo
);
extern
int
_findclose
(
long
handle
);
//extern char * _getcwd( char * buffer, int maxlen );
//extern int _chdir( const char *dirname );
#include <io.h>
/**Function*************************************************************
...
...
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