GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Rename the lsusb example program to listdevs · Raghuvardhan-Reddy78/libusb@4afbc78

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • examples
    • Makefile.am
    • listdevs.c
  • msvc
    • ddk_build.cmd
    • libusb.dsw
    • libusb.sln
    • listdevs.dsp
    • listdevs.vcproj
    • listdevs_sources
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config.status
2424
config.sub
2525
*.swp
2626
doxygen.cfg
27-
lsusb
27+
listdevs
2828
dpfp
2929
dpfp_threaded
3030
*.exe
Collapse file

‎examples/Makefile.am‎

Copy file name to clipboardExpand all lines: examples/Makefile.am
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
INCLUDES = -I$(top_srcdir)/libusb
2-
noinst_PROGRAMS = lsusb
2+
noinst_PROGRAMS = listdevs
33

4-
lsusb_SOURCES = lsusb.c
5-
lsusb_LDADD = ../libusb/libusb-1.0.la
4+
listdevs_SOURCES = listdevs.c
5+
listdevs_LDADD = ../libusb/libusb-1.0.la
66

77
if HAVE_SIGACTION
88
dpfp_SOURCES = dpfp.c
Collapse file

‎examples/lsusb.c‎ ‎examples/listdevs.c‎examples/lsusb.c renamed to examples/listdevs.c

Copy file name to clipboard
File renamed without changes.
Collapse file

‎msvc/ddk_build.cmd‎

Copy file name to clipboardExpand all lines: msvc/ddk_build.cmd
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,23 @@ copy %srcPath%\libusb-%version%.lib %dstPath%\lib
6666

6767
@echo off
6868

69-
if exist examples\lsusb_ddkbuild goto md7
70-
md examples\lsusb_ddkbuild
69+
if exist examples\listdevs_ddkbuild goto md7
70+
md examples\listdevs_ddkbuild
7171
:md7
7272

73-
cd examples\lsusb_ddkbuild
74-
copy ..\..\msvc\lsusb_sources sources >NUL 2>&1
73+
cd examples\listdevs_ddkbuild
74+
copy ..\..\msvc\listdevs_sources sources >NUL 2>&1
7575
@echo on
7676
build -cwgZ
7777
@echo off
78-
if errorlevel 1 goto buildlsusberror
78+
if errorlevel 1 goto buildlistdevserror
7979
cd ..\..
8080

81-
set srcPath=examples\lsusb_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
81+
set srcPath=examples\listdevs_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
8282
@echo on
8383

84-
copy %srcPath%\lsusb.exe %dstPath%\examples
85-
copy %srcPath%\lsusb.pdb %dstPath%\examples
84+
copy %srcPath%\listdevs.exe %dstPath%\examples
85+
copy %srcPath%\listdevs.pdb %dstPath%\examples
8686

8787
cd msvc
8888
goto done
@@ -93,9 +93,9 @@ cd ..\..\msvc
9393
echo Build failed
9494
goto done
9595

96-
:buildlsusberror
96+
:buildlistdevserror
9797
cd ..\..\msvc
98-
echo lsusb build failed
98+
echo listdevs build failed
9999
goto done
100100

101101
:usage
Collapse file

‎msvc/libusb.dsw‎

Copy file name to clipboardExpand all lines: msvc/libusb.dsw
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Package=<4>
2727

2828
###############################################################################
2929

30-
Project: "lsusb"=".\lsusb.dsp" - Package Owner=<4>
30+
Project: "listdevs"=".\listdevs.dsp" - Package Owner=<4>
3131

3232
Package=<5>
3333
{{{
Collapse file

‎msvc/libusb.sln‎

Copy file name to clipboardExpand all lines: msvc/libusb.sln
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (dll)", "libusb_
1313
Release.AspNetCompiler.Debug = "False"
1414
EndProjectSection
1515
EndProject
16-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lsusb", "lsusb.vcproj", "{98CFD8FA-EE20-40D5-AF13-F8C4856D6CA5}"
16+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "listdevs", "listdevs.vcproj", "{98CFD8FA-EE20-40D5-AF13-F8C4856D6CA5}"
1717
ProjectSection(WebsiteProperties) = preProject
1818
Debug.AspNetCompiler.Debug = "True"
1919
Release.AspNetCompiler.Debug = "False"
Collapse file

‎msvc/lsusb.dsp‎ ‎msvc/listdevs.dsp‎msvc/lsusb.dsp renamed to msvc/listdevs.dsp

Copy file name to clipboardExpand all lines: msvc/listdevs.dsp
+13-13Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎msvc/lsusb.vcproj‎ ‎msvc/listdevs.vcproj‎msvc/lsusb.vcproj renamed to msvc/listdevs.vcproj

Copy file name to clipboardExpand all lines: msvc/listdevs.vcproj
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<VisualStudioProject
33
ProjectType="Visual C++"
44
Version="8.00"
5-
Name="lsusb"
5+
Name="listdevs"
66
ProjectGUID="{98CFD8FA-EE20-40D5-AF13-F8C4856D6CA5}"
77
RootNamespace="examples"
88
Keyword="Win32Proj"
@@ -334,7 +334,7 @@
334334
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
335335
>
336336
<File
337-
RelativePath="..\examples\lsusb.c"
337+
RelativePath="..\examples\listdevs.c"
338338
>
339339
<FileConfiguration
340340
Name="Release|Win32"
Collapse file

‎msvc/lsusb_sources‎ ‎msvc/listdevs_sources‎msvc/lsusb_sources renamed to msvc/listdevs_sources

Copy file name to clipboardExpand all lines: msvc/listdevs_sources
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
TARGETNAME=lsusb
1+
TARGETNAME=listdevs
22
TARGETTYPE=PROGRAM
33
386_STDCALL=0
44

@@ -16,4 +16,4 @@ USE_MSVCRT=1
1616
UMTYPE=console
1717
INCLUDES=..\..\libusb;$(DDK_INC_PATH)
1818
UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib
19-
SOURCES=..\lsusb.c
19+
SOURCES=..\listdevs.c

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.