expand.c #2

  • //
  • guest/
  • chris_comparini/
  • jam/
  • src/
  • expand.c
  • Commits
# Change User Description Committed
#2 4332 Chris Comparini Re-branched, this time getting everyone's versions of jam.
#1 4329 Chris Comparini Initial setup as per public depot instructions.
//guest/perforce_software/jam/src/expand.c
#8 2612 rmg Fix three uninitialized memory reads:

    1. var_expand() wasn't checking its input length
    when testing for the "$(<)" shortcut.

    2. Solaris does a strlen() of its sscanf() input,
    and ar_hdr wasn't terminated.

    3. Solaris archive entries / and //xxx (the string
    table) generated calls to time_enter() with an
    uninitialized file name.

Bug fixes documented in RELNOTES.

=== computer:1666: Change 39713 by seiwald@play-seiwald on 2003/01/02 14:46:07
#7 2493 rmg Rewrite the past: update all jam's source with comments to
reflect changes since about 2.3, very early 2001.

Whitespace only change.

=== computer:1666: Change 37660 by seiwald@play-seiwald on 2002/11/06 22:41:35

Note: I regenerated jamgram.c on my linux 7.3 system prior to
the submit, since patch was so unhappy trying to lay down the
changes from Christopher's change. Presumably this is just due to
different yacc/bison/whatever particulars on the system where
Christopher made the changes originally. - rmg
#6 2491 rmg Some consting in jam to make it more compilable by C++ compilers.

No functional change.

=== computer:1666: Change 37433 by perforce@perforce on 2002/10/30 16:08:51

Recreational const-ing of jam, for compilers that don't allow
"string" to be passed as a non-const char *.

This included a few places where we were modifying what could
possibly have been read-only storage, oddly enough.

No functional change.

=== computer:1666: Change 37602 by seiwald@play-seiwald on 2002/11/04 17:25:40
#5 2489 rmg Jam tinkering: since all calls to list_new() must either newstr()
or copystr() the added string, instead just pass a flag and let
list_new() do the newstr/copystr.

No functional change.

=== computer:1666: Change 37164 by seiwald@spice on 2002/10/22 01:21:58
#4 1374 rmg Fixed broken $(v[1-]), which always returned an empty expansion.
Thanks to Ian Godin <ian@sgrail.com>.

This change is Ian's original, "surgical-strike" fix.

We may yet replace it with something different, but this
at least gets the mainline fixed for now.
#3 1319 rmg Jam 2.3 + Perforce's internal changes.

This change is a drop of the Perforce internal Jam changes
since the 2.3 public release. The individual changes
represented herein are preserved in the
//guest/richard_geiger/intjam/ branch.

The intent of this drop is to provide a base, from which other
contributors' Jam branches may be integrated into. It is not
intended to become a packaged release in this state. We will
be integrating changes from other users prior to creating the
next packaged release.

Please refer to the src/RELNOTES file for an overview of the
changes present in this integration.

  - Richard Geiger
  Open Source Engineer at Perforce
#2 486 Perforce staff Jam 2.3.
 See RELNOTES for a list of changes from 2.2.x.

Just about every source file was touched when jam got ANSI-fied.
#1 2 laura Add Jam/MR 2.2 source