Skip to content

Commit

Permalink
microperl nits from Simon Cozens.
Browse files Browse the repository at this point in the history
p4raw-id: //depot/cfgperl@6180
  • Loading branch information
jhi committed Jun 1, 2000
1 parent 40d5620 commit 3ebb198
Show file tree
Hide file tree
Showing 8 changed files with 3,144 additions and 16 deletions.
1 change: 1 addition & 0 deletions MAINTAIN
Expand Up @@ -848,6 +848,7 @@ taint.c
thrdvar.h
thread.h
toke.c
uconfig.h simon
uconfig.sh simon
universal.c
unixish.h
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST
Expand Up @@ -1563,7 +1563,8 @@ taint.c Tainting code
thrdvar.h Per-thread variables
thread.h Threading header
toke.c The tokener
uconfig.sh COnfiguration for microperl
uconfig.h Configuration header for microperl
uconfig.sh Configuration script for microperl
universal.c The default UNIVERSAL package methods
unixish.h Defines that are assumed on Unix
utf8.c Unicode routines
Expand Down
2 changes: 1 addition & 1 deletion Makefile.SH
Expand Up @@ -224,7 +224,7 @@ private = preplibrary lib/ExtUtils/Miniperl.pm lib/Config.pm
sh = Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH \
makedir.SH myconfig.SH writemain.SH
shextract = Makefile cflags config.h uconfig.h makeaperl makedepend \
shextract = Makefile cflags config.h makeaperl makedepend \
makedir myconfig writemain
# Files to be built with variable substitution after miniperl is
Expand Down
8 changes: 5 additions & 3 deletions Todo.micro
Expand Up @@ -3,13 +3,15 @@
- make creating Makefile.micro automatic (by pumpkin)

- clean up compilation warnings as much as possible:
most of them seem to stem from not including enough headers (this is okay)
most of them seem to stem from not including enough headers (as planned)
to have enough prototypes, these may be correctible with some simple casts

- do away with signals? (not very portable outside UNIX lands)
(missing signal API prototypes cause the majority of the compilation
warnings anyway) do away with fork?
warnings anyway)

- some of the micro/config.sh really needs to be probed in buildtime:
- do away with fork/exec/wait? (system, popen should be enough?)

- some of the uconfig.sh really needs to be probed (using cc) in buildtime:
(uConfigure? :-) native datatype widths and endianness come to mind

5 changes: 0 additions & 5 deletions perl.h
Expand Up @@ -1612,11 +1612,6 @@ typedef struct ptr_tbl PTR_TBL_t;
# endif
#endif

#ifdef PERL_MICRO
# undef HAS_PASSWD
# undef HAS_GROUP
#endif

#ifndef PERL_SYS_INIT3
# define PERL_SYS_INIT3(argvp,argcp,envp) PERL_SYS_INIT(argvp,argcp)
#endif
Expand Down

0 comments on commit 3ebb198

Please sign in to comment.