chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] [darcs patch] sed_quote_subst


From: Burton Samograd
Subject: [Chicken-users] [darcs patch] sed_quote_subst
Date: Fri, 02 Jun 2006 06:39:11 -0600
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Hi,
 
I wasn't sure who or where to send this too so I thought here would be
as good as anywhere.  Fixes a build failure when you use
-mfpmath=sse,387 (or CFLAGS options with commas in general).  I sent a
mail before about the problem, but this time I fixed it for everyone
else (well, other gentoo users at least, because who else would use a
crazy compiler option like that :)

New patches:

[update sed_quote_subst to handle commas (,) in CFLAGS
Burton Samograd <address@hidden>**20060602121825
 A build error occured when the CFLAGS variable contained a comma, such
 as with the -mfpmath=sse,387 option.  This fixes that by adding a
 comma to the list of characters that are quoted.
] {
hunk ./Makefile.am 180
-       sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g' ; \
+       sed_quote_subst='s/\([\\`\\"$\\\\,]\)/\\\1/g' ; \
}

Context:

[don't need an INCLUDE file to pass variables to subdirectories
'Brandon Van Every <address@hidden>'**20060602003415] 
[dialog box warning when .exports not generated
'Brandon Van Every <address@hidden>'**20060601204122] 
[dlfcn.h does not imply -ldl
'Brandon Van Every <address@hidden>'**20060601203623] 
[failed stack growth tests should be set -1 for no result
'Brandon Van Every <address@hidden>'**20060601190645] 
[shared flags needs -DC_NO_PIC_NO_DLL
'Brandon Van Every <address@hidden>'**20060601175336] 
[regex-common typo
'Brandon Van Every <address@hidden>'**20060601175032] 
[add global.cmake in preparation for staged build subdirectory refactoring
'Brandon Van Every <address@hidden>'**20060601092240] 
[allow build with Chicken 2.3 but warn about lack of .exports
'Brandon Van Every <address@hidden>'**20060601064929] 
[send more errors when FIND_CHICKEN fails
'Brandon Van Every <address@hidden>'**20060601055657] 
[no longer need silex.c
'Brandon Van Every <address@hidden>'**20060601051756] 
[SAFE and UNSAFE libraries emit same .exports
'Brandon Van Every <address@hidden>'**20060601051530] 
[generate easyffi.l.silex using generated csi-static
'Brandon Van Every <address@hidden>'**20060601041307] 
[.exports installation
'Brandon Van Every <address@hidden>'**20060601032252] 
[MINGW needs __int64
'Brandon Van Every <address@hidden>'**20060531093752] 
[- trivial changes in NEWS
address@hidden
 - version is 2.315
 - integer64 fix
] 
[- README: note about OS X DYLD_LIBRARY_PATH [Thanks to Arto Bendiken]
address@hidden
 - support for `integer64' foreign type specifier [suggested by Alejandro 
Forero Cuervo]
] 
[- singlestep didn't swallow newline
address@hidden 
[- added distribution directory and OS X build script
address@hidden
 - added `--without-libffi' configuration option
] 
[- csi: nicer feature list on ",r"
address@hidden
 - version is 2.314
] 
[- CMakeLists.txt: ...-macros.scm files go into share
address@hidden 
[- CMakeLists.txt: all libraries should be installed in lib (not share)
address@hidden 
[- posixwin.scm: removed inclusion of windows.h [suggested by Brandon van Every]
address@hidden 
[- DragonFly-specific patches [Thanks to Peter Bex]
address@hidden
 - removed windows.h from chicken.h
] 
[- resolved conflict in CMakeLists.txt
address@hidden 
[- fixed typo in CMakeLists.txt
address@hidden 
[- singlestepping: "skip" command
address@hidden
 - runtime: unsafe resolve_procedure is macro
 - simplified configure/Makefile (got rid of EXTRA_RUNTIME_FLAGS)
 - apply-hooks and ptables are enabled by default
 - CMakeLists.txt: modified user-options to be consistent with configure.in
] 
[test if stack grows downward at configuration time
'Brandon Van Every <address@hidden>'**20060522075818] 
[support for C_STACK_GROWS_DOWNWARD
'Brandon Van Every <address@hidden>'**20060522075606] 
[build nsample
'Brandon Van Every <address@hidden>'**20060522010042] 
[put shared libraries in /share
'Brandon Van Every <address@hidden>'**20060522004116] 
[build chicken.html
'Brandon Van Every <address@hidden>'**20060521231755] 
[better error message when Chicken not found
'Brandon Van Every <address@hidden>'**20060521223040] 
[remove unnecessary .exe suffixes from FIND_CHICKEN
'Brandon Van Every <address@hidden>'**20060521214150] 
[comments about order of <winsock2.h> and <windows.h>
'Brandon Van Every <address@hidden>'**20060521200402] 
[move <windows.h> after <winsock2.h>
'Brandon Van Every <address@hidden>'**20060521200117] 
[change "windows.h" to <windows.h>
'Brandon Van Every <address@hidden>'**20060521195759] 
[include <io.h> to define _isatty
'Brandon Van Every <address@hidden>'**20060521192253] 
[correct generator path for silex.exe
'Brandon Van Every <address@hidden>'**20060521184829] 
[removed commands that don't appear to be needed
'Brandon Van Every <address@hidden>'**20060521083543] 
[- invalid-procedure-handler wasn't called for `apply'-triggered calls
address@hidden 
[- CMakeLists.txt: option for apply hook
address@hidden 
[- manual fixes by John Cowan
address@hidden 
[- makefile.vc fixes
address@hidden 
[- moved "breakpoint" into library
address@hidden
 - basic single-stepping (",step", "singlestep")
] 
[- renamed "thread-deliver-signal!" to "thread-signal!" (old is deprecated)
address@hidden
 - ",utr" didn't remove item from traced proc list
 - multithreaded breakpoints
 - version is 2.313
] 
[- csi: 
address@hidden
   * ",utr" without args isn't supported anymore
   * breakpoints (",br", ",ubr", ",c", and "breakpoint")
] 
[csi.c generation bug
'Brandon Van Every <address@hidden>'**20060520044320] 
[resolve INSTALL conflict
'Brandon Van Every <address@hidden>'**20060519205908] 
[eliminated ADD_FILE_DEPENDENCIES
'Brandon Van Every <address@hidden>'**20060519202831] 
[install to subdirectories
'Brandon Van Every <address@hidden>'**20060516073709] 
[my fault
address@hidden 
[fix conflicts in CMakeLists.txt
address@hidden 
[- removed distro stuff
address@hidden
 - removed last traces of chicken-match-macros from CMakeLists.txt and 
win-install.bat
 - Argh! chicken.scm still referenced chicken-match-macros.scm
 k***END OF DESCRIPTION***
 
 Place the long patch description above the ***END OF DESCRIPTION*** marker.
 The first line of this file will be the patch name.
 
 
 This patch contains the following changes:
 
 M ./CMakeLists.txt -1 +1
 M ./chicken.scm -2 +1
 R ./distribution/
 R ./distribution/chicken-osx.pmproj
 M ./win-install.bat -1
] 
[- basic support for apply-hooks
address@hidden
 - added `C_return'
 - lolevel: renamed `invalid-procedure-call-handler' to 
`set-invalid-procedure-call-handler!' (old name is deprecated)
] 
[.scm to .c compilation
'Brandon Van Every <address@hidden>'**20060515214645] 
[- csi: toplevel-command `,exn'
address@hidden
 - chicken-ffi-macros.scm: bugfix in `define-foreign-record' [by Kon Lovett]
 - library: `machine-byte-order'
] 
[- changed silex.scm to accept an output-file name [suggested by Brandon van 
Every]
address@hidden 
[- version is 2.312
address@hidden
 - "$": added support for SRFI-4 literals
 - modified test driver for being more convenient (and put bootstrapping test 
into separate file)
] 
[- removed transcript-on/off from r4rs-enironment
address@hidden
 - ffi: added "$" macro
] 
[- `foreign-...' macros do slightly better syntax syntax checks
address@hidden
 - removed `allow-null:' foreign-record spec again
 - csc: doesn't escape backtick in sub-pass options
 
] 
[- eval.scm: macroexpansion error-handling wrapper wasn't updated to new 
condition layout
address@hidden
 - `define-foreign-record': `allow-null:' modifier
 - added `srfi-31' to builtin srfi list [thanks to Dan Muresan]
] 
[- removed unused procedure from eval (`##sys#undefine-non-standard-macros')
address@hidden 
[- runtime option `-:D' (shows currently when apply-limit is exceeded with 
libffi)
address@hidden 
[- version is 2.311
address@hidden 
[- chicken-setup: didn't remove old export-entries from setup info
address@hidden 
[- pointer printing prefixes address with "0x"
address@hidden 
[- yet another fix to the handling of SRFI-12 signals [by Reed Sheridan, 
modified by felix]
address@hidden 
[- removed some unused local shadowing bindings for "string"
address@hidden 
[- Added optimization inline rule for "string"
address@hidden 
[Ignore complex extension specifiers when loading export declarations
Thomas Chust <address@hidden>**20060505223902] 
[Ignore keywords when scanning for read access to undefined symbols
Thomas Chust <address@hidden>**20060505222028] 
[- bugfix in "condition-property-accessor" [By Kon Lovett]
address@hidden
 - undocumented "foreign-safe-wrapper"
 - fixed bug in handling of `c-string' result type [Thanks to Heath Johns]
 - added export-file generation for scheduler [reported by Thomas Chust]
] 
[- csc: added "-G" alias for "-check-imports"***END OF DESCRIPTION***
address@hidden
 
 Place the long patch description above the ***END OF DESCRIPTION*** marker.
 The first line of this file will be the patch name.
 
 
 This patch contains the following changes:
 
 M ./csc.scm.in -1 +2
] 
[- added some declarations to srfi-18.scm, partition.scm and easyffi.scm
address@hidden 
[little fix in match
address@hidden 
[- `define-foreign-enum' macro
address@hidden
 - `enum', `struct' and `union' type-specifiers accept symbols
] 
[- added mini-runtime example in misc
address@hidden
 - tinyclos macros moved into tinyclos unit (which is also used by the compiler 
now)
 - match macros moved into match (which used to be match-support)
] 
[- condition-properties are now specific to a condition-kind (so equal property 
names do not collide
address@hidden
   in composite conditions) [problem reported by Reed Sheridan, principle of 
solution by Kon Lovett]
 - print-error-message: when condition has no messsage property, the kinds are 
printed instead
   of a message
 
] 
[- extensions may also have .exports file
address@hidden
 - chicken-setup: `exports' property
] 
[- utils.scm: `absolute-pathname?' windows-specific fix by Kon Lovett
address@hidden
 - compiler: `-emit-exports' and `-check-imports' options
 - .export-file generation for all library units
 - version is 2.310
] 
[- chicken-setup: `-v' isn't really necessary for simple installs
address@hidden
 - slight changes in manual (bugs + limitations)
] 
[- thread-join!: thread-result generalized to multiple values
address@hidden 
[Fixed a spelling mistake that broke tracing in csi
Thomas Chust <address@hidden>**20060423170759] 
[fix in runtests.sh
address@hidden 
[- added `disable-warning' declaration specifier, added to a few units, removed 
options from Makefile.am
address@hidden
 - added `srfi-2' feature-id to builtin features [reported by Dan Muresan]
] 
[- srfii-13: added missing check in `substring/shared' [reported by Kon Lovett]
address@hidden 
[- renamed `test-feature?' to `feature?' (old name still available but 
deprecated)
address@hidden 
[- fix in cscbench.scm [by Kon Lovett]
address@hidden
 - added `##sys#apply-argument-limit' [Suggested by Reed Sheridan]
 - regex-common.scm: replace `string-substitute*' with a simpler and faster 
version [by Daishi Kato]
 - runtime.c: more preprocessor magic by Jean-Francois Bignolles
 - Makefile.am: lowest nursery-size settings in nursery-sampling were simply 
too small (and could result in endless loops
   on 64-bit machines)
] 
[- fix in cscbench.scm [by Kon Lovett]
address@hidden
 - added `##sys#apply-argument-limit' [Suggested by Reed Sheridan]
 - regex-common.scm: replace `string-substitute*' with a simpler and faster 
version [by Daishi Kato]
] 
[Fix another bug in #<# and give it more readable macroexpansion
address@hidden 
[Fix #<# read syntax (for real this time)
address@hidden 
[- configure.in: --enable-extra-symbol-slot changes BINARY_VERSION
address@hidden
 - Manual fix [by Jarod Eells]
 - regex-common.scm: string-substitute now also uses ##sys#fragements->string
] 
[- nothing, really
address@hidden 
[- cscbench is now compiled to allow self-contained run
address@hidden 
[- csi: trace/untrace macroexpand names to work with psyntax modules
address@hidden 
[- apply-limit overflow check only in safe runtime
address@hidden
 - c-w-v optimization enabled by default
 - version is 2.309
 - disabled certain warnings for bootstrap (this will result in warnings when 
bootstraping from older compilers)
] 
[- removed `try-harder' variable from compiler sources
address@hidden
 - experimental `call-with-values' optimization for known single-valued result 
procedures
] 
[- `#:extraslot' feature
address@hidden
 - C_EXTRA_SYMBOL_SLOT moved to chicken-config.h
] 
[#<# read syntax no longer dies on large input
address@hidden 
[Spelling mistake of variable *remove-command* in chicken-setup.scm corrected
Thomas Chust <address@hidden>**20060411143634] 
[- testsuite stuff
address@hidden
 - manual: `make-locative' still documented symbol [reported by John Cowan]
] 
[- CMakeLists.txt: option for extraslot
address@hidden 
[- test fixes
address@hidden
 
] 
[- wwchicken typo fix by Mario Goulart
address@hidden
 - apply overflow check [reported by Reed Sheridan]
] 
[- `--enable-extra-symbol-slot' configure option
address@hidden
 - version is 2.308
] 
[- added config option for symbol-gc to CMakeLists.txt
address@hidden
 - `chicken-version' also shows gchook feature
 - removed build-features configure option
] 
[- adjusted copyright dates in a few more files
address@hidden
 - added `-enable-symbol-gc' configuration option
] 
[- read-line: didn't bump port-line-number for stream-ports
address@hidden 
[- updated copyright date
address@hidden
 - csi.scm: includes "parameters.scm"
] 
[- "unused variable" warning in block mode is not shown for variables generated 
by complex
address@hidden
   define-constant's
 - added `-disable-warning' option and differentiated compiler warnings
 - version is 2.307
] 
[- changed test-driver slightly
address@hidden
 - moved tinyclos-examples into tests directory
 - `regexp-escape' didn't escape the dot
] 
[- added `-release' option [suggested by Peter Busser]
address@hidden 
[- fixed brokenness in `nextbuild' script
address@hidden
 - version is 2.307
] 
[removed index.html again
address@hidden 
[- still problems with test-runner
address@hidden 
[- infix handling of `string-split-fields' improved [Reported by Sunnan]
address@hidden
 - cleanup up chicken-setup, fixed bug in one call to `make:line-error'
 - better output for "known proc call with wrong args" compiler warning
 - generated identifier for `define-constant' has other gensym-prefix for 
easier distinction in compiler warnings
 - chicken-setup: allows multiple `-e' options***DARCS***
 
 Write the long patch description into this file.
 The first line of this file will be the patch name.
 Everything in this file from the above ***DARCS*** line on will be ignored.
 
 This patch contains the following changes:
 
 M ./chicken-setup.scm -145 +143
 M ./compiler.scm -3 +4
 R ./format.scm
 M ./regex-common.scm -3 +3
 M ./runtime.c -3 +46
 A ./tests/
 A ./tests/r4rstest.scm
 A ./tests/runtests.scm
] 
[- added some interesting files in "misc/"
address@hidden
 
] 
[- `equal?' didn't return #t for 0.0/-0.0
address@hidden 
[more precise Version Build regex
'Brandon Van Every <address@hidden>'**20060331182944] 
[find chicken simplified regex
'Brandon Van Every <address@hidden>'**20060331081853] 
[find extant Chicken installation
'Brandon Van Every <address@hidden>'**20060331054931] 
[- Makefile.am: added missing dependencies [Thanks to Kon Lovett]
address@hidden 
[- ##sys#file-info holds flonums for timestamps
address@hidden
 - version is 2.306
 - versioned $(prefix)/share/chicken and $(prefix)/lib/chicken
] 
[Update README.darcs to reflect new repo url
address@hidden 
[- runtime: fixed broken single-value test in `C_apply_values'
address@hidden
 - version is 2.305
] 
[CMake MinGW update
'Brandon Van Every <address@hidden>'**20060325112945] 
[- fixed broken merge of read-line patch (it wasn't my fault!)
address@hidden 
[- manual/chicken.1: added note about `-extension'
address@hidden 
[read-line fix
address@hidden
 
 read-line now correctly handles all line terminators and limits.
] 
[- csc: removed last trace of `-srfi-7' option
address@hidden 
[- darcs goes on my nerves sometimes
address@hidden
 - read-line: handles "...\r" with string-input
] 
[- chicken-setup: -f wasn't recognized, -h for -host was of course wrong
address@hidden
 - extras.scm: unrecorded read-line patch as it broke chicken-setup
 - chicken-setup: probably fixed cygwin bug (called msvc create_directory) 
[reported by John Cowan]
 - version is 2.304
] 
[- documented SRFI-61 support, added feature identifier
address@hidden 
[read-line fix, remove redundant code
address@hidden
 
 read-line optional limit argument now works on all platforms
 
 read-line no longer discards last character in stream unless it's a newline
 
 removed duplicated definition of #\return
 
] 
[- wwchicken: galinha link (coop)
address@hidden
 - srfi-61 support
] 
[- library: added `real-part', `angle', 'imag-part' and `magnitude' [as 
suggested by Alex Shinn]
address@hidden
 - tinyclos: added safety check in `initialize' to catch when a generic is not 
an entity
 - version is 2.303
] 
[- ##sys#read-prompt-hook: uses ##sys#print
address@hidden
 - csi: always record expr in history to make readline egg work [problem 
reported by Peter Wright]
] 
[- repl: error output goes to stderr
address@hidden
 - wwchicken: link to coop
] 
[- default error handler didn't write call-chain to stderr
address@hidden
 - chicken-setup: removed "$VARIABLE" sillyness
] 
[- print-call-chain: writes to stdout
address@hidden 
[- chicken-setup: $VAR syntax
address@hidden
 - eval: if path is absolute, load-relative doesn't prepend current load path
] 
[- port-map didn't invoke function (argh)
address@hidden
 - read-file didn't invoke custom reader for first item (more argh)
 - chicken-setup: docindex shows release (if defined)
] 
[- hen.el fixes by Reed Sheridan
address@hidden
 - chicken-setup: `-check' option for checking repository for upgrades
] 
[- chicken-setup: on download add release-number of setup-info
address@hidden 
[- library.scm: `chicken-version' used wrong call to fudge for `ptables' 
[Thanks to Sven Hartrumpf]
address@hidden
 - version is 2.302
] 
[- make-pathname: a little refactoring and handling of empty directory parts in 
directory lists
address@hidden 
[- chicken-setup: got `-eval' option
address@hidden
 
] 
[nothing important
address@hidden 
[hash-table-update! now takes 4th arg optionally, in compliance with SRFI-69
address@hidden 
[- chicken.h: CHICKEN_default_toplevel casted to void *
address@hidden
 - manual: removed traces of `error-handler' [Thanks to Reed Sheridan]
 - eval: added `load-relative'
] 
[- hash-table-update fix by Thomas Chust
address@hidden
 - wwchicken: new win32 binaries version
] 
[hashtable-update! fixed to conform to SRFI-69 [Thomas Chust]
Thomas Chust <address@hidden>**20060221203303] 
[- srfi-4.scm: subXXvector range check was wrong [Thanks to Alex Shinn]
address@hidden 
[- yet another whacky banner
address@hidden
 - version is 2.301
 - delete-file and rename-file didn't expand tilde [Patch by Zbigniew Szadkowsi]
] 
[- updated CMake readme and buildfile [thanks to Brandon van Every]
address@hidden 
[TAG 2.3-release
address@hidden 
Patch bundle hash:
1357a4bf8e932c5b632b24a282f7645f89b12d61
-- 
burton samograd                                          kruhft .at. gmail
'programmed piano ep' now available : http://kruhft.boldlygoingnowhere.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]